Skip to content
New: GA4 dashboards, server-side conversions to every ad platform, Consent Mode v2 generation, and publish approvals.See what shipped

Documentation

Setup, platform installs, monitoring, and the API. Written to be followed, not skimmed.

Health monitoring

Once events are published to GTM, TagEasy keeps watching to make sure they actually fire. The Health tab in your dashboard rolls everything up into a single status per event.

The three states

StateMeaningWhen
OKEvent fired recently and consistentlyLast verified within < 14 days
WARNEvent hasn't fired lately — could be normal (seasonal) or could be broken14-29 days since last fire
BROKENEvent hasn't fired in a long time — almost certainly something is wrong30+ days since last fire

Thresholds are configurable per environment via HEALTH_WARN_DAYS and HEALTH_BROKEN_DAYS.

How TagEasy knows an event fired

TagEasy ships a tiny verification script that you can paste into your site (independent of GTM). The script:

  1. Hooks into window.dataLayer.push(), passing every push on to Google Tag Manager (or whatever else handles it) unchanged
  2. The first time on a page that one of your tracked events is pushed, sends a small beacon to TagEasy's /api/verify/ingest endpoint
  3. TagEasy records the timestamp + event name as evidence the dataLayer push happened

The script is gated by an HMAC-signed token tied to your website. The beacon carries the event name, the names and types of its parameters (never their values), the page address without its query string or fragment, and the time. If a value, or the query string or fragment of the page address, looks like an email address, phone number or card number, the beacon says so (where, and which kind), without the value, so the PII scan can warn you. No user agent is sent with it.

Installing the verification script

  1. Dashboard → your website → Health tab
  2. Click Get verification script
  3. Copy the snippet — it includes your signed 48-hour token
  4. Paste it in the same place you put the GTM snippet (head of every page)

Tokens are valid 48 hours. After that, request a fresh one — older tokens become unsigned beacons and are rejected silently. You can request a new token any time without affecting installed scripts that haven't expired.

Drift detection

A nightly cron job scans every published event in your account:

  • If last-fire < HEALTH_WARN_DAYS → marks OK
  • If last-fire between WARN and BROKEN → marks WARN
  • If last-fire > HEALTH_BROKEN_DAYS → marks BROKEN

Weekly summary emails

Once a week, TagEasy emails owners + admins on each org a Health Summary:

  • How many events are OK / WARN / BROKEN
  • The top 5 events that recently regressed
  • Direct links to the Health dashboard for each one

Configure your email by setting RESEND_API_KEY on the server. Without it, the summary still runs but logs to console only.

Live feed

The website's Live Feed tab shows every dataLayer event the verification script captures, in near real time — the event name, its parameter names and types, the page address, and which VisualEvent it matched. It's the fastest way to confirm a tag fires correctly while you're testing. (Growth plan and up.)

Anomaly alerts

Drift detection catches an event that stopped. Anomaly detection catches one that's degraded — still firing, but volume has crashed or spiked. A nightly scan compares each event to its 14-day baseline and emails owners + admins when it finds a drop, spike, or silent event.

Toggle it per-website on the Live Feed tab. (Business plan and up.)

GA4 reconciliation

The verification beacon proves a tag fired in the browser. GA4 reconciliation goes further — it reads GA4's own data and cross-checks the events you configured against what GA4 actually received: which are landing, which received zero hits, and which events GA4 sees that you never set up (rogue or duplicate tracking). It's the authoritative answer to "is my data in Google Analytics?" (Business plan and up.)

Revenue reconciliation

For e-commerce, the deepest question is whether GA4 matches your real sales. Connect your Shopify, WooCommerce, Stripe, or BigCommerce account and TagEasy puts GA4's purchase count + revenue side-by-side with the actual orders from your store — surfacing exactly how much GA4 is under-reporting. (Business plan and up.)

Container hygiene score

For GTM containers connected via the Tag Manager API, TagEasy audits the live container and grades it 0–100. It flags the structural problems that quietly distort your data or pile up as clutter:

  • Duplicate configuration tags — two Google/GA4 config tags pointing at the same destination ID, which double-counts every page view
  • Tags with no firing trigger — they never run
  • Custom HTML tags — an XSS vector that also bypasses GTM's built-in consent gating
  • Clutter — paused tags, unused triggers, and unused variables

Find it on the website's Events & Tags tab. (Growth plan and up.)

Consent Mode v2 audit

Google requires Consent Mode v2 for EEA traffic. TagEasy audits your live container for two gaps it can detect reliably:

  • Custom tags that fire ungated — Custom HTML / Image tags don't respect Consent Mode automatically; without "Additional consent checks" they fire regardless of the visitor's choice
  • Ad tags still on v1 signals — gated on ad_storage but missing the ad_user_data and ad_personalization signals v2 now requires
  • Tags gated on no valid signal — set to require consent but listing no recognised Consent Mode signal, so they effectively gate on nothing

The audit sits next to the hygiene score on the Events & Tags tab. (Growth plan and up.)

Consent Mode v2 generator

The same panel generates the consent setup the audit checks for. Three pieces come out of one saved configuration, and they are always regenerated from it, so what you copy, what the wizard's install step shows, what the container download contains and what "Push to GTM" creates are identical:

  • Head snippet — one gtag('consent', 'default', …) call per region group, with the seven consent types, wait_for_update and the region list, followed by ads_data_redaction, url_passthrough and an optional developer id. It goes above the GTM snippet: every tag reads its consent state when the container loads, so defaults set afterwards are too late.
  • CMP bridge — a script that listens to your consent tool's own change event and relays it as gtag('consent', 'update', …). It goes below the GTM snippet.
  • GTM init tag — a Custom HTML tag named te:consent:default on a Consent Initialization trigger (te:consent:init). GTM fires that trigger before every other trigger in the container, so a site whose head snippet you do not control still gets the defaults first. The tag carries the defaults and the bridge; push it from the panel, then review and publish in GTM as usual.

Region presets

Presets expand to ISO 3166-1 codes in the snippet; you can mix them with your own codes (US-CA works) and add one catch-all group for everywhere else. Region-specific groups are emitted first, the catch-all last; gtag applies the most specific match.

PresetExpands toWhy it is separate
EEAThe 27 EU member states plus Iceland, Liechtenstein and Norway (30 codes)GDPR / ePrivacy; the EEA Agreement extends EU data law to the three EFTA states
UKGBUK GDPR and PECR after Brexit
CHCHSwiss revFADP; Switzerland is EFTA but not EEA

The default configuration denies everything except security_storage in EEA + UK + CH with a 500 ms wait_for_update, and says nothing about other regions.

CMP bridges

The live observer fingerprints the consent tool on your site, and the panel picks the matching bridge (Auto). Bridges exist for OneTrust, Cookiebot, Usercentrics, CookieYes, Complianz, Klaro, Osano, Termly, Iubenda, IAB TCF v2 tools and Shopify's Customer Privacy API (visitorConsentCollected). Each maps the vendor's categories onto analytics / marketing / preferences / necessary and hands them to a small generic API:

window.__teConsent.update({ analytics: true, marketing: false, preferences: true })
// raw consent types also work:
window.__teConsent.update({ ad_storage: 'granted', ad_user_data: 'granted' })

A custom banner calls that API directly (choose None / customin the panel). Every update also pushes a te_consent_update dataLayer event you can trigger tags on. If your CMP already ships a Google Consent Mode integration, keep it on — the bridge pushes the same state and the two never disagree.

Vendor defaults

The panel's third tab lists every managed tag with the consent types it waits for. Apply recommended gates analytics tags on analytics_storage and ad tags on ad_storage + ad_user_data, written through each tag's firing condition (or the destination's consent option) so the next GTM sync carries it as the tag's consent settings.

What the coverage figure means

Consent coverage (last 7 days) is the share of pixel-observed hits that carried a granted analytics or marketing signal. The Shopify pixel (v2) reports the shopper's consent state with every event; TagEasy counts each hit under consent:analytics:granted|denied and consent:marketing:granted|denied in the same daily rollup as the event itself. It is a direct count of what the pixel saw, per hit rather than per session, and it is not GA4's modelled conversions: the GA4 Data API exposes no modelled metric, so no tool can report that number. Sites without the v2 pixel show no figure.

PII-leak scan

Sending personal data — emails, phone numbers, payment-card numbers — to GA4 or ad pixels violates Google's and Meta's terms and can get your property suspended. TagEasy scans the dataLayer events it has captured (the live observer buffer plus your verified events) and flags anything that looks like a leak: email addresses, phone numbers, Luhn-valid card numbers, and PII-typed field names like first_name or customer_email.

Samples are always redacted in the report. The scan is point-in-time — it covers the events captured so far — and sits next to the Consent Mode audit on the Events & Tags tab. (Growth plan and up.)

Investigating a WARN / BROKEN event

  1. Click the event in the Health tab
  2. Inspect:
    • Last-fire timestamp + count over the past 30 days
    • Selector + dataLayer event name
    • GTM tag fire history (from container)
  3. Click Debug with AI — runs the AI co-pilot against the event and returns a likely cause + concrete fix

Common causes of broken events

  • Selector changed. A redesign or A/B test renamed the element. Pull up the page → re-grab the selector → update the VisualEvent → publish.
  • Page moved or deleted. The product / landing page no longer exists. Either repoint the selector or archive the event.
  • GTM container detached. Site got a redesign and the GTM snippet got removed. Reinstall per your platform guide.
  • Cookie banner blocks GTM. A new consent banner gates GTM until consent is granted, and most users dismiss without accepting. Run the Consent Mode v2 audit to check your consent setup.
  • Verify script removed. If TagEasy is firing but the beacon is gone, we'll think the event is broken when it's not. Reinstall the verify script.

Health API access

For agencies pulling health into their own dashboards, see the Agency features doc — the /api/agency/bulk-health-scan endpoint returns rolled-up health across all client orgs.