We must use the new Google Tag since end of 2023.
Connecting GTM to GA4
- Open GTM and GA4 in new tabs
- In GTM, go to Tags and click “New”
- Click “Tag Configuration” section, then click “Google Tag”
- Now we need to get the Tag ID from GA4
- Go to GA4>Admin>Data Streams, now copy Measurement ID
- Now go down and click on the Trigger section
- Select the “Initialization – All Pages” option
- Now give it a name “GTAG – GA4 – Measurement ID”
- Click Save.
Testing/Debugging
- In GTM, click on Preview (top right), a new tab will open, enter the website domain and click Connect
- A new tab will open with the website loaded, and bottom right will see Tag Assistant confirmation saying Connected
- Go back to the Tag Assistant tab, click blue Continue button
- You should see a “Google Tag – Fired 1 time(s)” or similar, should be good now.
- But let’s also check in GA4, go to Admin>Debug View, and you should see user engagement in here.
- We can also check on the real time view in GA4, go to Reports>Realtime, and you should at least see your location here.