This post highlights what you need to think about when setting up Google Analytics on an intranet. Where detailed instructions are available elsewhere I have included links.
Your intranet and web access
Check that staff can access specific Google pages on the web and that your intranet URL is ok. For example http://intranet won’t work. See specific Google pages.
If your company imposes restrictions on web access you may have to ask to add these addresses to the whitelist of allowed URLs.
Get yourself some Google accounts
You need a Google account. You can register your work email address; this makes it easier when setting up reports later.
You need a Google Analytics account. Sign up for a Google Analytics (GA) account using the email address registered against the Google account. You’ll need to create a profile in GA in order to get a profile ID, something like UA-1234567-1. This is the magic profile number that you need to include in your intranet pages. See examples of the tracking code.
Add the google code to every page
Decide how to tackle downloads
The Google tracking code only tracks HTML pages. It will not automatically track Word documents or PDF files etc. There are two methods to use in order to track downloads, depending on whether you publish via CMS or manually.
Tracking downloads with a content management system
To track documents, I’d recommend using the URL as it would appear in the natural intranet folder structure:
Tracking downloads with manually published HTML pages
Tracking downloads from your search engine
What else do you want to track?
- Track links from an email promoting an intranet page
- Track links from a PDF newsletter
Events or user interactions
- Track “clicks” on a voting button
- Track “plays” of a video
See the Google event tracking guide.