Results 1 to 3 of 3
January 26th, 2008, 10:57 AM #1Tracking Outbound Links w/ Google Analytics
I'm a newbie to google analytics. On my site, http://DeaLoco.com , we are trying to figure out how to track when users click on the orange "buy it" button. The "buy it" button goes to a redirect page hosted on our server, which takes the user to the merchant's website. I would think it's possible to add some code to the redirect page, but not sure if that would allow us to track which "buy it" buttons were clicked.
I noticed that google is planning to roll out outbound link tracking in "the coming weeks"...but not sure how long that will be, and this is a very important metric for us. Any suggestions in the meantime?
January 26th, 2008, 11:43 AM #2
- Join Date
- March 10th, 2006
Tracking Comparison Guide
On Page 6 of the Guide it shows how to track a "download" which is basically the same as tracking a click.
Try using this format on the button:
<a href="/mydoc.pdf" onclick="urchinTracker('/mydoc.pdf');">Download PDF</a>
Also, go to Analytics Settings > Profile Settings > Edit an active goal in Goal Settings.
Match type = Head Match
Goal Url = http://www.yourdomain.com/mydoc.pdf
Goal Name = MyDoc - URL Text (or whatever)
Note: The URL of the goal doesn't physically exist, although GA may see it as a real page view.
I'm fairly sure it should work, even with the redirect going on.
I've seen other references to this method on Google resources. You could research further for "tracking banner ads" to find out more.
This morning I'm trying to figure out how to add Google JS conversion code for ad tracking in Adwords (not analytics) without the redirect and page refresh going on...ugh!
January 26th, 2008, 12:10 PM #3
Thanks! I've inserted the code and will let you know how it works out.
By link4kam in forum Analytics, Multi-variable Testing & OptimizationReplies: 2Last Post: August 27th, 2014, 07:33 PM
By Rhawn in forum Search Engine OptimizationReplies: 15Last Post: August 19th, 2007, 10:12 PM
By best123 in forum Midnight Cafe'Replies: 0Last Post: August 4th, 2006, 05:24 PM