• This thread is just the tip of the iceberg.The people ahead of the curve aren't Googling for answers — they're already in here, having the conversations you haven't found yet. DealerRefresh is free.Get the full picture →

Outbound link tracking

Dominic Belfiori

Rust & Dust
Jan 6, 2010
28
0
First Name
Dominic
Hey guys, i've been trying to figure out how to get the outbound link tracking to work via Google Analytics. Sadly, I'm failing at getting the coding to work. Has anyone had experience with using Google Analytics for this? What do you use to track outbound links?

Thanks!
 
We add this to the links we want to track as another attribute of the <a> tag:

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

In Google Analytics, it shows up as its own URL as though it was on our site. The Outgoing folder isn't mandatory, but it does make searching for the various pages in the data a little easier.

Hope this helps!