How to track clicks on a redirect

4 replies
Is there any way to track the amount of clicks a domain is getting that is redirected to a clickbank offer?

Thanks...
#clicks #redirect #track
  • Profile picture of the author GeorgR.
    sure..it's a code thing. You could capture the clicks with analytics etc. and then from your HTML/PHP code to a redirect after you captured the stats. I dont see the problem here and a simple "php redirect" should do.
    Signature
    *** Affiliate Site Quick --> The Fastest & Easiest Way to Make Affiliate Sites!<--
    -> VISIT www.1UP-SEO.com *** <- Internet Marketing, SEO Tips, Reviews & More!! ***
    *** HIGH QUALITY CONTENT CREATION +++ Manual Article Spinning (Thread Here) ***
    Content Creation, Blogging, Articles, Converting Sales Copy, Reviews, Ebooks, Rewrites
    {{ DiscussionBoard.errors[2981706].message }}
  • Profile picture of the author GeorgR.
    You would have a PHP site with your analytics code which then contains the redirect like

    <?php
    header
    ("Location: http://www.example.com/"); /* Redirect browser */

    /* Make sure that code below does not get executed when we redirect. */
    exit;
    ?>



    You could google "php redirect"...should be rather simple to do.
    Signature
    *** Affiliate Site Quick --> The Fastest & Easiest Way to Make Affiliate Sites!<--
    -> VISIT www.1UP-SEO.com *** <- Internet Marketing, SEO Tips, Reviews & More!! ***
    *** HIGH QUALITY CONTENT CREATION +++ Manual Article Spinning (Thread Here) ***
    Content Creation, Blogging, Articles, Converting Sales Copy, Reviews, Ebooks, Rewrites
    {{ DiscussionBoard.errors[2981794].message }}
  • Profile picture of the author Doug Slaton
    Another option is sign up with Statcounter (free) and grab the code their wizard spits out and add that to the page (right before the /body cmd). One of the wizard options is invisible counter - pick that.

    Even though it's a redirect, statcounter will count the page load even if the visitor never sees it.

    The code for all this looks like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html><head><meta http-equiv="REFRESH" content="0; url=http://www.YourRedirectedSite.com/"></head><body><br><!-- Start of StatCounter Code -->
    <script type="text/javascript">
    var sc_project=9999999;
    var sc_invisible=1;
    var sc_security="99999999";
    </script>

    <script type="text/javascript"
    src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
    class="statcounter"><a title="tumblr statistics"
    href="http://statcounter.com/tumblr/" target="_blank"><img
    class="statcounter"
    src="http://c.statcounter.com/9999999/0/99999999/1/"
    alt="tumblr statistics" ></a></div></noscript>
    <!-- End of StatCounter Code --></body></html>
    {{ DiscussionBoard.errors[2981839].message }}

Trending Topics