March 20, 2026

Find GA4 and GTM Tracking Errors Automatically: Chrome Extension Validation

What are Built-in Checks

Most GA4 and GTM tracking errors produce no visible warning in the browser. A purchase event fires successfully as far as the network is concerned, but it is missing transaction_id, so GA4 treats every purchase as a duplicate and revenue data is wrong. Consent Mode looks active in GTM Preview mode, but the gcs parameter is absent from every GA4 hit. The Measurement ID has a typo that sends data to a non-existent property. None of these appear as errors anywhere you would naturally look.

AH Debugger is a free Chrome extension that catches these issues automatically. Install it from the Chrome Web Store, toggle it on, and browse your site as normal. The built-in checks run in the background against every request that fires and surface any issues directly in the DevTools panel, flagged by severity, with no configuration, no test scripts, and no rules to write.

Current checks

Consent Mode signal presence

Verifies that the gcs parameter is present on GA4 hits. This parameter carries the Consent Mode signal and confirms that Consent Mode is active and communicating the user’s consent state to Google’s measurement infrastructure. If it is absent, your Consent Mode implementation may not be working correctly even if the consent banner appears to function normally.

Measurement ID format

Validates that the tid parameter on GA4 hits follows the expected G- prefix format. An incorrect or malformed Measurement ID means requests are being sent to a non-existent or wrong property, resulting in silent data loss. This check catches copy-paste errors and configuration mistakes that would otherwise go unnoticed.

Ecommerce items array

Flags ecommerce events including add_to_cart, purchase, view_item, begin_checkout, and remove_from_cart that are missing a populated items array. GA4 ecommerce reports depend on this array being present and correctly structured. Without it, items-level reporting is empty regardless of whether the event itself fires.

Purchase event completeness

Checks that purchase events include all three required parameters: transaction_id, value, and currency. A purchase event missing any of these is incomplete in GA4’s ecommerce reporting. Missing transaction_id in particular causes GA4 to treat duplicate purchases as separate transactions, inflating revenue figures.

We are actively expanding the built-in check library based on user feedback.

How to read the results

Open the DevTools panel by right-clicking any page, selecting Inspect, clicking the double arrow icon in the top right of DevTools, and choosing AH Debugger from the dropdown.

AH Debugger DevTools panel

Navigate to the Built-in Checks tab within the panel. Results populate after you have browsed the page and collected some requests. Each check shows:

  • Pass or fail status: whether the check found any issues in your session data
  • Severity level: errors indicate issues that will definitely cause data loss or incorrect reporting. Warnings flag patterns worth reviewing that may or may not be intentional
  • Details: for failed checks, the specific requests or parameters that triggered the issue
AH Debugger built-in checks results

Ready to explore more of AH Debugger? Read What is AH Debugger →

Frequently Asked Questions

How do I check if my GA4 implementation is correct?
Install AH Debugger and browse your site with the debugger active. The built-in checks run automatically and flag issues such as missing transaction_id on purchase events, absent Consent Mode signals, and malformed Measurement IDs directly in the DevTools panel. No setup required.
How do I find GTM and GA4 tracking errors automatically?
AH Debugger's built-in checks validate your analytics requests in the background during every session. When an issue is detected, it appears in the Built-in Checks tab inside the DevTools panel with a pass/fail status and severity level. You do not need to configure any rules or write any tests.
Why is my GA4 purchase event missing transaction_id?
GA4 purchase events require transaction_id, value, and currency to be complete. If transaction_id is absent, GA4 may treat duplicate purchase events as separate transactions, inflating revenue data. AH Debugger's built-in checks automatically flag purchase events missing any of these required parameters during your browsing session.
How do I know if the Consent Mode gcs parameter is present on GA4 hits?
AH Debugger checks for the gcs parameter on every GA4 hit automatically. If the parameter is absent, the Built-in Checks tab flags it as an issue, indicating that Consent Mode may not be correctly configured even if the consent banner appears to work normally.
Is there a free tool that validates GA4 events without writing tests?
Yes. AH Debugger is a free Chrome extension that validates GA4 and GTM implementations automatically as you browse. The built-in checks run on every session with no configuration, no test scripts, and no setup. Install it free from the Chrome Web Store.
Powered by beluacode Logo