Posted By

smoothdzion on 11/04/09


Tagged

textmate google links external Analytics


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

smoothdzion


Google Analytics - External Link Tracking


 / Published in: JavaScript
 

URL: http://google.com/support/analytics/bin/answer.py?answer=72712&ctx=sibling

In order to track links out Google requires you add this snippet of JavaScript to your anchor(a) tag. Replace /G1/example.com with whatever you want to use to identify the link.

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

Report this snippet  

You need to login to post a comment.