How to Track Clicks on Outbound Link?

Discussion in 'Search Engine Optimization' started by androide, Jan 27, 2009.

  1. #1
    Hi guys,

    I have made on my website an affiliate landing page and I'm using some PPC programs to bring some traffic.

    The problem is that I do not know how many people caming from AdWords or YSM, clicks on my affiliate link at the end of the landing page, so I can't say if my landing page is good or not.

    I tried with Google Analytics using the "onclick" function, but it doesn't work with most of my links. I mean, looking at the analytics reports just 2 person out of 100 clicked on the links in my landing page that is simply impossible, because I'm bringing high targeted traffic.

    So I was wondering if anyone is able to tracks how many clicks receive his outbound links - without using Google Analytics.

    Thank you

    PS:the landing page I spoke about isn't the one on my signature. I can't post it here because I think it's against the rules, but it is quite well done.
     
    androide, Jan 27, 2009 IP
  2. vansterdam

    vansterdam Notable Member

    Messages:
    3,145
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    245
    #2
    One option you have is to setup a php redirect on your website that stores information in a database when someone clicks on an outgoing link. You probably have seen websites that do not link directly to things, but have something like www.domain.com/redirect.php?url=http://www.mysite.com

    Have you tried using the Google Analytics site overlay tool? It loads up any page from your website and shows how many people click on each link. Perhaps that will show better stats than the onclick report you tried.
     
    vansterdam, Jan 27, 2009 IP
  3. androide

    androide Peon

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,

    The overlay tool isn't working at all from me with analytics.

    About the redirect it would be difficult for me to use it: In fact, I'm using extreme conversions to track my conversions and my outbound links look like this:

    http://www.mydomain.com/asd/mypagename.php?var= <?php echo $var; ?> .
     
    androide, Jan 27, 2009 IP
  4. ColeenB

    ColeenB Peon

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I do it on my website with the onclick code. I made my outgoing links look like this:
    <a href="http://www.havefunwithhorses.com" onClick="javascript: pageTracker._trackPageview('/outgoing/havefunwithhorses.com');">Fun with Horses</a>
    It shows up in Analytics in two ways:
    First, it shows in Content. I just go into Top Content and it shows how many visits each page received. It shows these outbound link as if they were pages on my site being viewed.
    Second, I set up a goal of anything '/outgoing/...' and Analytics counts the goals.

    Is this what you tried that didn't work?

    The site overlay tool should work too.

    Good luck!
     
    ColeenB, Jan 27, 2009 IP
  5. androide

    androide Peon

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes, I did exactly this and GA, under Top content shows that jst 2 of all my outbound links were clicked - but I'm more than sure that it's a lot wrong. I contacted analytics support but never sow an answer.

    The problem, I think, is always this " <?php echo $var; ?> ".
     
    androide, Jan 27, 2009 IP
  6. 2william

    2william Guest

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I’m not an expert in this kind of subjects but this seems really useful to set up websites and get strategies, great to know how people arrive on the website! After that, what else do you do?
     
    2william, Jan 27, 2009 IP
  7. evelinawilliams007

    evelinawilliams007 Notable Member

    Messages:
    3,120
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    210
    Articles:
    6
    #7
    The number of clicks that are made through your affiliate links should be provided by your affiliate program (i.e Clickbank calls them hops).

    Use tracking ID's if you're a clickbank affiliate. Some other affiliate programs allow you to use tracking codes as well.

    Another option is to use .php script that allows you to count the the exact number of clicks on any link of your website. Google it -- "php count clicks" or some sort.
     
    evelinawilliams007, Jan 27, 2009 IP
  8. androide

    androide Peon

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I tried with a php link counter and, again, it works with static url.

    I need to know which keywords converts and at the end of my link I have click.html=<?php echo $var; ?> and if I use a PHP link counter it does not track which is keyword
     
    androide, Jan 28, 2009 IP
  9. dcristo

    dcristo Illustrious Member

    Messages:
    19,797
    Likes Received:
    1,201
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    5
    #9
    So if you use the onclick code and setup a goal for affiliate clicks, will Analytics show me how visitors got to the site (from google, keywords used, etc) before clicking on the affiliate link?
     
    dcristo, Apr 2, 2009 IP
  10. ColeenB

    ColeenB Peon

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Yes. Go into Custom Report in Analytics. Choose Total Goal Completions as your metric and then Keyword or Source or something as your Dimension. You can slice it and dice it lots of ways. Every time I want a different report I just have to go in here and play. It lets you preview a report so you can see if you’re getting the data you want before you save it.
     
    ColeenB, Apr 3, 2009 IP
  11. dcristo

    dcristo Illustrious Member

    Messages:
    19,797
    Likes Received:
    1,201
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    5
    #11
    I'm getting the Keyword and Source data for the affiliate clicks just with onClick.

    Is there additional data you get setting up a goal for each outgoing link?
     
    dcristo, Apr 3, 2009 IP
  12. karlp295

    karlp295 Peon

    Messages:
    112
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    This is really useful information and solves a problem I've had for a long time...

    Site overlay does not work for me on any of my sites at all for the last four months or so and I am very annoyed about this. ıt was very useful. What has happened to this feature?
     
    karlp295, Apr 17, 2009 IP