Skip to main content
TagManifest /Docs Dashboard

Multiple googtag configs with same ID prefix

Multiple Google Tag configurations for the same platform can cause double-counting of pageviews and events.

On this page 6

Summary

  • rule_id — multiple-googtag-configs
  • purpose — Detect duplicate Google Tag (googtag) configurations sharing the same measurement ID and firing triggers
  • effect — Duplicate configs send two configuration hits per page load, doubling pageview and event counts in GA4
  • layer — container
  • reversibility — non-destructive

What fires this

The rule collects all active googtag tags (paused tags are excluded) and groups them by a composite key of measurement ID (parameters.tagId) and sorted firingTriggerIds joined as a string. Any group containing two or more tags with the same composite key is flagged. Containers with multiple googtag tags for different measurement IDs, or the same ID on different triggers, are not flagged — those are intentional multi-property setups. The finding detail lists each duplicate tag by ID, name, and measurement ID.

Why it matters

Two Google Tag configurations for the same measurement ID on the same trigger each send a configuration hit to GA4 on every page load. Every subsequent event receives two configuration contexts, which doubles session counts and event counts in GA4 reports. Session-based metrics are hit hardest because each configuration hit can initialize a new session context. The duplication is not visible in the GTM container UI without explicitly comparing tag configurations. Typically introduced during container migrations or agency handoffs.

Before / after

Container has two active Google Tag (gtag config) tags, both configured for G-XXXXXXX and both firing on the All Pages trigger. The duplicate was added during a migration and never removed.

One Google Tag configured for G-XXXXXXX firing on All Pages. All unique config parameters from the removed duplicate are merged into the remaining tag's settings variables.

Remediation

  1. Open the finding detail and identify which tags share the same measurement ID and triggers.
  2. Compare the configuration parameters of each duplicate — check for differences in consent settings, tag sequencing, or config variables.
  3. Merge any unique parameters from the duplicate into the tag you intend to keep.
  4. Pause then delete the duplicate tag.
  5. If sending data to multiple GA4 properties, use a single Google Tag with linked destinations rather than separate config tags.
  6. Test in GTM Preview and GA4 DebugView to confirm only one configuration hit appears per page load.

Metadata

Severity
high
Tier
optimization
Category
quality
Layer
container
Version
1
Effort
15min (about 15 minutes)
Reversibility
non-destructive

See also

Examples

Evaluate
curl https://developer.tagmanifest.com/v1/evaluate-rule \
  -H "Authorization: Bearer $TM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rule_id":"multiple-googtag-configs","url":"https://example.com"}'