Results 1 to 3 of 3
  1. #1
    Newbie Steve Cospolich's Avatar
    Join Date
    November 16th, 2007
    Location
    Dallas, TX
    Posts
    22
    Tracking 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?

    Thanks!
    Steve

  2. #2
    Full Member
    Join Date
    March 10th, 2006
    Posts
    466
    Look in:
    http://code.google.com/apis/analytics/docs/

    Then:
    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.

    Alternatively, during the redirect, you could refresh the page and add GA Javascript code there instead, but is less user friendly in my opinion because the page looks blank for a second or more.

    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!

  3. #3
    Newbie Steve Cospolich's Avatar
    Join Date
    November 16th, 2007
    Location
    Dallas, TX
    Posts
    22
    Thanks! I've inserted the code and will let you know how it works out.

    Steve

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Does google analytics track converions made on outbound links on affiliate sites
    By link4kam in forum Analytics, Multi-variable Testing & Optimization
    Replies: 2
    Last Post: August 27th, 2014, 08:33 PM
  2. Getting Google Conversion Tracking to work on an outbound php
    By Rhawn in forum Search Engine Optimization
    Replies: 15
    Last Post: August 19th, 2007, 11:12 PM
  3. Tracking outbound links
    By best123 in forum Midnight Cafe'
    Replies: 0
    Last Post: August 4th, 2006, 06:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •