Linking Google Analytics with Google Tag Manager
This guide covers setting up Google Analytics tags in Google Tag Manager to analyze users accessing the login screen.
1. Confirm the Google Analytics Measurement ID
-
Access Google Analytics
-
Go to the "Admin" screen from the gear icon at the bottom left
-
Click on "Data Streams" under "Data Collection and Correction"
-
Select the relevant stream
-
Confirm the Measurement ID displayed
2. Set up Google Analytics in Google Tag Manager
-
Access the Google Tag Manager homepage
-
Click on "Add a new tag"
-
From "Tag Configuration", select "Google Analytics" > "Google Tag".
-
Enter the Google Analytics Measurement ID for the tag ID
-
Choose "Initialization - All Pages" for the trigger
-
Enter a name for the tag at the top left input field and click save
-
Click on "Submit" at the top right of the container page
-
Enter details for version publication and creation, then click on submit
- Version name: Optional (can be left blank)
- Version description: Optional (can be left blank)
With these steps, Google Analytics and Google Tag Manager are now linked. Accessing the login screen will reflect the information in Google Analytics.
Please note that it may take 24-48 hours for the data to appear in Google Analytics. For more details, refer to the Google Analytics documentation.