Hacks & Downloads
These Google Analytics hacks and downloads have been documented either as posts in the GA Hacks category or are part of the book – Advanced Web Metrics with Google Analytics . They have been tested as working with Google Analytics and should also work with Urchin software. Please feel free to post comments on these, use as you wish, or even add your own hack. If you have done something clever with scripting for GA or Urchin, I would love to hear about it.
If you would you like to be notified when I update the book, modify scripts or write new whitepapers , simply leave your e-mail address below.
As with all scripts presented on this web site, use is at your own risk. I take no responsibility for errors or any other complications arising from the use of this code.
Scripts for ga.js:
- Combined tracking script (related post )
- Tracks outgoing links - Automatically
- Tracks file downloads - Automatically
- Tracks mailto links - Automatically
- Customising the list of recognised search engines (related post )
- Adds 100+ regional search engines for detection as a search engine (rather than listed as a referrer)
- Differentiates regional variations e.g. google.co.uk, google.com, msn.se etc.
- Tracks Google Local (maps.google.com)
- Tracks bing.com (see post )
Scripts for urchin.js (legacy code):
- Combined tracking script (related post )
- Tracks outgoing links - Automatically
- Tracks file downloads - Automatically
- Tracks mailto links - Automatically
- Customising the list of recognised search engines (related post )
- Adds 100+ regional search engines for detection as a search engine (rather than listed as a referrer)
- Differentiates regional variations e.g. google.co.uk, google.com, msn.se etc.
- Tracks Google Local (maps.google.com)
- Tracks bing.com (see post )
- Track outgoing links - Automatically now deprecated - use combined tracking script above (related post )
Book specific:
No book can be perfect, so also check the list of Google Analytics book corrections and typos .
- Chapter 1: Table 1.2: Economic effect of increasing your conversion rate.xls
- Chapter 9: page 180: Differentiating Regional Search Engines
- Chapter 9: page 205: Capturing the first-and-last-referrer.txt
- Chapter 10: Figure 10.1: KPI-example-spreadsheet.xls
- Chapter 11: Figure 11.8 - cpcmax-calculator.xls
Ratings for this page:



(43 votes, average: 4.49 out of 5)