How to track what links are clicked?

Discussion in 'Traffic Analysis' started by J_Dog, Jan 31, 2009.

  1. #1
    I have Statcounter [SC] and Google Analytics [GA] on some of my sites and can't see a what to check which links out of my site are being clicked on.

    Is there a way to do this with GA or SC?

    Thanks.
     
    J_Dog, Jan 31, 2009 IP
  2. squarecat

    squarecat Peon

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For GA: You will need to tag the outbound links with additional code to force GA to track it as a pageview,
    e.g.
    <a href="http://www.example.com" onClick="javascript: pageTracker._trackPageview('/outgoing/example.com');">

    Please see the full article at:
    How do I manually track clicks on outbound links?
     
    squarecat, Feb 2, 2009 IP
  3. MayurGondaliya

    MayurGondaliya Well-Known Member

    Messages:
    1,233
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    170
    #3
    Statcounter can track this. You can view landing URLs, visitor paths and leaving URLs in statcounter.
     
    MayurGondaliya, Feb 2, 2009 IP
  4. Zhoog

    Zhoog Peon

    Messages:
    237
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    GA will show these outbound links in your site overlay, only if the site linked to is also using GA. In MS adCenter analytics you can enable autotracking and all outbound links will get tracked automatically. Quite a good feature!
     
    Zhoog, Feb 3, 2009 IP
  5. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #5
    Glad a saw this thread, i was about to start a seperate one.

    Does anyone know how i can use the method mentioned by squarecat above but within a form and its a form from an affiliate program.

    Near the top of the form code there is:

    <form method=POST action="http://www.theaffiliateurlhere/then_some_other_stuff.cgi?and_my_affiliate_id_here"
    name="form_60">

    I want to track when someone has clicked on the form to submit their details.

    If this is possible, would i be wanting to insert that GA code to track the outbound links at that code above?

    I cant see anywhere else on the form where it would make sense to place it.
     
    pipes, Feb 4, 2009 IP
  6. Zhoog

    Zhoog Peon

    Messages:
    237
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Google the javascript phras "onSubmit=" I believe you can call the "javascript: pageTracker._trackPageview('/outgoing/example.com');" I'm not sure though. I quick google search should help you!
     
    Zhoog, Feb 4, 2009 IP
  7. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #7
    Im more concerned about where within the form code i will insert it.

    Edit:I really need to take notice of what you said first :eek: ive googled and now reading the first result, hope thats maybe what im trying to understand. :)

    I first replied without having searched, lol

    Edit2: I still dont understand, i know the analytics code above can be used, but where exactly to insert it into the form code?
     
    pipes, Feb 4, 2009 IP
  8. Zhoog

    Zhoog Peon

    Messages:
    237
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Ok...

    I think the line in your post:
    Should be replaced with:
    So just change the website URL and you should be ok. Everytime your form gets submitted the tacker will track your submittion. Let me know if this worked!
     
    Zhoog, Feb 4, 2009 IP
  9. Zhoog

    Zhoog Peon

    Messages:
    237
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #9
    stupid smilies :p should be ": p"
     
    Zhoog, Feb 4, 2009 IP
  10. squarecat

    squarecat Peon

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    inetrested to hear if that works - not needed to try it before on a form submit.
     
    squarecat, Feb 5, 2009 IP
  11. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #11
    Zhoog, thanks very much, this is what i needed, if it works il post back here and let you guys know, im editing a landng page today and sorting another.

    If it tracks the clicks for each submission il be very happy.
     
    pipes, Feb 5, 2009 IP
  12. Zhoog

    Zhoog Peon

    Messages:
    237
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #12
    ok no prob... Keep me posted!
     
    Zhoog, Feb 5, 2009 IP
  13. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #13
    <form method=POST action="http://www.theaffiliateurlhere/then_some_other_stuff.cgi?and_my_affiliate_id_here"
    name="form_60" onSubmit="javascriptageTracker._trackPageview('http://www.the-website-the-form-submits-to.com/page.html');">

    Can the url that is bolded just be the homepage of the site that im promoting? as i wont know the page that the submitter sees (if any) after submitting the form on my site.
     
    pipes, Feb 5, 2009 IP
  14. Zhoog

    Zhoog Peon

    Messages:
    237
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #14
    yeah, that can be anything I think. It will just show up in your stats the way you name it here.
     
    Zhoog, Feb 5, 2009 IP
  15. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #15
    Excellent, thanks Zhoog, will definately post back here when tested.
     
    pipes, Feb 5, 2009 IP
  16. Bruce_Davenport

    Bruce_Davenport Guest

    Best Answers:
    0
    #16
    tis thread is really informative...thnks ppl
     
    Bruce_Davenport, Feb 5, 2009 IP
  17. J_Dog

    J_Dog Member

    Messages:
    129
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #17
    Thanks for the info.

    Shame you have to add a tag to all links. Don't suppose there is a quick way to do this?
     
    J_Dog, Feb 6, 2009 IP
  18. squarecat

    squarecat Peon

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I've heard of something you can add that will do this automatically but I can't for the life of me remember where I saw it... I'll try and do some digging.
    Think it was some sort of jScript that you need to install, somewhere... :confused: I'll need to find it!!
     
    squarecat, Feb 6, 2009 IP
  19. Zhoog

    Zhoog Peon

    Messages:
    237
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Microsoft Analytics and Woopra are able to track outbound links (and downloads) automatic. Just add one line of javascript. It's an awesome feature. I bet Google will not stay behind for too long.

    This is actually the first real usefull thing Microsoft has beat Google to in terms of their analytics tool.
     
    Zhoog, Feb 6, 2009 IP
  20. squarecat

    squarecat Peon

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #20
    squarecat, Feb 6, 2009 IP