Google Tag Manager (GTM) can manage the Google tag that sends website data to Google Analytics 4 (GA4). Before adding anything, check the existing setup: a site may already have a Google tag, GTM container or platform integration. Adding another installation without checking can duplicate page views and events.
Before you start
- Confirm that the business controls the GA4 property, web data stream and GTM container, and that you have the access needed to edit and publish.
- Identify the web stream’s measurement ID and check the existing site installation.
- Agree on the consent settings and implementation appropriate to the site and the regions it serves.
The former GA4 Configuration tag in GTM is now called the Google tag. Google says existing configuration tags were upgraded; they do not all need to be recreated. See Google’s explanation of the Google tag and GTM.
Check or install the GTM container
Open the correct web container in GTM. If the site already loads it, use that installation rather than adding it again. If a container is needed, use GTM’s installation instructions or your website platform’s supported integration. Verify that the correct container is present on relevant pages and that the implementation works with your consent setup.
Configure the Google tag
- In the GTM workspace, check for an existing Google tag connected to the intended GA4 stream.
- If one is needed, create a tag and choose Google tag. Enter the tag ID associated with the GA4 web stream.
- Configure the trigger and consent behaviour for the website. For a standard implementation, Google documents an Initialization trigger; the right setup depends on the site’s existing tags and consent configuration.
- Save the tag. Do not publish until the workspace has been tested and reviewed.
Google’s Google tag setup instructions describe the current tag type and optional settings.
Preview and test
- Use Preview in GTM to connect Tag Assistant to the site.
- Check that the expected container and tag load on relevant pages, that consent is respected, and that page views are not duplicated.
- Use GA4 Realtime or DebugView to check that data reaches the intended property. A visible user or tag firing alone does not verify every event, consent state or conversion journey.
- After review, publish the GTM version and repeat an appropriate live check.
For troubleshooting, see Google’s preview and debug guidance and GA4 DebugView documentation.
Plan events and key events separately
Start with the actions that matter, such as a completed enquiry, booking or purchase. Confirm how the site indicates a successful action; a button click alone is not necessarily a submitted form. Some events are collected automatically, while others need configuration. Avoid creating a second event for an action already measured.
Our GA4 key event guide explains how to plan, test and mark important events. For the wider account and enquiry setup, see digital marketing setup and measurement.
Need help checking an existing implementation? Explore our analytics and conversion tracking service or talk to imexpert about GA4, GTM and enquiry tracking.
This article includes AI-assisted content.