Get yourself some Google accountsYou 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.
Decide how to tackle downloadsThe 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.
To track documents, I'd recommend using the URL as it would appear in the natural intranet folder structure:
Tracking downloads from your search engine
Similarly to links to documents within your HTML pages, you'll need to add code to your search engine results page to track links to documents.
What else do you want to track?Campaigns
- Track links from an email promoting an intranet page
- Track links from a PDF newsletter
See the campaign URL builder.
Events or user interactions
- Track "clicks" on a voting button
- Track "plays" of a video
There are a few loopholes and some situations where you can miss tracking. For example, if you have embedded URLs in a document that link to another document then Google Analytics won't know about it. If other intranets or websites link to a document on your intranet then this won't be tracked. Where possible, encourage external sites to link to your intranet page that contains your download document, rather than the download document itself.