Google analytics can provide a very concise overview on how your website is doing. It generates nice reports and hosts clear reports.
It is also possible to use google analytics to track usage on an intranet site built on SharePoint, SharePoint 2013 or SharePoint online.
In this tutorial i will explain the steps to implement analytics to your SharePoint site.
- You need a google account
- You need permissions to edit (master)pages in SharePoint
- go to google.com/analytics to generate an analyticsID
- copy some code to the site you’d like to track
Not so short:
- go to http://google.com/analytics
- Create an account (see this as a group for the sites you track)
- Add a new property (a new site to track)
- Retrieve the tracking-ID
- Select the script provided (start at <script> and copy including </script>)
- Open SharePoint designer and navigate to the masterpage folder.
- Open the masterpage you are using for your intranet (in my case its Seattle)
- Open and edit the .html version (the .aspx will be modified by SharePoint after editing)
- scroll all the way to the bottom and look for the tag </body>
- past the analytics code just above the </body> tag
- save the masterpage
Now the tracking data will be sent to google analytics. It may take some time before the results start to roll in but they will.