Step 1: Getting started with Google Tag Manager configuration
How to configure and use the Site Analytics app for SharePoint Online by Accelerator 365
This configuration guide is for Site Analytics version 1.18.0.4. Please ensure you have updated the app to the latest version.
The Site Analytics app from Accelerator 365 integrates your SharePoint sites with Google Tag Manager and Google Analytics to provide real-time insights into engagement across your intranet.
There are four steps in this configuration guide for the Site Analytics app.
- Step 1: Google Tag Manager configuration
- Step 2: Creating custom dimensions
- Step 3: Connecting Google Tag Manager and Analytics
- Step 4: Connecting to SharePoint
In this first step, we’ll walk through the setup of Google Tag Manager using the standard Accelerator 365 configuration.
Pre-requisites
Before proceeding with the steps below, ensure you have:
- Created a Google Tag Manager account and container - see page 1 in Google's guide.
- Created a Google Analytics 4 account and property - see Google's guide.
We recommend skipping data stream collection initially, as this will be covered in a later step.
Importing the Accelerator 365 container into Google Tag Manager
- First, download and unzip the pre-configured Accelerator 365 container template. The ZIP includes a JSON file with all standard Accelerator 365 configurations required in Google Tag Manager.
-
Navigate to your Google Tag Manager container and, in the top navigation, click Admin.
- In the Container section, click Import Container.
- Click Choose container file and select the JSON file downloaded in step 1.
The template contains 40 items, including folders, tags, triggers, and variables required for a standard Accelerator 365 configuration (further details on the template can be found here).
Your setup should now resemble the image below. -
Ensure the Default Workspace and Overwrite options are selected for new configurations. Click Add to workspace to complete the setup.