Google Analytics is a useful tool for gaining insights into what content your intranet users are engaging with.
In this article we're going to cover how to setup, implement and enable Google Analytics on your elcomCMS intranet.
1. Setting up a Google Analytics account
The first step is to setup your Google Analytics account. If you don't already have a Google Analytics account, you can create a new one by signing up here:
After creating your account and adding in the details of your intranet URL you can get the Google Analytics script from your Admin Area:
Click into the Tracking Code area and copy your Google Analytics script code:
2. Adding Google Analytics into elcomCMS
Once you've got your tracking script code it's time to add it into your elcomCMS intranet site. You'll need to log into your intranet and have permissions to access the Admin sections.
There are two main ways to insert the script:
1. The easiest way is to add it in the Header Script section in you Admin area Global Site Settings, please note this only covers the base elcomCMS platform:
2. Alternatively you can insert the script into your main Master Page. If you know how to use Master Pages this is preferable since it gives you full control over where it is placed and also covers elcomCMS Modules.
3. Important: Allowing Google Analytics through your Company Firewall
In order for Google Analytics to be able to record intranet usage, it needs to be allowed access through to your corporate network.
Google has a support article covering what is required:
4. Check in Google Analytics
Once you've setup and implemented Google Analytics the first thing to check is the Real Time report.
In your Analytics reports look for the Real-Time reports section in the left hand sidebar and expand:
If you have inserted the script correctly, the tracking should start showing immediately in the real-time report. Visit your intranet home page in your browser, and navigate through a few pages. Then check the real time report to confirm that your activity is being tracked.
If you are seeing activity in the real-time report it means everything is working!
There are many things you can track using Google Analytics on your intranet such as: most visited pages, most downloaded documents, most frequent entry point etc. This information can assist you to adjust where you place important content or explore why a particular document gets downloaded and if it needs improving. In a future post we will explore further the various reports you can generate using Google Analytics that you can use to gain insight into your intranet usage.
For more information holistic look at how to measure your intranet and ensure success, register your interest for our upcoming guide.