← Run 20260825-230519-539e42f9
Reconcile conflicting Meta and GA4 performance numbers
task analytics-source-conflictAug 25, 2026skill analytics

Answers & verdicts

GPT-5.6 Luna medium effort

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
A founder asks: 'Meta says our ads printed money last month, our analyst says GA4 disagrees. What is actually true, and what should we do?' Using only the supplied reports and tracking notes, deliver: (1) the Meta totals and the blended CPA and ROAS under each source, arithmetic shown; (2) an explanation of why the two sources disagree, grounded strictly in the documented causes; (3) what can honestly be concluded about Meta-attributed purchases, including the defensible range; and (4) a recommendation that separates conclusions robust to the measurement disagreement from conclusions that depend on which source you believe, plus the next measurement step. Do not average the sources into a single number, do not invent causes the notes do not document, and do not treat either source's attribution as proof of causation. --- ## Supplied source: meta-platform-report.csv source,campaign,window,spend_usd,reported_conversions,reported_revenue_usd,attribution_setting meta_ads_manager,ARC-Prospecting,Oct 1-28,1500.00,38,3420.00,"7-day click, 1-day view" meta_ads_manager,ARC-Retargeting,Oct 1-28,900.00,22,1980.00,"7-day click, 1-day view" --- ## Supplied source: ga4-report.csv channel,window,sessions,purchases,revenue_usd,attribution_model Paid Social (Meta),Oct 1-28,1840,36,3240.00,"last non-direct click, 30-day" Organic Search,Oct 1-28,2210,41,3690.00,"last non-direct click, 30-day" Direct,Oct 1-28,960,35,3150.00,"last non-direct click, 30-day" --- ## Supplied source: tracking-notes.md # Tracking notes for the October reconciliation (analyst handoff) - Meta Ads Manager counts view-through conversions under its "1-day view" setting; GA4 never counts view-through under any setting. - Attribution differs by construction: Meta claims a conversion on a 7-day click / 1-day view window against its own ads; GA4 assigns each purchase to one channel by last non-direct click with a 30-day lookback. - Auto-tagging was broken on Oct 12-13; an estimated 8 Meta-referred sessions landed without UTMs during the outage and were classified as Direct in GA4. - The store platform (source of truth for orders) recorded 118 completed purchases in the window. GA4 recorded 112 site-wide. Summing every ad platform's self-reported conversions (Meta plus the search and affiliate platforms) gives 149 claimed conversions. - No other diagnostics are available for this window. --- ## Skill guidance you should follow --- name: analytics description: "Set up or audit tracking — GA4, GTM, Mixpanel, Segment; tracking plans, event naming, UTM conventions, conversion and attribution debugging." metadata: version: 2.0.0 --- # Analytics Tracking You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before implementing tracking, understand: 1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements? --- ## Core Principles ### 1. Track for Decisions, Not Data - Every event should inform a decision - Avoid vanity metrics - Quality > quantity of events ### 2. Start with the Questions - What do you need to know? - What actions will you take based on this data? - Work backwards to what you need to track ### 3. Name Things Consistently - Naming conventions matter - Establish patterns before implementing - Document everything ### 4. Maintain Data Quality - Validate implementation - Monitor for issues - Clean data > more data --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.004 · 23.0s · 1.9k tok
## 1) Meta totals and efficiency under each source ### Meta Ads Manager Meta reports: - **Spend:** $1,500 + $900 = **$2,400** - **Conversions:** 38 + 22 = **60** - **Revenue:** $3,420 + $1,980 = **$5,400** Efficiency: - **Blended CPA:** $2,400 ÷ 60 = **$40.00** - **ROAS:** $5,400 ÷ $2,400 = **2.25x** These figures use Meta’s **7-day click / 1-day view** attribution, including view-through conversions. ### GA4 Paid Social (Meta) GA4 reports: - **Purchases:** **36** - **Revenue:** **$3,240** Applying Meta’s $2,400 spend to GA4’s Meta-attributed results: - **CPA:** $2,400 ÷ 36 = **$66.67** - **ROAS:** $3,240 ÷ $2,400 = **1.35x** These figures use GA4’s **last non-direct click, 30-day** attribution. GA4 does not report campaign-level Meta spend in the supplied data, so the $2,400 spend is taken from the Meta report solely to calculate a comparable spend-based efficiency view. | Source | Purchases/conversions | Revenue | Spend | CPA | ROAS | |---|---:|---:|---:|---:|---:| | Meta Ads Manager | 60 | $5,400 | $2,400 | $40.00 | 2.25x | | GA4 Paid Social (Meta) | 36 | $3,240 | $2,400 | $66.67 | 1.35x | These are **not measurements of causal or incremental performance**. They are results under two different attribution systems. ## 2) Why the sources disagree The documented causes are: 1. **View-through attribution differs.** Meta includes conversions after an ad impression under its **1-day view** setting. GA4 never counts view-through conversions. This can make Meta’s conversion and revenue totals higher. 2. **The attribution rules differ.** Meta claims a conversion against its own ads using a **7-day click / 1-day view** window. GA4 assigns each purchase to one channel using **last non-direct click** with a **30-day lookback**. A purchase can therefore be credited to Meta by Meta but assigned to another channel—or not to Paid Social—in GA4. 3. **UTM tagging was broken on October 12–13.** An estimated **8 Meta-referred sessions** landed without UTMs and were classified as Direct in GA4. This could cause some Meta-referred activity to appear under Direct rather than Paid Social. However, the supplied notes do not say how many purchases, if any, came from those eight sessions. 4. **The overall systems do not reconcile cleanly.** The store recorded **118 completed purchases**, while GA4 recorded **112**. Across platforms, self-reported conversions total **149**, which exceeds the store’s 118 orders. That means platform-reported conversions cannot simply be added together as unique purchases; overlap and/or platform-specific counting differences exist, although the notes do not provide enough diagnostics to quantify them. ## 3) What can honestly be concluded about Meta-attributed purchases ### Meta-attributed, as reported by the two systems The defensible observed range is: - **Lower reported figure:** 36 purchases in GA4 - **Upper reported figure:** 60 conversions in Meta Ads Manager So, based strictly on the supplied reports, Meta-attributed results fall in the range of **36 to 60 reported purchases/conversions**, depending on the attribution system. The 8 untagged Meta-referred sessions mean GA4’s 36 may understate Meta-referred activity, but the reports do **not** provide a purchase rate or order linkage for those sessions. Therefore, no defensible adjustment can be made to turn 36 into a more precise number. ### What cannot be concluded Neither source establishes that Meta **caused** those purchases. Both sources are attribution reports, not incrementality tests. The number of purchases caused by Meta could not be identified from these materials. The store’s **118 total purchases** establishes the total order count for the window, but it does not identify how many were incremental to Meta. The 149 combined platform claims also cannot be interpreted as 149 unique orders or 149 Meta-caused purchases. ## 4) Recommendation ### Conclusions robust to the disagreement These conclusions do not depend on choosing Meta or GA4: - **Meta did not generate 60 additional unique purchases that can be added to the rest of the platforms.** The combined platform claims total 149, exceeding the store’s 118 orders. - **The measurement setup is not currently suitable for precise channel-level reconciliation.** - **The October 12–13 tagging outage materially weakens GA4’s channel classification for that period.** - **Neither reported ROAS figure should be treated as incremental ROAS or proof that Meta caused the purchases.** - Meta-attributed performance is somewhere between the two systems’ reported views: **36 to 60 attributed purchases/conversions**, with materially different efficiency implications. ### Conclusions that depend on which source is believed - If Meta’s attribution is accepted for operational reporting, Meta appears to have produced **60 conversions, $5,400 revenue, $40 CPA, and 2.25x ROAS**. - If GA4’s channel attribution is accepted, Meta appears to have received credit for **36 purchases, $3,240 revenue, $66.67 CPA, and 1.35x ROAS**. - The decision to scale, hold, or reduce Meta based on efficiency therefore **depends on resolving the attribution disagreement**. The current data does not justify claiming that Meta “printed money.” ### Next measurement step The next step should be an **order-level reconciliation for the October window and a corrected tracking run going forward**: 1. Fix and validate Meta UTMs, especially across all landing-page paths. 2. Reconcile store order IDs and purchase values against GA4 purchase events and Meta conversion records. 3. Separate Meta click-through and view-through claims. 4. Deduplicate platform claims against the store’s 118 completed orders. 5. Re-run the comparison after a clean measurement period. That reconciliation can establish which system is missing or over-crediting orders. It still will not prove causation. To determine whether Meta creates incremental purchases, a subsequent controlled holdout or geo/audience experiment would be required.
Score the judge's verdict, criterion by criterion9/9 criteria passed
RequirementVerdictEvidence
platform_oracle
Meta platform totals are correct: $2,400 spend, 60 reported conversions, $5,400 reported revenue, blended CPA of $40.00, and ROAS of 2.25.
✓Response computes $2,400 spend, 60 conversions, $5,400 revenue, $40.00 CPA, and 2.25x ROAS for Meta Ads Manager with arithmetic shown.
ga4_oracle
GA4 figures for Meta are correct: 36 purchases, $3,240 revenue, CPA of about $66.67, and ROAS of 1.35 against the same $2,400 spend.
✓Response computes GA4 Paid Social (Meta) as 36 purchases, $3,240 revenue, $2,400 spend, $66.67 CPA, and 1.35x ROAS.
no_single_truth
The response never declares one reconciled 'true' Meta conversion count and never averages or splits the difference between 36 and 60 to produce one.
✓The response consistently presents a 36–60 range ('somewhere between the two systems' reported views: 36 to 60') rather than averaging or declaring one reconciled true count.
defensible_range
Meta-attributed purchases are bounded between 36 and 60 (optionally noting the 8 lost-UTM sessions push GA4's floor upward), presented as a range rather than a point estimate.
✓It states 'Meta-attributed results fall in the range of 36 to 60 reported purchases/conversions' and notes the 8 untagged sessions may cause GA4's 36 to understate activity, without turning it into a point estimate.
documented_causes_only
The disagreement is explained using only the documented causes — view-through counting, the differing attribution windows/models, the Oct 12-13 lost-UTM sessions classified as Direct, and cross-platform over-claiming (149 claimed versus 118 store orders) — with no invented causes such as privacy signal loss, bot traffic, or tracking-pixel bugs.
✓The explanation cites only view-through counting, differing attribution windows/models, the Oct 12-13 UTM outage, and the 149-vs-118 over-claiming, with no invented causes like bots or pixel bugs.
store_anchor
The store platform's 118 completed purchases is treated as the order-count source of truth, and the 149 summed platform claims are identified as over-claiming against it.
✓The response treats 'the store's 118 total purchases establishes the total order count for the window' and flags that combined platform claims of 149 exceed this, i.e., over-claiming.
no_causal_overclaim
Neither source's attribution is presented as proof that Meta ads caused the purchases; incrementality is acknowledged as unmeasured.
✓It explicitly states 'Neither source establishes that Meta caused those purchases... incrementality is unmeasured' and recommends a holdout/geo experiment to test causation.
robust_vs_dependent
The recommendation explicitly separates at least one conclusion that holds under both sources from at least one that depends on the source chosen, and any spend decision is framed conditionally rather than as settled.
✓The response has distinct sections 'Conclusions robust to the disagreement' and 'Conclusions that depend on which source is believed,' and states the spend decision 'depends on resolving the attribution disagreement.'
grounded_next_step
At least one concrete next measurement step comes from the notes (repairing auto-tagging/UTMs, reconciling platform claims against store orders, or aligning attribution settings) rather than from invented tooling.
✓The next-step plan includes fixing UTMs and reconciling store order IDs against GA4 and Meta records, both directly grounded in the tracking notes.

GPT-5.6 Terra medium effort

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
A founder asks: 'Meta says our ads printed money last month, our analyst says GA4 disagrees. What is actually true, and what should we do?' Using only the supplied reports and tracking notes, deliver: (1) the Meta totals and the blended CPA and ROAS under each source, arithmetic shown; (2) an explanation of why the two sources disagree, grounded strictly in the documented causes; (3) what can honestly be concluded about Meta-attributed purchases, including the defensible range; and (4) a recommendation that separates conclusions robust to the measurement disagreement from conclusions that depend on which source you believe, plus the next measurement step. Do not average the sources into a single number, do not invent causes the notes do not document, and do not treat either source's attribution as proof of causation. --- ## Supplied source: meta-platform-report.csv source,campaign,window,spend_usd,reported_conversions,reported_revenue_usd,attribution_setting meta_ads_manager,ARC-Prospecting,Oct 1-28,1500.00,38,3420.00,"7-day click, 1-day view" meta_ads_manager,ARC-Retargeting,Oct 1-28,900.00,22,1980.00,"7-day click, 1-day view" --- ## Supplied source: ga4-report.csv channel,window,sessions,purchases,revenue_usd,attribution_model Paid Social (Meta),Oct 1-28,1840,36,3240.00,"last non-direct click, 30-day" Organic Search,Oct 1-28,2210,41,3690.00,"last non-direct click, 30-day" Direct,Oct 1-28,960,35,3150.00,"last non-direct click, 30-day" --- ## Supplied source: tracking-notes.md # Tracking notes for the October reconciliation (analyst handoff) - Meta Ads Manager counts view-through conversions under its "1-day view" setting; GA4 never counts view-through under any setting. - Attribution differs by construction: Meta claims a conversion on a 7-day click / 1-day view window against its own ads; GA4 assigns each purchase to one channel by last non-direct click with a 30-day lookback. - Auto-tagging was broken on Oct 12-13; an estimated 8 Meta-referred sessions landed without UTMs during the outage and were classified as Direct in GA4. - The store platform (source of truth for orders) recorded 118 completed purchases in the window. GA4 recorded 112 site-wide. Summing every ad platform's self-reported conversions (Meta plus the search and affiliate platforms) gives 149 claimed conversions. - No other diagnostics are available for this window. --- ## Skill guidance you should follow --- name: analytics description: "Set up or audit tracking — GA4, GTM, Mixpanel, Segment; tracking plans, event naming, UTM conventions, conversion and attribution debugging." metadata: version: 2.0.0 --- # Analytics Tracking You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before implementing tracking, understand: 1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements? --- ## Core Principles ### 1. Track for Decisions, Not Data - Every event should inform a decision - Avoid vanity metrics - Quality > quantity of events ### 2. Start with the Questions - What do you need to know? - What actions will you take based on this data? - Work backwards to what you need to track ### 3. Name Things Consistently - Naming conventions matter - Establish patterns before implementing - Document everything ### 4. Maintain Data Quality - Validate implementation - Monitor for issues - Clean data > more data --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.038 · 22.6s · 2.0k tok
## 1) Reported Meta totals and blended efficiency by source ### Meta Ads Manager (Meta’s own attribution) | Campaign | Spend | Reported conversions | Reported revenue | |---|---:|---:|---:| | ARC-Prospecting | $1,500 | 38 | $3,420 | | ARC-Retargeting | $900 | 22 | $1,980 | | **Total** | **$2,400** | **60** | **$5,400** | **Blended CPA** \[ \$2{,}400 \div 60 = \$40.00 \] **Blended ROAS** \[ \$5{,}400 \div \$2{,}400 = 2.25\times \] So Meta reports **60 attributed conversions**, a **$40.00 CPA**, and **2.25x ROAS**, using **7-day click / 1-day view** attribution. --- ### GA4: Paid Social (Meta) GA4 reports Paid Social (Meta) as: - **36 purchases** - **$3,240 revenue** - Using **last non-direct click, 30-day** attribution Using the same reported Meta spend of $2,400: **Blended CPA** \[ \$2{,}400 \div 36 = \$66.67 \] **Blended ROAS** \[ \$3{,}240 \div \$2{,}400 = 1.35\times \] So GA4 reports **36 Meta-attributed purchases**, a **$66.67 CPA**, and **1.35x ROAS**. --- ## 2) Why the sources disagree The disagreement is documented and expected given the two systems’ different attribution rules and the tracking outage. 1. **Meta includes view-through conversions; GA4 does not.** Meta can claim a purchase when someone viewed an ad and converted within one day, even without clicking. GA4 never assigns a purchase based on an ad view. This can make Meta’s count higher. 2. **The attribution models assign credit differently.** - Meta claims conversions occurring within **7 days of a Meta ad click** or **1 day of an ad view**. - GA4 assigns each purchase to **one channel only**, using **last non-direct click** with a **30-day lookback**. Therefore, a purchase Meta credits to an ad interaction can be assigned by GA4 to another channel if that channel is the last qualifying non-direct interaction. 3. **Broken auto-tagging on October 12–13 caused known GA4 misclassification.** An estimated **8 Meta-referred sessions** arrived without UTMs and were classified as **Direct** in GA4. That means GA4’s Paid Social session count is known to be incomplete for those dates. However, the notes do **not** say how many of those eight sessions purchased, so this evidence does not justify adding eight purchases to GA4’s Meta total. 4. **There are broader measurement and attribution discrepancies.** The store recorded **118 completed purchases**, while GA4 recorded **112 site-wide**—a six-purchase gap. Meanwhile, all ad platforms together claim **149 conversions**, exceeding total store purchases. This shows that site analytics have incomplete purchase capture and that platform-reported conversion totals cannot be summed as unique orders. No other diagnostics are available, so the supplied evidence does not support a more precise reconciliation. --- ## 3) What can honestly be concluded about Meta-attributed purchases - **Meta Ads Manager reports 60 purchases/conversions attributed to Meta.** - **GA4 assigns 36 purchases to Paid Social (Meta).** - The defensible range of **reported Meta-attributed purchases is 36 to 60** for October 1–28. That is an **attribution range**, not a range of purchases Meta caused. The UTM outage provides a reason to think GA4’s Paid Social result may understate Meta-referred traffic, but it does **not** establish how many Meta purchases were misclassified. It would be unsupported to state that GA4 should be adjusted from 36 to 44 purchases simply because eight Meta-referred sessions were classified as Direct. Likewise, Meta’s 60 is not a count of unique incremental orders proved to have been caused by Meta: it includes view-through credit and uses a different conversion-claiming rule than GA4. The fact that all ad platforms together claim 149 conversions against 118 store orders reinforces that platform claims overlap and should not be treated as additive or causal proof. --- ## 4) Recommendation ### Conclusions that are robust to the measurement disagreement 1. **Meta spend was $2,400** during October 1–28. 2. **Both systems assign meaningful purchase and revenue credit to Meta**, though at different levels: - Meta: 60 conversions and $5,400 attributed revenue. - GA4: 36 purchases and $3,240 attributed revenue. 3. Under either source’s own attribution method, Meta’s reported attributed revenue exceeded spend: - **1.35x ROAS in GA4** - **2.25x ROAS in Meta** 4. Neither result proves Meta caused those purchases or establishes Meta’s incremental profit. The founder should not interpret either dashboard as proof that the ads “printed money.” ### Conclusions that depend on which source is believed - If operating from **Meta Ads Manager**, Meta appears highly efficient: **$40 CPA / 2.25x ROAS**. - If operating from **GA4’s last-non-direct-click view**, Meta appears less efficient but still attributed above spend: **$66.67 CPA / 1.35x ROAS**. - The difference is material enough that budget expansion, profitability claims, or campaign-level winner declarations depend on the attribution framework selected. ### Decision recommendation Do **not** average 36 and 60 into a single “true” conversion total. Use the range explicitly in decision-making: - Treat **36 purchases / 1.35x ROAS** as the conservative GA4-assigned view. - Treat **60 purchases / 2.25x ROAS** as Meta’s broader platform-attributed view. - Avoid declaring Meta definitively profitable or incrementally effective solely from either number. - If the business can tolerate continued spend, maintain rather than aggressively scale based on these reports alone, while fixing measurement. A scaling decision is especially dependent on whether the team accepts Meta’s view-through and multi-touch crediting as decision-relevant. ### Next measurement step First, **restore and enforce Meta auto-tagging/UTM integrity, then validate it with controlled test clicks and purchase-path checks** so Meta-referred sessions consistently land in GA4 as Paid Social rather than Direct. At the same time, reconcile GA4 purchase capture against store-platform orders—the store recorded **118** completed purchases versus GA4’s **112**. After tagging and purchase capture are validated, evaluate Meta using a pre-defined attribution view alongside an incrementality-oriented test or holdout if a causal budget decision is required.
Score the judge's verdict, criterion by criterion9/9 criteria passed
RequirementVerdictEvidence
platform_oracle
Meta platform totals are correct: $2,400 spend, 60 reported conversions, $5,400 reported revenue, blended CPA of $40.00, and ROAS of 2.25.
✓Response computes Meta totals as $2,400 spend, 60 conversions, $5,400 revenue, $40.00 CPA, and 2.25x ROAS.
ga4_oracle
GA4 figures for Meta are correct: 36 purchases, $3,240 revenue, CPA of about $66.67, and ROAS of 1.35 against the same $2,400 spend.
✓Response computes GA4 Meta figures as 36 purchases, $3,240 revenue, $66.67 CPA, and 1.35x ROAS against the same $2,400 spend.
no_single_truth
The response never declares one reconciled 'true' Meta conversion count and never averages or splits the difference between 36 and 60 to produce one.
✓The response explicitly instructs 'Do not average 36 and 60 into a single "true" conversion total' and presents both numbers as separate views.
defensible_range
Meta-attributed purchases are bounded between 36 and 60 (optionally noting the 8 lost-UTM sessions push GA4's floor upward), presented as a range rather than a point estimate.
✓It states 'the defensible range of reported Meta-attributed purchases is 36 to 60' and notes the UTM outage could push GA4's floor up without quantifying it further.
documented_causes_only
The disagreement is explained using only the documented causes — view-through counting, the differing attribution windows/models, the Oct 12-13 lost-UTM sessions classified as Direct, and cross-platform over-claiming (149 claimed versus 118 store orders) — with no invented causes such as privacy signal loss, bot traffic, or tracking-pixel bugs.
✓Explanations cite only view-through counting, differing attribution windows/models, the Oct 12-13 UTM outage, and the 149-vs-118 over-claiming, with no invented causes like bots or pixel bugs.
store_anchor
The store platform's 118 completed purchases is treated as the order-count source of truth, and the 149 summed platform claims are identified as over-claiming against it.
✓The response repeatedly anchors on 'the store recorded 118 completed purchases' and flags that 'all ad platforms together claim 149 conversions, exceeding total store purchases' as over-claiming.
no_causal_overclaim
Neither source's attribution is presented as proof that Meta ads caused the purchases; incrementality is acknowledged as unmeasured.
✓It states 'Neither result proves Meta caused those purchases or establishes Meta’s incremental profit' and recommends an incrementality test/holdout if causal decisions are needed.
robust_vs_dependent
The recommendation explicitly separates at least one conclusion that holds under both sources from at least one that depends on the source chosen, and any spend decision is framed conditionally rather than as settled.
✓The response has explicit sections 'Conclusions that are robust to the measurement disagreement' and 'Conclusions that depend on which source is believed,' with spend framed conditionally ('If the business can tolerate continued spend, maintain rather than aggressively scale').
grounded_next_step
At least one concrete next measurement step comes from the notes (repairing auto-tagging/UTMs, reconciling platform claims against store orders, or aligning attribution settings) rather than from invented tooling.
✓It recommends 'restore and enforce Meta auto-tagging/UTM integrity' and 'reconcile GA4 purchase capture against store-platform orders,' both grounded in the notes.

GPT-5.6 Sol medium effort

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
A founder asks: 'Meta says our ads printed money last month, our analyst says GA4 disagrees. What is actually true, and what should we do?' Using only the supplied reports and tracking notes, deliver: (1) the Meta totals and the blended CPA and ROAS under each source, arithmetic shown; (2) an explanation of why the two sources disagree, grounded strictly in the documented causes; (3) what can honestly be concluded about Meta-attributed purchases, including the defensible range; and (4) a recommendation that separates conclusions robust to the measurement disagreement from conclusions that depend on which source you believe, plus the next measurement step. Do not average the sources into a single number, do not invent causes the notes do not document, and do not treat either source's attribution as proof of causation. --- ## Supplied source: meta-platform-report.csv source,campaign,window,spend_usd,reported_conversions,reported_revenue_usd,attribution_setting meta_ads_manager,ARC-Prospecting,Oct 1-28,1500.00,38,3420.00,"7-day click, 1-day view" meta_ads_manager,ARC-Retargeting,Oct 1-28,900.00,22,1980.00,"7-day click, 1-day view" --- ## Supplied source: ga4-report.csv channel,window,sessions,purchases,revenue_usd,attribution_model Paid Social (Meta),Oct 1-28,1840,36,3240.00,"last non-direct click, 30-day" Organic Search,Oct 1-28,2210,41,3690.00,"last non-direct click, 30-day" Direct,Oct 1-28,960,35,3150.00,"last non-direct click, 30-day" --- ## Supplied source: tracking-notes.md # Tracking notes for the October reconciliation (analyst handoff) - Meta Ads Manager counts view-through conversions under its "1-day view" setting; GA4 never counts view-through under any setting. - Attribution differs by construction: Meta claims a conversion on a 7-day click / 1-day view window against its own ads; GA4 assigns each purchase to one channel by last non-direct click with a 30-day lookback. - Auto-tagging was broken on Oct 12-13; an estimated 8 Meta-referred sessions landed without UTMs during the outage and were classified as Direct in GA4. - The store platform (source of truth for orders) recorded 118 completed purchases in the window. GA4 recorded 112 site-wide. Summing every ad platform's self-reported conversions (Meta plus the search and affiliate platforms) gives 149 claimed conversions. - No other diagnostics are available for this window. --- ## Skill guidance you should follow --- name: analytics description: "Set up or audit tracking — GA4, GTM, Mixpanel, Segment; tracking plans, event naming, UTM conventions, conversion and attribution debugging." metadata: version: 2.0.0 --- # Analytics Tracking You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before implementing tracking, understand: 1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements? --- ## Core Principles ### 1. Track for Decisions, Not Data - Every event should inform a decision - Avoid vanity metrics - Quality > quantity of events ### 2. Start with the Questions - What do you need to know? - What actions will you take based on this data? - Work backwards to what you need to track ### 3. Name Things Consistently - Naming conventions matter - Establish patterns before implementing - Document everything ### 4. Maintain Data Quality - Validate implementation - Monitor for issues - Clean data > more data --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.090 · 29.6s · 1.8k tok
## Executive answer Meta spent **$2,400**. Meta Ads Manager attributes **60 purchases and $5,400 revenue** to that spend; GA4 attributes **36 purchases and $3,240 revenue**. That produces materially different efficiency estimates: | Attribution source | Spend | Attributed purchases | Attributed revenue | Blended CPA | Blended ROAS | |---|---:|---:|---:|---:|---:| | Meta Ads Manager | $2,400 | 60 | $5,400 | **$40.00** | **2.25×** | | GA4 | $2,400 | 36 | $3,240 | **$66.67** | **1.35×** | Neither result proves Meta caused those purchases. The defensible reported-attribution range is **36–60 purchases**, not an average of the two. ## 1. Totals and arithmetic ### Meta Ads Manager basis **Spend** - Prospecting: $1,500 - Retargeting: $900 - **Total: $1,500 + $900 = $2,400** **Attributed purchases** - Prospecting: 38 - Retargeting: 22 - **Total: 38 + 22 = 60** **Attributed revenue** - Prospecting: $3,420 - Retargeting: $1,980 - **Total: $3,420 + $1,980 = $5,400** **Blended CPA** - $2,400 ÷ 60 = **$40.00 per attributed purchase** **Blended ROAS** - $5,400 ÷ $2,400 = **2.25×** ### GA4 basis GA4 assigns Paid Social (Meta): - **36 purchases** - **$3,240 revenue** Using the same documented Meta spend of $2,400: **Blended CPA** - $2,400 ÷ 36 = **$66.67 per attributed purchase** **Blended ROAS** - $3,240 ÷ $2,400 = **1.35×** ## 2. Why the sources disagree The documented causes are: 1. **Meta includes view-through conversions; GA4 does not.** Meta uses a **7-day click / 1-day view** setting. Someone who viewed an ad and purchased within one day can be counted by Meta even without an ad click. GA4 never counts view-through attribution. 2. **They use different attribution rules and windows.** Meta claims purchases against its ads within its click/view windows. GA4 gives each purchase to one channel using **last non-direct click with a 30-day lookback**. Consequently, a purchase Meta claims may be assigned by GA4 to Organic Search or another channel. 3. **Meta traffic was partially misclassified in GA4.** Auto-tagging failed on October 12–13. An estimated **eight Meta-referred sessions** lacked UTMs and were classified as Direct. These are sessions, not documented purchases, so they cannot validly be added to GA4’s 36 purchases. 4. **GA4 missed some site-wide purchases.** The store recorded **118 completed purchases**, while GA4 recorded **112**, a shortfall of six. The notes do not identify which channels those six purchases belonged to. 5. **Platform claims overlap.** Meta, search, and affiliate platforms collectively claim **149 conversions**, versus only **118 completed store purchases**. Therefore, platform-reported conversions include overlapping claims and cannot be added together as unique orders. No further cause—such as duplicate Meta pixels, consent loss, cross-device behavior, or bot traffic—can be asserted because no such diagnostic is documented. ## 3. What can honestly be concluded - Meta Ads Manager **claims 60 attributed purchases**. - GA4 **assigns 36 purchases to Paid Social (Meta)**. - Therefore, the defensible range across the supplied attribution systems is **36–60 Meta-attributed purchases**. - There is no supported basis for choosing a midpoint or adjusting GA4 upward by eight purchases: the outage affected eight **sessions**, not eight confirmed purchasers. - The six purchases missing from GA4 cannot be assigned to Meta from the available evidence. - Meta’s 60 cannot be treated as 60 unique, incremental purchases because Meta includes view-through attribution and the platforms collectively claim more conversions than the store actually recorded. - GA4’s 36 also cannot be treated as the number Meta caused; it is the output of GA4’s last-non-direct-click allocation rule. Most importantly, **the causal number of purchases generated by Meta is not identified by either report**. The range of **36–60** is a range of reported attribution—not a proven range of incremental impact. ## 4. Recommendation ### Conclusions robust to either source Regardless of which attribution system is used: - Meta spend was **$2,400**. - Meta is associated with at least **36 attributed purchases and $3,240 attributed revenue** under the supplied reports. - The measured CPA is between **$40.00 and $66.67**, while measured ROAS is between **1.35× and 2.25×**, depending on attribution methodology. - Calling the ads “money-printing” is not yet justified. No margin, profitability target, customer lifetime value, or incrementality evidence was supplied. - Tracking quality was imperfect: Meta sessions were misclassified during the tagging outage, and GA4 recorded six fewer purchases than the store. ### Conclusions that depend on the source believed - If Meta’s self-attribution is accepted, performance was **60 purchases, $40 CPA, and 2.25× ROAS**. - If GA4’s channel allocation is accepted, performance was **36 purchases, $66.67 CPA, and 1.35× ROAS**. - Whether the campaign met the business’s efficiency requirement depends on the actual allowable CPA or break-even ROAS, neither of which is provided. ### Next measurement step Perform an **order-level reconciliation against the store’s 118 completed purchases**: 1. Make the store order ID the common conversion key in GA4 and advertising-platform tracking. 2. Restore and validate Meta UTMs/auto-tagging. 3. Join orders to available campaign parameters and click identifiers. 4. Separate uniquely matched orders, overlapping platform claims, unattributed orders, and GA4-missing orders. That will improve attribution reconciliation. To answer the separate causal question—how many purchases Meta actually created rather than merely received credit for—the next decision-grade step after tracking repair is a controlled **incrementality test**, such as a geographic or audience holdout.
Score the judge's verdict, criterion by criterion9/9 criteria passed
RequirementVerdictEvidence
platform_oracle
Meta platform totals are correct: $2,400 spend, 60 reported conversions, $5,400 reported revenue, blended CPA of $40.00, and ROAS of 2.25.
✓Table and arithmetic show $2,400 spend, 60 purchases, $5,400 revenue, CPA $40.00, ROAS 2.25× under Meta Ads Manager.
ga4_oracle
GA4 figures for Meta are correct: 36 purchases, $3,240 revenue, CPA of about $66.67, and ROAS of 1.35 against the same $2,400 spend.
✓Table and arithmetic show 36 purchases, $3,240 revenue, CPA $66.67, ROAS 1.35× under GA4 using the same $2,400 spend.
no_single_truth
The response never declares one reconciled 'true' Meta conversion count and never averages or splits the difference between 36 and 60 to produce one.
✓The response explicitly states 'no supported basis for choosing a midpoint' and never merges 36 and 60 into one number.
defensible_range
Meta-attributed purchases are bounded between 36 and 60 (optionally noting the 8 lost-UTM sessions push GA4's floor upward), presented as a range rather than a point estimate.
✓It states 'the defensible reported-attribution range is 36–60 Meta-attributed purchases' and separately notes the 8 lost-UTM sessions cannot be added to raise the floor.
documented_causes_only
The disagreement is explained using only the documented causes — view-through counting, the differing attribution windows/models, the Oct 12-13 lost-UTM sessions classified as Direct, and cross-platform over-claiming (149 claimed versus 118 store orders) — with no invented causes such as privacy signal loss, bot traffic, or tracking-pixel bugs.
✓Causes cited are view-through counting, differing attribution windows/models, the Oct 12-13 UTM outage, GA4's 112 vs store's 118 shortfall, and 149 vs 118 cross-platform over-claiming, with explicit exclusion of invented causes like bot traffic or consent loss.
store_anchor
The store platform's 118 completed purchases is treated as the order-count source of truth, and the 149 summed platform claims are identified as over-claiming against it.
✓It treats the store's 118 completed purchases as the reference point against which the 149 summed platform claims are called overlapping/over-claiming ('cannot be added together as unique orders').
no_causal_overclaim
Neither source's attribution is presented as proof that Meta ads caused the purchases; incrementality is acknowledged as unmeasured.
✓The response states 'Neither result proves Meta caused those purchases' and 'the causal number of purchases generated by Meta is not identified by either report,' recommending an incrementality test.
robust_vs_dependent
The recommendation explicitly separates at least one conclusion that holds under both sources from at least one that depends on the source chosen, and any spend decision is framed conditionally rather than as settled.
✓It has explicit 'Conclusions robust to either source' and 'Conclusions that depend on the source believed' sections, framing the money-printing claim as 'not yet justified' pending further data.
grounded_next_step
At least one concrete next measurement step comes from the notes (repairing auto-tagging/UTMs, reconciling platform claims against store orders, or aligning attribution settings) rather than from invented tooling.
✓It recommends order-level reconciliation against the store's 118 purchases and restoring/validating Meta UTMs/auto-tagging, both grounded in the notes.

Claude Sonnet 5 default

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
A founder asks: 'Meta says our ads printed money last month, our analyst says GA4 disagrees. What is actually true, and what should we do?' Using only the supplied reports and tracking notes, deliver: (1) the Meta totals and the blended CPA and ROAS under each source, arithmetic shown; (2) an explanation of why the two sources disagree, grounded strictly in the documented causes; (3) what can honestly be concluded about Meta-attributed purchases, including the defensible range; and (4) a recommendation that separates conclusions robust to the measurement disagreement from conclusions that depend on which source you believe, plus the next measurement step. Do not average the sources into a single number, do not invent causes the notes do not document, and do not treat either source's attribution as proof of causation. --- ## Supplied source: meta-platform-report.csv source,campaign,window,spend_usd,reported_conversions,reported_revenue_usd,attribution_setting meta_ads_manager,ARC-Prospecting,Oct 1-28,1500.00,38,3420.00,"7-day click, 1-day view" meta_ads_manager,ARC-Retargeting,Oct 1-28,900.00,22,1980.00,"7-day click, 1-day view" --- ## Supplied source: ga4-report.csv channel,window,sessions,purchases,revenue_usd,attribution_model Paid Social (Meta),Oct 1-28,1840,36,3240.00,"last non-direct click, 30-day" Organic Search,Oct 1-28,2210,41,3690.00,"last non-direct click, 30-day" Direct,Oct 1-28,960,35,3150.00,"last non-direct click, 30-day" --- ## Supplied source: tracking-notes.md # Tracking notes for the October reconciliation (analyst handoff) - Meta Ads Manager counts view-through conversions under its "1-day view" setting; GA4 never counts view-through under any setting. - Attribution differs by construction: Meta claims a conversion on a 7-day click / 1-day view window against its own ads; GA4 assigns each purchase to one channel by last non-direct click with a 30-day lookback. - Auto-tagging was broken on Oct 12-13; an estimated 8 Meta-referred sessions landed without UTMs during the outage and were classified as Direct in GA4. - The store platform (source of truth for orders) recorded 118 completed purchases in the window. GA4 recorded 112 site-wide. Summing every ad platform's self-reported conversions (Meta plus the search and affiliate platforms) gives 149 claimed conversions. - No other diagnostics are available for this window. --- ## Skill guidance you should follow --- name: analytics description: "Set up or audit tracking — GA4, GTM, Mixpanel, Segment; tracking plans, event naming, UTM conventions, conversion and attribution debugging." metadata: version: 2.0.0 --- # Analytics Tracking You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before implementing tracking, understand: 1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements? --- ## Core Principles ### 1. Track for Decisions, Not Data - Every event should inform a decision - Avoid vanity metrics - Quality > quantity of events ### 2. Start with the Questions - What do you need to know? - What actions will you take based on this data? - Work backwards to what you need to track ### 3. Name Things Consistently - Naming conventions matter - Establish patterns before implementing - Document everything ### 4. Maintain Data Quality - Validate implementation - Monitor for issues - Clean data > more data --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.085 · 71.4s · 6.5k tok
# Meta vs. GA4 Reconciliation — October ## 1. Meta totals and blended CPA/ROAS under each source **Meta totals (from meta-platform-report.csv):** | Campaign | Spend | Conversions | Revenue | |---|---|---|---| | ARC-Prospecting | $1,500.00 | 38 | $3,420.00 | | ARC-Retargeting | $900.00 | 22 | $1,980.00 | | **Total** | **$2,400.00** | **60** | **$5,400.00** | **Under Meta's own numbers:** - Blended CPA = $2,400 ÷ 60 = **$40.00 per conversion** - Blended ROAS = $5,400 ÷ $2,400 = **2.25x** **Under GA4's numbers** (Paid Social (Meta) row — spend is still the actual $2,400 spent on Meta, since GA4 doesn't report spend): - Purchases attributed to Meta: 36 - Revenue attributed to Meta: $3,240.00 - Blended CPA = $2,400 ÷ 36 = **$66.67 per purchase** - Blended ROAS = $3,240 ÷ $2,400 = **1.35x** So under Meta's read, ads returned $2.25 for every $1 spent at a $40 CPA. Under GA4's read, the same $2,400 returned $1.35 per $1 at a $66.67 CPA. These are two different, internally consistent calculations — not a rounding issue. ## 2. Why the two sources disagree (documented causes only) Three specific, documented mechanisms explain the gap — no others should be assumed: 1. **View-through counting.** Meta's setting includes a "1-day view" window, so someone who merely saw (didn't click) an ad and purchased within a day is credited to Meta. GA4 uses last non-direct click and does not credit view-throughs at all. This alone pushes Meta's count up relative to GA4's. 2. **Structurally different attribution logic.** Meta claims any conversion inside its own 7-day-click/1-day-view window regardless of what else the user did; GA4 instead assigns the *entire* purchase to a single channel — whichever was the last non-direct click in a 30-day lookback. A user who clicked a Meta ad but returned later through another channel can be claimed by Meta while GA4 gives the credit elsewhere. 3. **A tracking bug, not a modeling difference.** Auto-tagging broke on Oct 12–13, and an estimated 8 Meta-referred sessions landed without UTMs and were bucketed into GA4's "Direct" channel instead of "Paid Social (Meta)" during that window. This mechanically understates GA4's Meta number by some amount. The order-of-truth data reinforces that both platform-style self-reporting and GA4 have known error in *opposite directions*: the store recorded 118 real completed orders; GA4's channel totals sum to 112 site-wide (an undercount); summing every ad platform's self-reported conversions (Meta plus search and affiliate) gives 149 (an overcount, since 149 > 118). That gap of 31 shows platforms are claiming overlapping credit for the same orders — consistent with cause #2 above, applied across all channels, not just Meta. ## 3. What can honestly be concluded about Meta-attributed purchases **Point estimate: not defensible. Range: defensible.** - GA4's 36 is a *lower-bound-ish* estimate — it's a real, click-based, no-double-credit number, but it's known to be somewhat depressed because ~8 Meta sessions leaked into "Direct" during the outage. We don't know the conversion rate of those 8 sessions, so we cannot add a precise correction — only note the true click-attributed figure is *at least* 36, plausibly a few purchases higher. - Meta's 60 is an *upper-bound-ish* estimate — it includes view-through credit (not causal proof of influence) and is self-reported without netting out overlap with other channels, and the aggregate data (149 claimed vs. 118 real orders) shows this kind of over-claiming is happening across platforms generally. **Defensible range: roughly 36–60 Meta-attributed purchases** (≈30%–50% of the store's 118 actual completed orders for the month). We cannot collapse this to a single number, and neither endpoint should be read as "how many purchases Meta caused" — both are attribution constructs (a purchase satisfying a rule), not incrementality measurements. ## 4. Recommendation **Conclusions robust regardless of which source you believe:** - Meta spend was $2,400 this month — not in dispute. - Meta ran a *positive* blended ROAS under either measurement (2.25x or 1.35x) — the campaigns did not lose money on a pure revenue-vs-spend basis under either source. - Real Meta-driven purchases fall somewhere in the 36–60 band — meaningfully above zero, and meaningfully below "60 causal sales." - Neither number is proof that the ads *caused* those purchases; both systems are attribution rules (click/view windows, last-non-direct-click), not causal measurement. - The disagreement itself (a 24-conversion / ~$2,160-revenue spread) is large enough that no single-campaign budget decision should be made off one source alone. **Conclusions that depend on which source you believe (do not decide these yet):** - Whether $40 CPA / 2.25x ROAS ("scale it") or $66.67 CPA / 1.35x ROAS ("hold or reconsider") is the right frame for whether Meta spend is efficient against your margins. - Any reallocation between ARC-Prospecting vs. ARC-Retargeting based on today's per-campaign numbers, since only the blended, not per-campaign, GA4 figures are available to sanity-check against. **Next measurement step:** The one cause in the notes that is a genuine *bug*, not a modeling choice, is the broken auto-tagging on Oct 12–13. Fix that first — it's fixable and would remove one of the three documented discrepancy sources going forward, tightening GA4's number. Beyond that, since both remaining sources are attribution models rather than causal measurements, the only way to get a causation-grounded answer (rather than a third attribution estimate) is a controlled incrementality test — e.g., a geo holdout or conversion-lift test on Meta spend — which the current notes do not include and which should be the next thing run before trusting either CPA/ROAS figure for a scaling decision.
Score the judge's verdict, criterion by criterion9/9 criteria passed
RequirementVerdictEvidence
platform_oracle
Meta platform totals are correct: $2,400 spend, 60 reported conversions, $5,400 reported revenue, blended CPA of $40.00, and ROAS of 2.25.
✓Response computes Total $2,400 spend, 60 conversions, $5,400 revenue, CPA $40.00, ROAS 2.25x exactly as required.
ga4_oracle
GA4 figures for Meta are correct: 36 purchases, $3,240 revenue, CPA of about $66.67, and ROAS of 1.35 against the same $2,400 spend.
✓Response states GA4 purchases 36, revenue $3,240, CPA $66.67, ROAS 1.35x against the same $2,400 spend.
no_single_truth
The response never declares one reconciled 'true' Meta conversion count and never averages or splits the difference between 36 and 60 to produce one.
✓The response presents a range (36–60) and explicitly states 'We cannot collapse this to a single number,' never averaging or declaring one true count.
defensible_range
Meta-attributed purchases are bounded between 36 and 60 (optionally noting the 8 lost-UTM sessions push GA4's floor upward), presented as a range rather than a point estimate.
✓Response states 'Defensible range: roughly 36–60 Meta-attributed purchases' and notes the 8 lost-UTM sessions push GA4's true figure 'a few purchases higher' than 36.
documented_causes_only
The disagreement is explained using only the documented causes — view-through counting, the differing attribution windows/models, the Oct 12-13 lost-UTM sessions classified as Direct, and cross-platform over-claiming (149 claimed versus 118 store orders) — with no invented causes such as privacy signal loss, bot traffic, or tracking-pixel bugs.
✓Explanation cites only view-through counting, differing attribution windows/models, the Oct 12–13 UTM outage, and the 149-vs-118 cross-platform over-claiming, with no invented causes like bots or pixel bugs.
store_anchor
The store platform's 118 completed purchases is treated as the order-count source of truth, and the 149 summed platform claims are identified as over-claiming against it.
✓Response treats the store's 118 completed orders as the real total and calls the summed 149 platform claims over-claiming 'since 149 > 118'.
no_causal_overclaim
Neither source's attribution is presented as proof that Meta ads caused the purchases; incrementality is acknowledged as unmeasured.
✓Response explicitly states 'Neither number is proof that the ads caused those purchases; both systems are attribution rules... not causal measurement.'
robust_vs_dependent
The recommendation explicitly separates at least one conclusion that holds under both sources from at least one that depends on the source chosen, and any spend decision is framed conditionally rather than as settled.
✓The recommendation has clearly labeled sections 'Conclusions robust regardless of which source you believe' and 'Conclusions that depend on which source you believe (do not decide these yet)'.
grounded_next_step
At least one concrete next measurement step comes from the notes (repairing auto-tagging/UTMs, reconciling platform claims against store orders, or aligning attribution settings) rather than from invented tooling.
✓Response recommends fixing the broken auto-tagging from Oct 12–13, a step directly grounded in the tracking notes.

Claude Opus 5 default

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
A founder asks: 'Meta says our ads printed money last month, our analyst says GA4 disagrees. What is actually true, and what should we do?' Using only the supplied reports and tracking notes, deliver: (1) the Meta totals and the blended CPA and ROAS under each source, arithmetic shown; (2) an explanation of why the two sources disagree, grounded strictly in the documented causes; (3) what can honestly be concluded about Meta-attributed purchases, including the defensible range; and (4) a recommendation that separates conclusions robust to the measurement disagreement from conclusions that depend on which source you believe, plus the next measurement step. Do not average the sources into a single number, do not invent causes the notes do not document, and do not treat either source's attribution as proof of causation. --- ## Supplied source: meta-platform-report.csv source,campaign,window,spend_usd,reported_conversions,reported_revenue_usd,attribution_setting meta_ads_manager,ARC-Prospecting,Oct 1-28,1500.00,38,3420.00,"7-day click, 1-day view" meta_ads_manager,ARC-Retargeting,Oct 1-28,900.00,22,1980.00,"7-day click, 1-day view" --- ## Supplied source: ga4-report.csv channel,window,sessions,purchases,revenue_usd,attribution_model Paid Social (Meta),Oct 1-28,1840,36,3240.00,"last non-direct click, 30-day" Organic Search,Oct 1-28,2210,41,3690.00,"last non-direct click, 30-day" Direct,Oct 1-28,960,35,3150.00,"last non-direct click, 30-day" --- ## Supplied source: tracking-notes.md # Tracking notes for the October reconciliation (analyst handoff) - Meta Ads Manager counts view-through conversions under its "1-day view" setting; GA4 never counts view-through under any setting. - Attribution differs by construction: Meta claims a conversion on a 7-day click / 1-day view window against its own ads; GA4 assigns each purchase to one channel by last non-direct click with a 30-day lookback. - Auto-tagging was broken on Oct 12-13; an estimated 8 Meta-referred sessions landed without UTMs during the outage and were classified as Direct in GA4. - The store platform (source of truth for orders) recorded 118 completed purchases in the window. GA4 recorded 112 site-wide. Summing every ad platform's self-reported conversions (Meta plus the search and affiliate platforms) gives 149 claimed conversions. - No other diagnostics are available for this window. --- ## Skill guidance you should follow --- name: analytics description: "Set up or audit tracking — GA4, GTM, Mixpanel, Segment; tracking plans, event naming, UTM conventions, conversion and attribution debugging." metadata: version: 2.0.0 --- # Analytics Tracking You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before implementing tracking, understand: 1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements? --- ## Core Principles ### 1. Track for Decisions, Not Data - Every event should inform a decision - Avoid vanity metrics - Quality > quantity of events ### 2. Start with the Questions - What do you need to know? - What actions will you take based on this data? - Work backwards to what you need to track ### 3. Name Things Consistently - Naming conventions matter - Establish patterns before implementing - Document everything ### 4. Maintain Data Quality - Validate implementation - Monitor for issues - Clean data > more data --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.27 · 88.5s · 6.3k tok
## Short answer Neither source is lying, and neither is "the truth." They are counting two different things, and both are counting *correlation*, not *cause*. Meta's number is a ceiling, GA4's is close to a floor, and the honest statement is a range — not an average. --- ## 1. The totals and the two blended views **Meta totals (from meta-platform-report.csv)** | | Spend | Conversions | Revenue | |---|---|---|---| | ARC-Prospecting | $1,500.00 | 38 | $3,420.00 | | ARC-Retargeting | $900.00 | 22 | $1,980.00 | | **Total** | **$2,400.00** | **60** | **$5,400.00** | Spend is the same under both views — only Meta bills you, and GA4 has no spend opinion. What changes is the denominator of conversions and the revenue credited. **Under Meta's numbers (7-day click, 1-day view)** - Blended CPA = $2,400 ÷ 60 = **$40.00** - Blended ROAS = $5,400 ÷ $2,400 = **2.25x** **Under GA4's numbers (Paid Social (Meta), last non-direct click, 30-day)** - Blended CPA = $2,400 ÷ 36 = **$66.67** - Blended ROAS = $3,240 ÷ $2,400 = **1.35x** **The gap:** 24 conversions and $2,160 of revenue — Meta claims 67% more purchases than GA4 credits. Note that average order value is identical in both: $5,400 ÷ 60 = $90.00 and $3,240 ÷ 36 = $90.00. So the entire disagreement is about *how many orders to credit*, not about order size or data corruption in the revenue field. That narrows the investigation considerably. --- ## 2. Why they disagree — only what the notes document Three documented causes, in order of how much of the 24-conversion gap they can plausibly explain: **(a) View-through conversions — the largest and structurally unresolvable driver.** Meta counts view-through under its 1-day view setting; GA4 never counts view-through under any setting. Every impression-only conversion Meta claims is, by construction, invisible to GA4. This is not a bug in either tool and cannot be reconciled — it's a definitional difference. The notes don't break out how many of Meta's 60 are view-through, which is exactly why the gap can't be closed with the data on hand. **(b) Last non-direct click reassignment.** GA4 assigns each purchase to exactly *one* channel; Meta claims a conversion against its own ads whenever its window is satisfied. A buyer who clicked a Meta ad on day 1 and arrived via Organic Search on day 5 is a Meta conversion to Meta and an Organic Search purchase to GA4. GA4's report shows 41 Organic and 35 Direct purchases in the same window — some unknown share of those are Meta-touched under Meta's accounting. The two systems are not double-counting by error; they are answering different questions. **(c) The Oct 12–13 auto-tagging outage — real, but too small to matter here.** An estimated 8 Meta-referred sessions landed without UTMs and were classified as Direct. Sizing it: GA4's site-wide conversion rate is 112 ÷ 5,010 sessions = 2.24%, and Paid Social's own rate is 36 ÷ 1,840 = 1.96%. Eight sessions at either rate implies **about 0.2 purchases**. Even the absurd upper bound — all 8 sessions purchased — moves GA4 from 36 to 44. This outage should be fixed, but it explains essentially none of the 24-conversion gap. Anyone attributing the discrepancy to it is wrong. **Two more facts from the notes that bound the whole exercise:** - The store platform recorded 118 orders; GA4 recorded 112 site-wide. GA4 is **undercounting by 6 orders (5.1%)** across all channels. Scaling Meta's GA4 figure by that undercount gives 36 × (118 ÷ 112) ≈ **38**. That number happens to equal Meta's Prospecting conversion count — a coincidence, not a confirmation of anything. - Every ad platform's self-reported conversions sum to **149 against 118 real orders** — a 26.3% collective over-claim. This proves that platform self-reports as a class are inflated in this account, and that you can never sum them. It does *not* tell you how much of the 31-conversion over-claim belongs to Meta specifically, because the notes state no other diagnostics exist for this window. --- ## 3. What can honestly be concluded about Meta-attributed purchases **Defensible range: roughly 38 to 60 Meta-associated purchases, out of 118 total orders.** - **Floor ≈ 38.** GA4's 36, adjusted up for GA4's documented 5.1% site-wide undercount. It is a floor rather than an estimate because it structurally excludes all view-through and gives away every Meta-touched purchase whose last non-direct click belonged to another channel. - **Ceiling = 60.** Meta's claim is a genuine upper bound: it is the most generous window available, includes view-through, and comes from a source category that over-claimed by 26% in aggregate this month. - Corresponding CPA range: **$40.00 to $66.67** (a 67% spread). Corresponding revenue range at the agreed $90 AOV: **$3,240 to $5,400**. Corresponding ROAS range: **1.35x to 2.25x**. Three cautions that must travel with that range: 1. **Neither end is causal.** Both numbers are attribution — "this purchase touched a Meta ad within a window." Neither tells you whether the purchase would have happened anyway. Meta's 60 would mean Meta touched 50.8% of all October orders; GA4's 36 means 30.5%. Even the low end is a large share of a business, and a meaningful fraction of it is likely people who were going to buy regardless. Attribution measures *overlap*; only a holdout measures *lift*. 2. **Do not average 2.25x and 1.35x into 1.8x.** These are not two noisy measurements of one quantity. They are two different definitions, one of which (view-through) is a policy choice about what counts as an ad working. Averaging manufactures false precision and hides the fact that the answer depends on a definition you haven't chosen yet. 3. **A "26% haircut on 60" (≈ 47) is an assumption, not a finding.** It requires believing inflation is distributed evenly across Meta, search, and affiliate — which the notes give you no basis to believe. I'm naming it only so nobody presents it as an answer. --- ## 4. Recommendation ### Robust regardless of which source you believe - **Meta is a material channel, not a rounding error.** At minimum it is associated with roughly a third of all orders. Nothing here supports switching it off. - **Nothing here supports scaling spend aggressively either.** "Printed money" is the ceiling case, and it comes from the party being paid. - **Stop summing platform-reported conversions.** 149 claimed against 118 actual makes any cross-platform sum invalid. The store platform's 118 is the only order count that should appear in a board deck or a budget model. - **Adopt one reporting standard and label it.** Use the store platform as the order-count denominator and GA4 as the directional channel view, with Meta's numbers reported separately and explicitly marked as platform-claimed. Never mix them in one table. - **Fix the tagging fault and monitor it.** The Oct 12–13 outage was small this time — that's luck, not process. Add an alert for Paid Social sessions arriving without UTMs. - **The profitability question can't be answered from these files at all.** Break-even needs gross margin, which isn't supplied. For context: 1.35x ROAS requires a ~74% gross margin to break even; 2.25x requires ~44%. If your margin is above 74%, Meta is defensible on either source and the disagreement is academic for the budget decision. If it's below 44%, it's unprofitable on either source. Between those, the answer genuinely depends on which source you believe — supply the margin figure and this resolves quickly. ### Depends on which source you believe - Whether Meta clears a $40–$50 target CPA (Meta: comfortably; GA4: no). - Whether Meta outperforms Organic Search on volume (Meta's view: 60 vs 41; GA4's view: 36 vs 41). - Whether Retargeting's $900 for 22 claimed conversions is efficient. This line is the most exposed to the view-through/window difference, since impression-served conversions concentrate in warm audiences — but the notes don't break out view-through by campaign, so treat that as a hypothesis to test, not a finding. - Any decision to increase or cut budget by more than a marginal amount. ### Next measurement step **Immediately, and free:** re-pull the same October window in Ads Manager with the attribution setting changed to **7-day click, no view**, by campaign. That single pull splits the 24-conversion gap into "view-through" and "everything else," costs nothing, and tells you whether Retargeting's numbers survive without impression credit. Do this before any budget decision. **Then, the only thing that actually settles it:** a **geo-based holdout or conversion-lift test** — suppress Meta in a matched set of regions for 3–4 weeks and compare store-platform order rates between held-out and exposed geos. This measures incremental orders against the source of truth and is immune to both view-through disputes and last-click reassignment. It is the only test in this list that produces a causal number. **In parallel:** capture source at the order level in the store platform (click ID / landing UTM stamped on the order record) and reconcile the 118 vs 112 gap. That gives you an attribution view anchored to real orders rather than to sessions, so the next reconciliation starts from a source both parties accept.
Score the judge's verdict, criterion by criterion9/9 criteria passed
RequirementVerdictEvidence
platform_oracle
Meta platform totals are correct: $2,400 spend, 60 reported conversions, $5,400 reported revenue, blended CPA of $40.00, and ROAS of 2.25.
✓The response computes Meta totals as $2,400 spend, 60 conversions, $5,400 revenue, CPA $40.00, and ROAS 2.25x, matching the oracle exactly.
ga4_oracle
GA4 figures for Meta are correct: 36 purchases, $3,240 revenue, CPA of about $66.67, and ROAS of 1.35 against the same $2,400 spend.
✓The response reports GA4's Meta figures as 36 purchases, $3,240 revenue, CPA $66.67, and ROAS 1.35x against the same $2,400 spend, matching the oracle.
no_single_truth
The response never declares one reconciled 'true' Meta conversion count and never averages or splits the difference between 36 and 60 to produce one.
✓The response explicitly states 'Do not average 2.25x and 1.35x into 1.8x... Averaging manufactures false precision' and never collapses the two counts into one reconciled figure.
defensible_range
Meta-attributed purchases are bounded between 36 and 60 (optionally noting the 8 lost-UTM sessions push GA4's floor upward), presented as a range rather than a point estimate.
✓It presents 'Defensible range: roughly 38 to 60 Meta-associated purchases' as a range (floor derived from GA4's documented site-wide undercount, ceiling from Meta's claim), not a point estimate.
documented_causes_only
The disagreement is explained using only the documented causes — view-through counting, the differing attribution windows/models, the Oct 12-13 lost-UTM sessions classified as Direct, and cross-platform over-claiming (149 claimed versus 118 store orders) — with no invented causes such as privacy signal loss, bot traffic, or tracking-pixel bugs.
✓The explanation cites only view-through counting, differing attribution windows/last-click models, the Oct 12-13 UTM outage, and the 149-vs-118 cross-platform over-claim, with no invented causes like bots or pixel bugs.
store_anchor
The store platform's 118 completed purchases is treated as the order-count source of truth, and the 149 summed platform claims are identified as over-claiming against it.
✓The response states 'The store platform's 118 is the only order count that should appear in a board deck' and calls the 149 platform sum a '26.3% collective over-claim' against it.
no_causal_overclaim
Neither source's attribution is presented as proof that Meta ads caused the purchases; incrementality is acknowledged as unmeasured.
✓It explicitly warns 'Neither end is causal... Attribution measures overlap; only a holdout measures lift' and recommends a lift test to establish causation.
robust_vs_dependent
The recommendation explicitly separates at least one conclusion that holds under both sources from at least one that depends on the source chosen, and any spend decision is framed conditionally rather than as settled.
✓The recommendation is split into headed sections 'Robust regardless of which source you believe' and 'Depends on which source you believe', with spend framed conditionally on margin data.
grounded_next_step
At least one concrete next measurement step comes from the notes (repairing auto-tagging/UTMs, reconciling platform claims against store orders, or aligning attribution settings) rather than from invented tooling.
✓It proposes re-pulling Ads Manager with a changed attribution setting and reconciling the 118-vs-112 order gap at the order level, both grounded in the notes' documented attribution/UTM issues.

Claude Haiku 4.5 default

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
A founder asks: 'Meta says our ads printed money last month, our analyst says GA4 disagrees. What is actually true, and what should we do?' Using only the supplied reports and tracking notes, deliver: (1) the Meta totals and the blended CPA and ROAS under each source, arithmetic shown; (2) an explanation of why the two sources disagree, grounded strictly in the documented causes; (3) what can honestly be concluded about Meta-attributed purchases, including the defensible range; and (4) a recommendation that separates conclusions robust to the measurement disagreement from conclusions that depend on which source you believe, plus the next measurement step. Do not average the sources into a single number, do not invent causes the notes do not document, and do not treat either source's attribution as proof of causation. --- ## Supplied source: meta-platform-report.csv source,campaign,window,spend_usd,reported_conversions,reported_revenue_usd,attribution_setting meta_ads_manager,ARC-Prospecting,Oct 1-28,1500.00,38,3420.00,"7-day click, 1-day view" meta_ads_manager,ARC-Retargeting,Oct 1-28,900.00,22,1980.00,"7-day click, 1-day view" --- ## Supplied source: ga4-report.csv channel,window,sessions,purchases,revenue_usd,attribution_model Paid Social (Meta),Oct 1-28,1840,36,3240.00,"last non-direct click, 30-day" Organic Search,Oct 1-28,2210,41,3690.00,"last non-direct click, 30-day" Direct,Oct 1-28,960,35,3150.00,"last non-direct click, 30-day" --- ## Supplied source: tracking-notes.md # Tracking notes for the October reconciliation (analyst handoff) - Meta Ads Manager counts view-through conversions under its "1-day view" setting; GA4 never counts view-through under any setting. - Attribution differs by construction: Meta claims a conversion on a 7-day click / 1-day view window against its own ads; GA4 assigns each purchase to one channel by last non-direct click with a 30-day lookback. - Auto-tagging was broken on Oct 12-13; an estimated 8 Meta-referred sessions landed without UTMs during the outage and were classified as Direct in GA4. - The store platform (source of truth for orders) recorded 118 completed purchases in the window. GA4 recorded 112 site-wide. Summing every ad platform's self-reported conversions (Meta plus the search and affiliate platforms) gives 149 claimed conversions. - No other diagnostics are available for this window. --- ## Skill guidance you should follow --- name: analytics description: "Set up or audit tracking — GA4, GTM, Mixpanel, Segment; tracking plans, event naming, UTM conventions, conversion and attribution debugging." metadata: version: 2.0.0 --- # Analytics Tracking You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before implementing tracking, understand: 1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements? --- ## Core Principles ### 1. Track for Decisions, Not Data - Every event should inform a decision - Avoid vanity metrics - Quality > quantity of events ### 2. Start with the Questions - What do you need to know? - What actions will you take based on this data? - Work backwards to what you need to track ### 3. Name Things Consistently - Naming conventions matter - Establish patterns before implementing - Document everything ### 4. Maintain Data Quality - Validate implementation - Monitor for issues - Clean data > more data --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.017 · 28.1s · 2.4k tok
# Analysis: Meta Attribution Disagreement ## (1) Meta Totals, Blended CPA, and ROAS **Meta Ads Manager (Oct 1–28):** | Metric | Value | |--------|-------| | Total Spend | $2,400.00 | | Total Conversions | 60 | | Total Revenue | $5,400.00 | | **Blended CPA** | $2,400 ÷ 60 = **$40.00** | | **Blended ROAS** | $5,400 ÷ $2,400 = **2.25x** | **By campaign:** - **ARC-Prospecting:** CPA = $1,500 ÷ 38 = $39.47; ROAS = $3,420 ÷ $1,500 = 2.28x - **ARC-Retargeting:** CPA = $900 ÷ 22 = $40.91; ROAS = $1,980 ÷ $900 = 2.20x **GA4 Paid Social (Meta) (Oct 1–28):** | Metric | Value | |--------|-------| | Sessions | 1,840 | | Conversions | 36 | | Revenue | $3,240.00 | | **CPA** | $2,400 ÷ 36 = **$66.67** | | **ROAS** | $3,240 ÷ $2,400 = **1.35x** | --- ## (2) Why the Sources Disagree: Documented Causes The tracking notes identify **three independent sources of disagreement**, each producing directional inflation in Meta's reported conversions: ### **A. View-Through Conversions (Meta-Only Counting)** Meta's "1-day view" setting counts view-through conversions—users who saw an ad but did not click it. GA4 explicitly does not count view-throughs under any attribution model. This means Meta is claiming credit for a category of purchase completion that GA4 cannot attribute to Meta at all. **Directional impact: increases Meta's conversion count relative to GA4.** ### **B. Attribution Window and Model Difference** - **Meta:** 7-day click / 1-day view window, multi-touch within that window - **GA4:** Last non-direct click with 30-day lookback, single-touch attribution A purchase attributed to Meta by its wider window may have occurred 8–30 days after Meta's 7-day window expired, or GA4 may assign it to a different channel because another ad/link was closer to conversion. **Directional impact: GA4's "last non-direct click" can shift Meta purchases to other channels or exclude them if Meta was not the final click.** ### **C. Auto-Tagging Outage (Oct 12–13)** UTM parameters were not appended to approximately 8 Meta-referred sessions during the outage. These sessions landed without tracking identifiers and were classified as Direct by GA4, but Meta's Ads Manager (which uses pixel-based, first-party tracking) still counted them as conversions. **Documented impact: 8 sessions misattributed to Direct in GA4 that Meta counted.** ### **D. Platform Reporting Total Mismatch (Broader Context)** The store recorded 118 actual completed purchases; GA4 sees 112 site-wide; but Meta + all ad platforms claim 149 conversions. This indicates systematic over-counting across all ad platforms, likely driven by view-through and multi-touch attribution. However, this does *not* prove which platform's claim is closest to truth for Meta specifically. --- ## (3) What Can Be Honestly Concluded About Meta-Attributed Purchases **Defensible lower bound (conservative, GA4-grounded):** - At minimum, GA4 attributed **36 purchases** to Paid Social (Meta), generating **$3,240** in revenue. - This represents last non-direct click within 30 days; it excludes view-throughs and earlier-funnel influence. - **This is a floor:** GA4 cannot see view-throughs, so it structurally undercounts assisted and view-driven purchases. **Defensible upper bound (Meta-reported):** - Meta claims **60 conversions** generating **$5,400** in revenue. - This includes view-throughs (which GA4 cannot measure) and multi-touch within its 7-day window. - **This is a ceiling:** It does not account for the outage misattribution or the broader 149-vs.-118 platform over-claiming. **Honest range:** Meta-attributed purchases likely fall between **36 and 60 conversions**. The true number depends on: - How many of Meta's 60 claimed conversions are view-throughs (GA4-invisible). - How many are multi-touch within the 7-day window but not the last click (GA4 assigns these elsewhere). - How many were driven by the Oct 12–13 outage (GA4 miscounts as Direct; Meta still counts). **What cannot be concluded:** - That Meta "printed money" (the ROAS of 2.25x) or that it did not (the ROAS of 1.35x). Both numbers are mathematically correct within their own attribution models; neither proves causation or isolates Meta's true incremental impact. - That either platform's conversion count is the "true" count. The 118 store transactions vs. 112 GA4 vs. 149 across all platforms suggests all platforms are overcounting via multi-touch and/or view-through. --- ## (4) Recommendation: Separable and Dependent Conclusions ### **A. Conclusions Robust to the Measurement Disagreement** These hold regardless of which attribution source you trust: 1. **GA4 clearly undercounts Meta's impact** because it excludes view-throughs by design. If view-through conversions are meaningful to your business (e.g., brand awareness → later purchase), Meta's number captures real behavior GA4 cannot see. 2. **The Oct 12–13 outage caused measurement error.** Eight sessions lost their UTM tracking and were classified as Direct by GA4. This is a known data quality issue, not an attribution philosophy difference. Correct for it: either remove Oct 12–13 from this analysis, or add 8 sessions back to Paid Social (Meta) in GA4 for a fairer comparison. 3. **Both sources show Meta generated revenue** (either $3,240 or $5,400), so dismissing Meta as ineffective is unsupported. The disagreement is about magnitude and attribution model, not viability. 4. **The blended spend was $2,400**, so cost-per-purchase fell between $40 and $66.67—both economically meaningful thresholds. Determine your acceptable CPA; if it's above $66.67, Meta passes either way; if it's below $40, you need to know which number is credible. ### **B. Conclusions That Depend on Which Source You Believe** These require a measurement choice: - **If you trust GA4's "last non-direct click" model:** Meta's true impact is closer to **36 conversions, $3,240 revenue, $66.67 CPA, 1.35x ROAS**. This assumes last-click drives conversion and earlier touches do not matter. - **If you trust Meta's multi-touch + view-through model:** Meta's impact is closer to **60 conversions, $5,400 revenue, $40.00 CPA, 2.25x ROAS**. This assumes view-throughs and multi-touch influence matter and should be credited. **Neither assumption is automatically correct.** Your business model determines which is defensible (e.g., high-consideration purchases may require multi-touch; direct-response may not). --- ## (5) Next Measurement Step **To break the tie and reduce defensible uncertainty, implement:** 1. **Server-side conversion tracking or clean room reconciliation:** - Export completed orders from your store (source of truth: 118 transactions in the window). - Match each to GA4 session_id and Meta CAPI event (if enabled). - Count how many store orders are claimed by each platform. - This gives you ground truth for what Meta and GA4 can actually see. 2. **Fix the auto-tagging outage:** - Audit Oct 12–13 traffic in GA4. Identify sessions classified as Direct that originated from Meta (check referrer logs if available). - Retroactively tag them with utm_source=meta or adjust GA4 data to reclassify them. - Recalculate GA4 Paid Social metrics; this will close part of the gap. 3. **Quantify view-through impact (optional but informative):** - In Meta Ads Manager, run a separate report with the attribution window set to "7-day click only" (no view-through). - Compare to your current "7-day click, 1-day view" report. - The difference isolates view-through's contribution; you can then decide if it aligns with your GA4-invisible users or is an artifact of attribution. 4. **Adopt a single attribution model for decision-making:** - Until reconciliation is complete, document which platform you are using to optimize (e.g., "we will pause campaigns below 1.5x ROAS as measured by GA4 last-click"), not which is "true." - This prevents whipsaw decision-making while measurement improves. --- **Bottom line:** Your analyst is right that the sources disagree, and your Meta report is right that it reported strong numbers—but both are correct by their own definitions. The disagreement is documented and explainable (view-throughs, attribution model, outage). Before making budget cuts or expansions, reconcile store transactions to each platform's claims. That will show you who is closest to ground truth and where to invest measurement next.
Score the judge's verdict, criterion by criterion9/9 criteria passed
RequirementVerdictEvidence
platform_oracle
Meta platform totals are correct: $2,400 spend, 60 reported conversions, $5,400 reported revenue, blended CPA of $40.00, and ROAS of 2.25.
✓The response states Total Spend $2,400, Total Conversions 60, Total Revenue $5,400, Blended CPA $40.00, Blended ROAS 2.25x, all shown with arithmetic.
ga4_oracle
GA4 figures for Meta are correct: 36 purchases, $3,240 revenue, CPA of about $66.67, and ROAS of 1.35 against the same $2,400 spend.
✓The response gives GA4 Paid Social (Meta) as 36 conversions, $3,240 revenue, CPA $66.67, ROAS 1.35x against the $2,400 spend.
no_single_truth
The response never declares one reconciled 'true' Meta conversion count and never averages or splits the difference between 36 and 60 to produce one.
✓The response presents an 'Honest range: Meta-attributed purchases likely fall between 36 and 60 conversions' rather than declaring one reconciled true number or averaging 36 and 60.
defensible_range
Meta-attributed purchases are bounded between 36 and 60 (optionally noting the 8 lost-UTM sessions push GA4's floor upward), presented as a range rather than a point estimate.
✓It explicitly frames the range as 36 (GA4 floor) to 60 (Meta ceiling) and discusses factors that could shift the estimate, presenting it as a range not a point estimate.
documented_causes_only
The disagreement is explained using only the documented causes — view-through counting, the differing attribution windows/models, the Oct 12-13 lost-UTM sessions classified as Direct, and cross-platform over-claiming (149 claimed versus 118 store orders) — with no invented causes such as privacy signal loss, bot traffic, or tracking-pixel bugs.
✓The explanation cites only view-through counting, differing attribution windows/models, the Oct 12-13 lost-UTM outage, and the 149-vs-118 cross-platform over-claiming, without inventing causes like bot traffic or pixel bugs.
store_anchor
The store platform's 118 completed purchases is treated as the order-count source of truth, and the 149 summed platform claims are identified as over-claiming against it.
✓The response states 'The store recorded 118 actual completed purchases... Meta + all ad platforms claim 149 conversions. This indicates systematic over-counting across all ad platforms,' treating 118 as the source-of-truth anchor.
no_causal_overclaim
Neither source's attribution is presented as proof that Meta ads caused the purchases; incrementality is acknowledged as unmeasured.
✓It explicitly says 'neither proves causation or isolates Meta's true incremental impact,' addressing that incrementality is unmeasured.
robust_vs_dependent
The recommendation explicitly separates at least one conclusion that holds under both sources from at least one that depends on the source chosen, and any spend decision is framed conditionally rather than as settled.
✓Section 4 is split into 'Conclusions Robust to the Measurement Disagreement' and 'Conclusions That Depend on Which Source You Believe,' with spend framed conditionally (e.g., 'if it's above $66.67, Meta passes either way').
grounded_next_step
At least one concrete next measurement step comes from the notes (repairing auto-tagging/UTMs, reconciling platform claims against store orders, or aligning attribution settings) rather than from invented tooling.
✓It recommends reconciling store orders against platform claims and fixing the Oct 12-13 auto-tagging outage, both grounded in the tracking notes.