-
Step 1
Set up the links you wish to track. Add JavaScript code to each link you wish to track, so picking only the links you really care about saves effort.
-
Step 2
Open the web pages with the links in your web page editing software. Locate the link you would like to track.
-
Step 3
Add the following JavaScript into your "A HREF" tag, before any other code used by Google Analytics:
<br>onClick="javascript: pageTracker._trackPageview('/outgoing/sample.com');"<br>
Change the portion in the parentheses to the location you would like to have listed in your tracking report. -
Step 4
Save the web page file. Upload it to your website.
-
Step 5
Verify that your links are being tracked by checking your log in Google Analytics after a day or two. Your links appear in the "Top Content" report. The links you added tracking code to should now appear in the report.










