Is There A Way To Track The Website Links My Visitors Use?

Discussion in 'HTML & Website Design' started by bad_bob00, May 29, 2007.

  1. #1
    Hi there,

    On my website I would like to be able to track the website links that my visitors click on to, just so I can track how popular a site is.

    Is this at all possible?

    Thanks for any help.
    Matt
     
    bad_bob00, May 29, 2007 IP
  2. Mr Blonde

    Mr Blonde Guest

    Messages:
    142
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yeah you can use google analytics to do this. sign up and then use this method.

    the links that are clicked will show up in the top-content section just like they were a page within your site
     
    Mr Blonde, May 29, 2007 IP
    bad_bob00 likes this.
  3. bad_bob00

    bad_bob00 Active Member

    Messages:
    3,472
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Thanks Mr Blonde, rep has been given :)
    I've added the end bit of code to each of my links and already have a google account... is this all I need to do to be able to track the links? I mean, other than adding the onClick="javascript:urchinTracker('/outgoing/example_com');"> to the end of my links?

    Thanks again.
    Matt
     
    bad_bob00, May 29, 2007 IP
  4. Mr Blonde

    Mr Blonde Guest

    Messages:
    142
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    all else you need to do is to make sure the tracking code that analytics gives you is above the links you are tracking.

    i used to just stick it right before the </body> tag but since i started tracking outbound links i stick it right after <body> instead.

    apart from that your good to go :)
     
    Mr Blonde, May 30, 2007 IP
  5. bad_bob00

    bad_bob00 Active Member

    Messages:
    3,472
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    90
    #5
    Thanks again Mr Blonde :)

    Added the code now, will check back later to see if it is tracking the external links okay.

    Matt
     
    bad_bob00, May 30, 2007 IP
  6. cyberspirits

    cyberspirits Peon

    Messages:
    340
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    cyberspirits, May 30, 2007 IP