Scripts & Downloads
These scripts 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 urchin.js:
- Combined tracking script (related post )
- Tracks outgoing links - Automatically
- Tracks file downloads - Automatically
- Tracks mailto links - Automatically
- Track outgoing links - Automatically now deprecated - use combined tracking script above (related post )
- Customising the list of recognised search engines (related post )
- Adds 60+ additional search engines for detection (rather than listed as a referrer)
- Differentiates regional variations e.g. google.co.uk, google.com, msn.se etc.
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 60+ additional search engines for detection (rather than listed as a referrer)
- Differentiates regional variations e.g. google.co.uk, google.com, msn.se etc.
Book specific:
No complete book of web analytics is perfect, so check the list of 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:


(17 votes, average: 4.35 out of 5)