Install Google Analytics tracking in your SharePoint site

Administrators can install Google Analytics to track how their users are behaving on the site.

Installation:

To activate Google Analytics script on your intranet pages, you need to:

  1. Install Origami Analytics app (solution file named sp-chrome.sppkg) in your tenant described here:
    Installing Origami (Using App Catalog)

  2. Navigate to each site collection for which you need to send page usage data to Google Analytics and click [*]Add an app

  3. Add an app called Origami Google Analytics Embed and Alert Solution as shown below:

  4. Navigate to [*]Site contents and find the list called Config. This list was automatically created as part of step 3 above.

  5. Open the Config list and create a new item in the list with the following values:
    Title: TrackingCode
    Value: GTM-********

NOTE: Above value of GTM-******** is your Google Tag Manager tracking code. Here is a quick walkthrough (you’ll need to as far as this section: Install the container ) to associate your Google Analytics with a Google Tag Manager.

  1. Save the new list item and your tracking should be set up. Please note that Google might take up to 48 hours to show data in your Google Console.