Google Analytics - External Link Tracking


/ Published in: JavaScript
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. onClick="javascript: pageTracker._trackPageview('/outgoing/example.com');"

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.