About Us

Bulletpoint StarImulus® is a technology focused design + interactive agency.

In addition to the services we provide our clients we also have several products in the works. Our office is always filled with chatter and this blog is an outlet for some of our creative energy, rants and ideas.

Previous Posts

Imulus Twitters

Featured Project

Aug18

Tracking File Downloads with Google Analytics

Yes, you can track file downloads with Google Analytics. Although it doesn’t automatically give you that capability by just dropping in the Google Analytics Code, here is a simple method to add that tracking ability. For each file that you want Google Analytics to track, you need to create a “virtual page” using the pageTracker function in each file HREF in your site.

Example:
If you site has a PDF called financial-report.pdf and the link is
<a href="/files/financial-report.pdf">Financial Report</a>
That code will need to be rewritten to read.
<a href="/files/financial-report.pdf" onclick="pageTracker._trackPageview('/files/financial-report.pdf');">Financial Report</a>

This works great for a limited number of files, but for sites which have multiple file downloads. You may want to try Brian Clifton’s JS Script.

posted in: Google, JavaScript, hosted applications, opinion

This post was published on Monday, August 18, 2008 at 7:43 am

Leave a comment


Comments

1

ucsblzygrl

September 16, 2008 at 1:37 pm

Great info! This is the first valid code for tracking outbound links. Thanks!