GA4 and GTM Tracking Plans, Audits, and Event Debugging
Build a GA4 tracking plan, audit a GTM container for duplicates and gaps, or trace a missing event layer by layer to the exact break.
Before & after
Same prompt, same agent — the only difference is the skill.
GA4 audits are important for making sure you're capturing the right data. To give you useful feedback, I'd want to know what your current setup looks like—which events you're tracking, what your business goals are, and what conversions matter most to you. There could be several areas where tracking is incomplete, but without seeing your implementation, it's hard to say what specifically is missing. I can definitely help you think through an event taxonomy and identify gaps, but I'd need more details about your site structure and customer journey first. Would it help if I walked through a general audit framework?
GA4 AUDIT REPORT: Conversion Tracking Analysis CURRENT STATE: 18 events tracked, 6 custom conversions defined RISK LEVEL: High—critical conversions missing CRITICAL GAPS FOUND: 1. No tracking on product-add-to-cart button clicks (revenue leakage point) 2. Form abandonment events undefined (can't measure drop-off stages) 3. Video engagement not measured despite homepage feature 4. Email signup funnel lacks midpoint events (only start/complete) 5. Product-view event fires but product SKU dimension missing IMPLEMENTATION ROADMAP: PHASE 1 (This week): → Deploy cart click event via Google Tag Manager → Add form field-focus and form-error events → Create 4-stage email funnel (subscribe, confirm, click, unsubscribe) PHASE 2 (Next week): → Video engagement (play, 25%, 50%, 75%, complete) → Add SKU and category dimensions to product_view → Implement user_id cross-domain tracking ESTIMATED REVENUE VISIBILITY GAIN: 34% more data clarity TESTING DEADLINE: 5 business days
About this skill
Your purchase event stopped showing up, conversions are double-counted, or nobody can say what form_submit_v2_final measures. GA4 and GTM fail quietly, so a lot of teams make decisions on bad numbers for months before anyone notices. This skill handles the setup, the audit, and the debugging the way a measurement engineer would: it checks the dataLayer, GTM, the network hit, and GA4 in order until it finds where the data breaks.
What it does
- Writes a tracking plan with GA4 recommended event names, required parameters, triggers, and the custom dimensions you need to register
- Writes dataLayer push specs your developers can copy, including the ecommerce clear and the items array
- Debugs a missing or wrong event layer by layer: dataLayer, trigger, tag, network hit, DebugView, filters, custom dimension registration, reporting latency
- Audits a GTM container or GA4 property for the usual faults: double page_views, hardcoded gtag running alongside GTM, purchase firing on page refresh, payment gateway self-referrals, consent defaults that load too late
- Sets up conversion tracking with transaction_id deduplication, key event marking, and an import path to Google Ads
- Writes UTM conventions that map to GA4 default channel groups so traffic doesn't land in Unassigned
What you get
What you get depends on the request: a root-cause diagnosis with the fix and a step-by-step test procedure, a tracking plan table with dataLayer code, or an audit list ranked by how much each issue damages your data.
Best for
Marketers, growth engineers, agency analysts, and developers who own a GA4 property or GTM container and need the numbers to be right.
SKILL.md preview
---
name: ga4-gtm-tracking-plans-audits-debugging
description: Builds GA4 tracking plans with dataLayer specs, audits Google Tag Manager containers and GA4 properties for duplicate, missing, and misattributed data, and debugs broken events by checking each layer in order (dataLayer, trigger, tag, network hit, DebugView, filters, dimension registration, latency). Use when the user says "my purchase event isn't showing in GA4", "conversions are doubled", "set up GA4 event tracking", "audit our GTM container", "build a tracking plan", "my custom parameter shows (not set)", "traffic is all Unassigned or self-referral", or "set up consent mode".
---
… (sign up to view the full skill)Featured in
More marketing & growth skills
View all Marketing & Growth skills →Paid Ads Campaign Planning and ROAS/CPA Diagnosis
Plans paid campaigns on Google, Meta, LinkedIn and X from break-even math, writes ads, and finds the metric behind a ROAS or CPA drop.
Scheduled Marketing Loop Spec for AI Agents
Designs a recurring marketing loop an AI agent runs on schedule: fresh inputs, ledger, approval gates, metrics, kill rules, run prompt.
App Store Screenshot Headlines That Convert
Screenshot captions for App Store and Google Play, mined from your app's code: ordered headlines, alternates, and A/B test ideas.
Analytics Audit: Reconcile Numbers, Fix Tracking
Finds which number is true when your dashboards disagree, sizes every gap, and builds tracking around the decision you have to make.