Why is GTM duplicating my Google Analytics pageviews?
When GTM duplicates Google Analytics pageviews, you see distorted user data and an artificially low bounce rate. This problem typically occurs when the Analytics tag is embedded both in GTM and directly in the source code. Additionally, duplicate triggers or misconfigured SPA events can be the cause. Learn why GTM duplicates pageviews.
The most common scenario where GTM duplicates Google Analytics pageviews is a double implementation of the tracking code. The GA4 tag exists both in GTM and as a hardcoded snippet in the page source. However, the problem can also arise from multiple page view triggers in the same container. Therefore, search your source code for duplicate gtag.js implementations. Additionally, check the event forwarding to GA4.
Search your website HTML source code for gtag or google-analytics to find hardcoded snippets running alongside GTM. Moreover, check your GTM container for multiple GA4 configuration tags with the same Measurement ID. According to the Google Analytics Help, each property should only be implemented once per page.
Remove all hardcoded Analytics snippets from the source code and manage GA4 exclusively through GTM. Use only one GA4 configuration tag per Measurement ID. Furthermore, we recommend using GA4 DebugView to monitor pageviews in real time. Additionally, the Google Tag Assistant helps identify duplicate tags on the page.
Duplicate pageviews almost always result from double tracking implementations. Therefore, implement GA4 through only one channel. Our Google Ads agency ensures clean Analytics tracking.
Our Google-certified experts are happy to help – free and without obligation.
Book a meetingWe check your GTM container for faulty tags, missing triggers and data gaps – free and without obligation.
Get your GTM audit