Analyze Clicks on Outbound Links Using Google Analytics

Discussion in 'Google Analytics' started by glitto, Aug 9, 2009.

  1. #1
    Google Analytics provides an easy way to track clicks on links that lead away from your site. Just add a simple line of code with your links and you are done :

    Just add this line of code with your links

    onClick="javascript: pageTracker._trackPageview('/outgoing/example.com');"

    To see how this code works click here for detailed tutorial.
     
    glitto, Aug 9, 2009 IP