Tracking outgoing links in analytics

Discussion in 'Google Analytics' started by Mark Kenny, Oct 25, 2009.

  1. #1
    I'm trying to track outgoing links from my phplinkdirectory. Analytics recommends this

    I am using
    Should this work as i can not see the exit pages showing in analytics...

    thxs
     
    Mark Kenny, Oct 25, 2009 IP
  2. dipali

    dipali Peon

    Messages:
    450
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I would like to recommend for tracking outbound link, you use <a href="http://www.example.co.uk" onClick="javascript: pageTracker._trackPageview ('/outgoing/example.co.uk');">

    instead of

    <a href="{$URL}" onClick="javascript: pageTracker._trackPageview('/directory/{$URL}');">Click here to visit {$TITLE}</td>

    you will get result of exit links in Gooogle Analytics.
     
    dipali, Oct 26, 2009 IP
  3. tommseo

    tommseo Peon

    Messages:
    285
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes

    <a href="http://www.example.co.uk" onClick="javascript: pageTracker._trackPageview ('/outgoing/example.co.uk');">

    similarity for each and every page you should use

    ('/outgoing/example1.co.uk')
    ('/outgoing/example2.co.uk')... and so on..
    I will make your tracking easy and simple.
     
    tommseo, Oct 28, 2009 IP
  4. tripleox

    tripleox Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can also use the virtual page views in Goals too ;)
     
    tripleox, Oct 28, 2009 IP