Check Google Consent Mode v2 setup (free)
consent_mode_checkFree, no sign-in: fetch a public page as a first-time visitor and check its Google Consent Mode v2 setup — whether gtag.js or Google Tag Manager is present, whether a consent default is set before the tags load, the default values of ad_storage, analytics_storage, ad_user_data and ad_personalization, whether wait_for_update, url_passthrough and ads_data_redaction are used, whether a consent banner is detected, and which tags fire before consent. Returns pass / warning / fail per check with plain-language fixes and copy-paste default snippets. It also reads the consent banner's own settings and, in country_rules, checks the banner rules that can be tested from outside for Italy (Garante 2021 guidelines) and Spain (AEPD cookie guide, July 2023 update), each with its source and a fix (automatic check, not legal advice). Static check (no JavaScript runs), so consent updates after a click aren't visible. Shares the free quota of 10 checks per hour per visitor with pre_consent_scan.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "consent_mode_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public page to check, e.g. https://example.com |