Quick summary
Connecting Google Analytics to Google Tag Manager lets you track website events by deploying a GA4 tag without editing code directly. This process involves copying your Measurement ID from Google Analytics and configuring a new tag in Google Tag Manager to fire on all pages.
Steps
- Go to Admin > Property Settings > Data Streams in Google Analytics.
- Select the active Data Stream from the list.
- Copy the Measurement ID displayed on the Data Stream details page.
- Navigate to Google Tag Manager and click your Container name (your website address).
- Go to the left pane and click on Tags.
- Click New to create a new Tag.
- Give the tag a name and select the Tag configuration box at the top.
- Choose Google Analytics as the tag type.
- Select Google Analytics and choose GA4 Event as the tag subtype.
- Paste the Measurement ID you copied from Google Analytics into the configuration field.
- Select Event as the variable to be added to the tag.
- Review how the variable will appear in the text field.
- Select All Pages as the triggering event, then hit Save.
- Click the Preview button to open your website and test whether the tag is firing correctly.
- In Tag Assistant, enter your Website URL to begin the tag verification.
- Hit Continue to complete the Tag Assistant connection and confirm the tag is working.
.gif)
