The Huge Collection of Google Analytics Tips

SMS Text

Putting aside all recent arguments and gossip as per privacy issues (yep, nothing is probably totally free and Google Analytics should be using its (your?) data in some way), I should confess, I love the tool and use it.

I’ve been compiling the list of advanced Google Analytics tips that open up plenty of possibilities to track and evaluate. Today I am sharing the list and expect you to share yours too!

Note: I haven’t tried all of these tricks with the new Google Analytics code yet, so if there are any problems with any of them, please report.

Track 404 page

  • Classify your site visitors, e.g. track the browsing and buying behavior of your “customers” (those who subscribed, made a purchase or downloaded your product):

<script type=”text/javascript”>pageTracker._setVar(‘Marketing/PR’);</script>

Google Analytics help page gives the following examples of the option usage:

  1. Track visitors that landed on a particular page;
  2. Track visitors that clicked a particular link;
  3. Track visitors according to their form selection.
  • Track your (outgoing) links: add a code to each link you want to track:

<a href=”http://www.example.com” onClick=”javascript: pageTracker._trackPageview(‘/outgoing/example.com’);”>

  • Track your banner ads with the same code as the above one. For Flash banners you should use this code:

on(release) {
getURL(“javascript: pageTracker._trackPageview
(‘/bannerads/advertisername/bannername’);”);
getURL(“http://www.advertisersite.com”);
}

  • Track your downloads (PDF, AVI, or WMV) with this code:

<a href=”http://www.example.com/files/map.pdf” onClick=”javascript: pageTracker._trackPageview(‘/downloads/map’); “>

  • Track mailto: links with this code:

<a href=”mailto:[email address]”onClick=”javascript:urchinTracker(‘/mailto/jerry’);”>[email address]</a>

  • For WordPress blogs: use “Ultimate Google Analytics” plugin that also allows for lots of other handy features (easy Google Analytics installation, simple configuration screen, all types of links tracking, etc.). Google Analytics for WordPress is also great for this and and for tracking AdSense clicks, image search keywords, etc. (More information on counting outbound clicks without the help of plugins.)

Full referring URLs

Track e-commerce transactions

  • Set up email alert on a regularly-scheduled basis – go: Analytics Settings => View Reports => Email=> Schedule:

Set up email alerts

  • Exclude internal traffic: Analytics Settings => Edit => “+Add Filter”:

Exclude internal traffic

  • Compare traffic / page views over different periods of times, e.g. compare how your two viral campaigns performed compared to each other:

Compare pageviews/ traffic

Ann Smarty

Ann Smarty

Brand amd Community Manager at Internet Marketing Ninjas
Ann Smarty is the blogger and community manager at Internet Marketing Ninjas. Ann's expertise in blogging and tools serve as a base for her writing,... Read Full Bio
Ann Smarty
Subscribe to SEJ!
Get our weekly newsletter from SEJ's Founder Loren Baker about the latest news in the industry!