# Checks the export cannot show

Fourteen checks decide what the configuration really does. For each: how to get it read-only, what passes, and the rule it feeds. Mark each one done or "not checked" with the reason; none is skipped silently. When you have no access, send [../assets/evidence-request.md](../assets/evidence-request.md) to the person who does. UI labels and menu paths change: quote what the screen shows and verify paths at run time.

Run [../scripts/page-inventory.js](../scripts/page-inventory.js) in the DevTools console of a fresh browser profile on each page type the journey uses (landing, product, checkout, confirmation). It is read-only, prints IDs and hosts only, and covers checks 1 to 4 and 13 in one pass. Resource Timing can miss requests, so the Network panel or a HAR stays the record of truth. Who runs it:

- If you have no browser tool, give the user the snippet and the page types and ask for the printed output.
- With an agent-controlled browser, run the file in a fresh context on each page without clicking the banner or submitting anything, and paste the output into the report.

## 1. Container loading ID and path

- How: the page inventory's Loaders line, or the gtm.js or gtag/js request in Network.
- Pass: loaded as `gtm.js?id=GTM-...`. A gtag/js?id=G- or AW- request next to gtm.js?id=GTM-... is the container's own Google tag (it usually carries `cx=c`) and passes; one without `cx=c` may be a Google tag hard-coded on the page (check 4). A GTM- ID on /gtag/js is an unsupported path but is not restricted: the loading ID decides, not the path.
- Restricted: the 9 July 2026 restriction applies only when the site snippet loads the container through a G- or AW- ID and no gtm.js?id=GTM- request exists. The page inventory then asks whether that snippet loads the container. Confirm it (the container's GTM- ID is on the page with no gtm.js request, or the container owner says so) before reporting anything; then only Google-provided tags and variables run, so report every non-Google tag as "will not run" and FAIL any the tracking plan needs.
- Feeds: R01, R09.

## 2. Environment parameters on production

- How: the page inventory reports whether gtm_auth and gtm_preview are on the loader, with values hidden.
- Pass: no environment parameters on production hosts. Fail: R14 FAIL P2; visitors get an environment version, not the live one.

## 3. Page-level allowlist and blocklist

- How: the page inventory lists gtm.allowlist and gtm.blocklist classes found in the data layer.
- Pass: no class blocks a tag the plan needs. A blocklist overrides the allowlist; Custom HTML is customScripts, and any blocklist also blocks sandboxed template code unless sandboxedScripts is allowlisted.
- Feeds: R01, R09, R25.

## 4. Senders outside the container

- How: the page inventory's vendor requests and container IDs, compared with the audit's destination ID inventory. The same run prints `GTM listening to <name>`: the data layer name comes from the loader's l parameter (default dataLayer), and "no" means page code or a tag assigned a new array after the container loaded, so every later push is lost.
- Pass: every sender and ID is in the container inventory, or listed in stack.md as a known hard-coded sender (theme snippet, platform app, tag gateway); "GTM listening" reads yes on every page type, checked after the page's own scripts have run.
- Feeds: R03, R09, R23, R24, R27.

## 5. Consent default owner

- How: Tag Assistant's Consent tab on the first event; page source before the container snippet; the Google tag's consent override; the Settings tab.
- Pass: one owner sets all four signals per region before any tag reads them. Two owners writing different defaults is R02 FAIL P1.

## 6. Settings tab and Google destinations

- How: a screenshot or values from someone with access: the Google destinations list and its optimized or upgrade status, "Set consent mode override", "Manage default consent settings", automatic event detection, configured domains, user-provided data capabilities, internal traffic, unwanted referrals, session timeout, cookie settings.
- Pass: values match decisions.md. Central settings do not apply to destinations sent through a Google tag in the container, and destination permissions are not versioned.
- Feeds: R02, R13, R20.

## 7. GA4 property settings

- How: GA4 Admin, or the Admin API read-only: enhanced measurement per web stream (history-based page views, form interactions), data filters with their states, the key events list with exact case, Google signals, and data redaction (email on or off, and the redacted query parameters). Google's GA4 MCP server reads the key events list (`list_key_events`, version 1.1.0 or later) but has no tool for the others as of 2026-11-07.
- Pass: no overlap between enhanced measurement and container page view or form events; no Active Developer traffic filter while debug_mode is in the live container (set `ga4DeveloperFilter` in the config); key events match sent names exactly; email redaction on and token or personal query parameters listed, or decisions.md says why not (feeds R21).
- Feeds: R03, R19, R20, R21. A full property review (retention, attribution, links, custom definitions) belongs to the ga4-audit skill.

## 8. Google Ads conversion actions (optional)

- How: call the search tool of Google's Google Ads MCP server with customer_id (digits, no dashes), resource `conversion_action` and fields conversion_action.id, conversion_action.name, conversion_action.status, conversion_action.type, conversion_action.category, conversion_action.primary_for_goal, conversion_action.counting_type and conversion_action.tag_snippets. The tool takes these structured arguments and builds the GAQL itself. Save the returned list to JSON unchanged and pass it with `--ads-actions`. For tools that take GAQL, the equivalent is `SELECT ... FROM conversion_action`. Fields checked in the API v26 field reference.
- Access: the server also has mutate tools (`create_asset`, `upload_video_asset`, `manage_labels`, `manage_label_associations`), on by default behind a propose and confirm step, and its adwords scope has no read-only variant. Set `labels: false` and `assets: false` in its `tools_config.yaml`, call only `search`, and connect it as a Google Ads user with Read-only access. Google's developer page still calls the server read-only; the README lists these tools. Checked on 2026-11-06.
- Pass: every Google Ads tag matches an ENABLED action; purchases count every conversion and leads one per click unless decided otherwise; no primary webpage action is left without a sender; click-based categories (R06) are secondary goals or a recorded decision.
- Feeds: R11, R06.

## 9. Versions, workspaces and environments

- How: API reads (version_headers list and latest, workspaces list and getStatus, environments list, keeping only name, type and version ID and never printing or saving an authorization code) or screenshots of the Versions, Workspaces and Environments pages.
- Pass: live equals latest, or the gap is a named pending release; each workspace maps to a named change; user environments are not used on production.
- Feeds: R14.

## 10. User permissions

- How: an administrator lists each user's permission level and whether they are staff, agency or former staff, with names and email addresses replaced by roles. Never request tagmanager.manage.users for the agent (Stape's user permission tool needs it).
- Pass: two or more active administrators, three or fewer publishers, no agency or former-staff Edit access without a named owner.
- Feeds: R14.

## 11. Size indicator

- How: the Versions page Size indicator (small containers may not show it).
- Pass: at or below 70%; above it, start from R26's list of the largest code.

## 12. Tag coverage and diagnostics

- How: the container overview's tag coverage summary and diagnostics alerts (added April 2025, including missing Google tags and missing gtag config). Verify where they appear at run time.
- Pass: no untagged pages the journey uses; every alert explained.
- Feeds: R03, R08.

## 13. Optimize anti-flicker in page code

- How: the page inventory reports the async-hide class on the html element.
- Pass: absent. Present means pages can stay hidden until its timeout; remove it from page code (the service ended in 2023).
- Feeds: R04.

## 14. Server container hand-off

- How: fill [../assets/server-handoff-template.md](../assets/server-handoff-template.md) from R13's routing line and stack.md and give it to the server owner.
- Pass: each routed ID has expected events, a deduplication key per vendor, a consent expectation and named test cases, with evidence from server Preview and the host's request logs.
- Feeds: R13.
