This page is generated from the scanner's own catalogue. A fuller explanation — how to check it yourself, and fixes for common platforms — is being written.
In short
An inline script that the browser will actually execute initialises a known analytics or tracking product (Google Analytics/GTM, Matomo, Segment, Facebook Pixel, Hotjar, Mixpanel, or Heap), and the page carries no consent gating at all — no Google Consent Mode default, no CMP tag-blocking attributes, and no IAB TCF __tcfapi. The tracker therefore appears to run before the user opts in, even though a consent management platform is present elsewhere on the site. Because this asserts a GDPR/ePrivacy problem, the bar is deliberately high: gating is looked for across the whole page rather than only inside the same script block, and a script the CMP has already neutralised to type="text/plain" is not counted as an initialisation.
How to fix it
Gate the analytics initialisation behind consent — either set a Google Consent Mode v2 default of denied before the measurement snippet, or apply the CMP's tag-blocking attributes (type="text/plain" plus data-cookieconsent) to the tag itself.
Fix it with your coding agent
Prompt for Claude Code, Cursor or Codex
An Ingati scan of my website reported “Analytics initialised before user consent” (finding consent-compliance/analytics_without_consent, severity warning). Find where this comes from in this codebase or the server configuration, fix it, and explain what you changed. The scanner's guidance: Gate the analytics initialisation behind consent — either set a Google Consent Mode v2 default of `denied` before the measurement snippet, or apply the CMP's tag-blocking attributes (`type="text/plain"` plus `data-cookieconsent`) to the tag itself. Then tell me how to confirm the fix, so the next scan shows it as fixed.
How Ingati finds it
This is one of the Privacy signals checks, and it runs on every scan. When Ingati finds the problem, your report lists it as warning, with where it was found and what the scanner saw. Later scans show it as fixed once it is gone.
Ingati checks this and thousands of other things on every scan.
Start scanning