hello@datascale.de+49 89 921 35 623tracked cookie-free · /openDEEN

Search services, integrations and blog posts.

DatascaleResourcesChecksDuplicate Google IDs

Check · C03 · Tracking core

Duplicate Google IDs: two properties count twice

Two GA4 properties or two GTM containers on the same page double-count pageviews. The check lists every ID it finds, including dead UA leftovers.

What gets tested

The check pulls every Google ID from the executable parts of the HTML: GA4 properties (G-…), GTM containers (GTM-…) and Universal Analytics leftovers (UA-…). Prose does not count, so a blog article showing an example ID never triggers the finding. More than one distinct ID of the same type, or any UA ID, yields "to review".

Why it matters

Two GA4 properties on the same page can count the same pageview twice. Sessions, engagement rates and conversion rates drift systematically, and the error only surfaces when GA4 and backend numbers stop matching. A second GTM container additionally means two teams can deploy tags independently without knowing of each other.

Common causes

  • Relaunch or agency change: the new container arrived, the old one was never removed.
  • A theme or plugin ships its own Google tag on top of the centrally managed one.
  • The GA4 migration left the UA ID in the code; since July 2023 it does nothing.
  • Multi-property setups without documentation: set up deliberately, but nobody remembers.

The fix

Assign every found ID a purpose. Whatever has no documented purpose goes: delete surplus containers, remove UA leftovers, and write the remaining assignment (which property, which container, what for) into the tracking concept. Then verify in DebugView that every pageview arrives exactly once.

Check it yourself first

The Tracking Check tests this point along with all the others, in seconds.

Start the Tracking Check →
What does the "duplicate Google IDs" finding mean?

The executable part of the page carries several IDs of the same type, say two G properties or two GTM containers. Every additional ID of the same type can count the same pageview twice; sessions and conversion rates in GA4 stop adding up.

Are two IDs always a mistake?

No. Corporate groups deliberately send to a country and a group property, agencies measure into a test property in parallel. That is why the finding reads "to review", never critical. What matters is that the duplication is documented and deliberate.

What about old UA IDs?

Universal Analytics shut down in July 2023; since then a UA property processes no hits at all. A UA ID in the code is dead weight, costs payload, and points to a setup nobody has touched in a while.

The fix, delivered

Wired up in days, not sprints.

Findings from the Tracking Check go into a ranked sequence with effort estimates in the Audit Sprint, every module with an acceptance criterion.