Add to Google Add to Bloglines Add to Newsgator Add to Yahoo! Contact ROI Revolution Sign Up for the ROI Newsletter Unofficial Google Analytics Blog Feed Unofficial Google Analytics Blog
Unofficial Google Analytics Blog by ROI Revolution

Categories Search This Blog Blogroll Archive

| |

April 4, 2006

Tracking Downloads with Google Analytics

By Michael Harrison, Google Analytics Support Tech

With log-based web analytics utilities like Urchin Software, tracking downloaded files is easy. Your web logs register a hit whenever someone grabs a pdf or views a movie.

With a script-based package like Google Analytics, it's not possible to call the Javascript from pdfs, wmvs, avis, etc. So how can you tell when someone has taken the time to watch that video it took you days to create, or read your pdf whitepaper outlining the benefits your business offers over its competition?

That's where the urchinTracker function comes into play. Find the link to your downloadable file and tag it with urchinTracker, and the function will assign a virtual pageview to whichever filename you choose.

Here's the link to your prize-winning video short:

<a href="/picayunepress.avi">Click here to
view the movie!</a>

Just tack on the urchinTracker call as an onClick event:

<a href="/picayunepress.avi"
onClick="javascript:urchinTracker
('/movies/picayunepress.avi');">
Click here to view the movie!</a>

And whenever anyone clicks on the link, it'll register as a hit to /movie/picayunepress.avi.

You can use the urchinTracker function for all sorts of things. Use it to track Flash events, outbound links, and even to generate unique pageviews for sales funnels that use the same URL for each step.

If you would like more help with Google Analytics, be sure to subscribe to the XML feed for our blog or join our free 1 hour Google Analytics live web seminar.

Posted by Michael Harrison at 4:14 PM









Filed under:

TrackBack

TrackBack URL for this entry:
/mt/mt-tb.cgi/102.

Comments

Post Your Comments

Post a comment

Contacting ROI Revolution

Telephone Number:
(919) 954.5955 ext. 306
ask for Meredith Smith

Office Fax:
(919) 954.4767

Address:
3109 Poplarwood Ct.
Suite 219
Raleigh, NC 27604


Authorized Google Analytics Consultant

Google Analytics Certified Service and Support Consultant


Free Webinar!

Join a Live FREE Google Analytics Training Webinar
Register now to learn how to
turn Google Analytics into
pure profit! You'll learn how to use many of the key reports, a ten-step system for properly configuring Google Analytics on your website, and how to apply what you learn to the attainment of your online goals. Register for our free Google Analytics training webinar today.


Subscribe to the
ROI Revolution Google
Analytics Newsletter today

Free monthly email publication that contains valuable, practical tips, secrets, and much more! Subscribe to our free Google Analytics newsletter today.


Looking to Purchase
Urchin 5 Software or Fee
Based Support?

We are a Urchin software certified service and support partner! Buy Urchin 5 software, profile packs, load balancing modules, campaign tracking, or fee-based support today.