← Run 20261118-175617-f3bfc2f3
Pre-Q4 tracking audit against the documented standards
task tracking-auditNov 18, 2026Models on marketing tasks + Marketing Skillsskill analytics

Answers & verdicts

Claude Sonnet 5.5 high effort

Task failed
Task the exact prompt the model was given — assignment, source material, and skill guidance
Loam & Ledger (DTC home goods, Shopify, GA4 via GTM, Meta/Google/TikTok/Klaviyo) has engaged you to audit their tracking before Q4 budgets unlock. You are supplied their documented measurement standards, the full list of live campaign links, a summary of the GTM container, and a memo of unexplained symptoms. Deliver the audit report. For every defect you find: name exactly where it is (which link, tag, trigger, or setting), why it is wrong (against the standards or against correct measurement practice), the measurement or compliance impact — connecting it to the reported symptoms where the evidence supports it — and the concrete fix. Order findings by impact. Close with a short list of what you checked and found clean, so the team knows what they can trust. Flag only real defects: do not pad the report by flagging conforming items. This is an audit document for internal review; change nothing and fetch nothing external. --- ## Supplied source: tracking_standards.md # Loam & Ledger — Measurement Standards (v3, agreed 2026-01) These conventions are the contract between marketing, the web team, and finance. Every live link and every tag change is supposed to conform. ## UTM conventions - All UTM parameter values are **lowercase**, always. - `utm_source` is the platform: `google`, `meta`, `klaviyo`, `tiktok`, `pinterest`, or the partner site's domain for affiliates. (Historical note: we standardized on `meta` — not `facebook` — in v2.) - `utm_medium` is one of exactly: `cpc`, `paidsocial`, `email`, `affiliate`, `organicsocial`. - `utm_campaign` format: `<year>q<quarter>-<line>-<goal>`, hyphen-separated, no spaces, e.g. `2026q3-linen-prospecting`. Campaigns run for the `ca.` storefront append the market suffix `-ca` (e.g. `2026q3-linen-prospecting-ca`). - Every parameter appears at most once per URL. - All destination URLs are `https://` on `www.loamandledger.com` (or the `ca.` storefront). ## GA4 / GTM conventions - GA4 event names are `snake_case` (`begin_checkout`, `add_to_cart`). - Exactly **one** `purchase` event fires per order, on the order confirmation page only, carrying `transaction_id`, `value`, `currency`, and `items`. - `currency` reflects the order's actual currency. The `ca.` storefront transacts in CAD. - Ecommerce values are order totals net of tax and shipping. ## Consent (Consent Mode v2) - Defaults for visitors in the EEA/UK: `analytics_storage: denied` and `ad_storage: denied` until the banner grants them. - Defaults elsewhere: both granted. - Tags must respect consent state; no consent-exempt duplicates. --- ## Supplied source: active_links.csv channel,destination_url,notes google-search,https://www.loamandledger.com/collections/linen?utm_source=google&utm_medium=CPC&utm_campaign=2026q3-linen-prospecting,brand + non-brand search google-search,https://www.loamandledger.com/collections/ceramics?utm_source=google&utm_medium=CPC&utm_campaign=2026q3-ceramics-prospecting,non-brand search google-pmax,https://www.loamandledger.com/collections/new?utm_source=google&utm_medium=CPC&utm_campaign=2026q3-newin-pmax,performance max google-brand,https://www.loamandledger.com/?utm_source=google&utm_medium=cpc&utm_campaign=2026q3-brand-defense,brand exact meta-prospecting,https://www.loamandledger.com/collections/linen?utm_source=facebook&utm_medium=paidsocial&utm_campaign=2026q3-linen-prospecting,advantage+ audience meta-prospecting,https://www.loamandledger.com/collections/table?utm_source=meta&utm_medium=paidsocial&utm_campaign=2026q3-table-prospecting,interest stack meta-retargeting,https://www.loamandledger.com/collections/bestsellers?utm_source=facebook&utm_medium=paidsocial&utm_campaign=2026q3-bestsellers-retargeting,site visitors 30d meta-retargeting,https://www.loamandledger.com/cart?utm_source=meta&utm_medium=paidsocial&utm_campaign=2026q3-cart-recovery&utm_campaign=cart_recovery,cart abandoners 7d meta-summer,https://www.loamandledger.com/collections/summer?utm_source=meta&utm_medium=paidsocial&utm_campaign=2026q3 summer sale,seasonal push landing tiktok-prospecting,https://www.loamandledger.com/collections/linen?utm_source=tiktok&utm_medium=paidsocial&utm_campaign=2026q3-linen-spark,spark ads tiktok-prospecting,https://www.loamandledger.com/collections/ceramics?utm_source=tiktok&utm_medium=paidsocial&utm_campaign=2026q3-ceramics-spark,spark ads klaviyo-newsletter,http://www.loamandledger.com/collections/new?utm_source=klaviyo&utm_medium=email&utm_campaign=2026q3-weekly-newsletter,weekly send klaviyo-newsletter,http://www.loamandledger.com/collections/bestsellers?utm_source=klaviyo&utm_medium=email&utm_campaign=2026q3-weekly-newsletter,weekly send alt hero klaviyo-welcome,https://www.loamandledger.com/collections/starter?utm_medium=email&utm_campaign=2026q3-welcome-flow,welcome series step 2 klaviyo-winback,https://www.loamandledger.com/collections/new?utm_source=klaviyo&utm_medium=email&utm_campaign=2026q3-winback-flow,lapsed 120d pinterest-prospecting,https://www.loamandledger.com/collections/table?utm_source=pinterest&utm_medium=paidsocial&utm_campaign=2026q3-table-pins,standard pins affiliate-domesticnotes,https://www.loamandledger.com/collections/linen?utm_source=domesticnotes.com&utm_medium=affiliate&utm_campaign=2026q3-linen-roundup,editorial roundup affiliate-hearthreview,https://www.loamandledger.com/collections/ceramics?utm_source=hearthreview.com&utm_medium=affiliate&utm_campaign=2026q3-ceramics-review,review placement ca-google-search,https://ca.loamandledger.com/collections/linen?utm_source=google&utm_medium=cpc&utm_campaign=2026q3-linen-prospecting-ca,canadian storefront ca-meta-prospecting,https://ca.loamandledger.com/collections/linen?utm_source=meta&utm_medium=paidsocial&utm_campaign=2026q3-linen-prospecting-ca,canadian storefront organic-instagram,https://www.loamandledger.com/collections/new?utm_source=instagram&utm_medium=organicsocial&utm_campaign=2026q3-ig-bio,link in bio organic-pinterest,https://www.loamandledger.com/collections/table?utm_source=pinterest&utm_medium=organicsocial&utm_campaign=2026q3-boards,board links --- ## Supplied source: gtm_ga4_setup.md # GTM container `GTM-K4WPD2` — current configuration summary Exported from the container as of 2026-08-20. One web container serves both `www.loamandledger.com` and `ca.loamandledger.com`. ## Tags **1. GA4 Configuration — `G-8B21XQ4`** - Trigger: Initialization — All Pages - Fields: `send_page_view: true` - Notes: none **2. GA4 Event — `purchase` (confirmation page)** - Trigger: Page View where Page Path matches RegEx `^/order-confirmation` - Parameters: `value: {{DLV - order_total}}`, `currency: "USD"`, `items: {{DLV - items}}` - Notes: order_total is net of tax/shipping per finance's request **3. GA4 Event — `purchase` (checkout button)** - Trigger: Click — All Elements, matching CSS selector `#place-order-btn` - Parameters: `value: {{DLV - order_total}}`, `currency: "USD"` - Notes: added 2026-06 "as a backup while debugging Safari losses" — still live **4. GA4 Event — `Add to Cart`** - Trigger: Custom Event `add_to_cart_clicked` (from the theme) - Parameters: `items: {{DLV - items}}`, `value: {{DLV - line_value}}` - Notes: renamed from `add_to_cart` during the theme migration "for readability" **5. GA4 Event — `begin_checkout`** - Trigger: Page View where Page Path equals `/checkout` - Parameters: `value: {{DLV - cart_total}}`, `currency: {{DLV - currency}}`, `items: {{DLV - items}}` - Notes: none **6. Meta Pixel — base + purchase** - Base code: All Pages. Purchase event: same RegEx trigger as tag 2. - Purchase parameters: `value: {{DLV - order_total}}`, `currency: "USD"` ## Consent initialization (Consent Mode v2) Set via a consent-initialization tag, before all others: | Region | analytics_storage | ad_storage | |---|---|---| | Default (everywhere) | `granted` | `granted` | | EEA + UK | `granted` | `denied` | The cookie banner (Cookiebot) updates both to `granted` on accept. ## Site structure notes (from the web team) - Order confirmation renders at `/order-confirmation` once payment settles. - If payment is still processing (common for Interac and some PayPal flows), the buyer first lands on `/order-confirmation-pending`, which reloads into `/order-confirmation` when the payment settles — or into `/payment-failed`. - The `ca.` storefront shares the same theme, templates, and container; carts and orders there are in CAD. --- ## Supplied source: analytics_notes.md # Symptoms we can't explain — running memo (head of growth, 2026-08-18) Collected ahead of the Q4 scale-up. These are observations, not diagnoses. - **Purchase counts disagree everywhere.** Last full week: Shopify says 284 orders, GA4 reports 512 purchases, Meta Ads Manager claims 205. GA4 being ~80% above Shopify is new since early June. - **GA4 shows purchases on days with payment incidents.** On 2026-08-04 the payment provider had an outage window; Shopify shows a dip, GA4 barely does. Finance also notes GA4 "revenue" ran ahead of settled revenue that week. - **Email looks broken in GA4.** Klaviyo says the weekly newsletter drives solid clicks, but GA4 session acquisition shows almost none of it — the sessions appear under Direct. Flows (welcome, winback) attribute fine. - **Canadian revenue looks inflated.** Finance says GA4's CAD-storefront revenue reads roughly a third higher than settled CAD revenue converted at book rates. US-storefront revenue reconciles fine. - **Paid search splits oddly.** GA4 shows two separate row groups for what should be one Google Ads channel; the media buyer swears nothing changed in the account. - **Add-to-cart reporting went quiet.** The add-to-cart exploration the CRO agency built in May shows near-zero events since the theme migration, but the site converts normally. - **Legal flagged us.** Outside counsel's privacy review says our analytics cookies are being set for EU visitors before any banner interaction. We told them we run Consent Mode; they stand by the finding. - **Cart recovery reporting is unreadable.** The cart-recovery campaign shows up under two different campaign names in GA4 depending on the report. Deliverable we asked for: a full audit of links + container before Q4 budgets unlock. Please state what you checked and found clean, too — we need to know what's trustworthy, not just what's broken. --- ## 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. Rate metrics divide matching closed windows — never full-period spend by partial-period results." metadata: version: 2.2.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 ### 5. Compute, Don't Eyeball - Derive every total, rate, and delta from row-level data with a script or spreadsheet — never by scanning rows and summing mentally. One silently dropped row corrupts every figure downstream of it. - Cross-check each headline figure a second, independent way (a reconciliation total, a recomputation from a different grouping) before reporting it, and chase any mismatch to the exact row. - When a claim is about one segment — a single campaign, ad set, channel, or week — report that segment's own numbers. Never fold it into a neighboring group and let the group's total speak for it. ### 6. Match Observation Windows - A rate or efficiency metric divides a numerator and denominator that cover the same closed observation window. Never divide a full period's spend by a partial period's conversions or revenue — restate both over the weeks that actually have data, and say which weeks those are. - Cohort rates use only cohorts whose observation window has ended. A trial or signup still inside its window is pending, not failed — exclude it from the denominator and label it as pending rather than counting it against the rate. ### 7. Recommend Against the Stated Goal - Analysis ends in a recommendation, and the recommendation must be argued from the goal the brief states — the launch target, audience, revenue, or positioning objective — not only from what is operationally easiest. Name which stated goal each option serves and what it trades away. --- ## 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
✗ Attempt 1
Answer · attempt 1 the model's full response$0.25 · 124.5s · 17.3k tok
# Loam & Ledger: Tracking Audit Report (pre-Q4) **Scope:** 22 live links in `active_links.csv`, GTM container `GTM-K4WPD2` (export dated 2026-08-20), the v3 measurement standards, and the 2026-08-18 symptom memo. **Method:** I checked every link by script against the standards (lowercase, source list, medium list, campaign format, `-ca` suffix, duplicate parameters, scheme and host). I read the container configuration against the standards and GA4/GTM practice. Nothing was changed or fetched. Anything I couldn't confirm from the supplied material is listed at the end as unverified, not as a defect. **Summary:** There are 12 findings, 6 in the container and 6 in the links. 10 of 22 links have a defect. The container defects explain 7 of the 8 reported symptoms. The eighth, the split in Google Ads paid search, comes from link casing. | # | Finding | Severity | Symptom explained | |---|---|---|---| | 1 | Backup `purchase` tag fires on checkout-button click | Critical | GA4 purchases +80% vs Shopify; outage-day behaviour | | 2 | EEA/UK `analytics_storage` defaults to `granted` | Critical (compliance) | Legal finding | | 3 | `currency` hard-coded to `"USD"` on purchase tags | High | Canadian revenue about a third high | | 4 | Purchase trigger regex also matches `/order-confirmation-pending` | High | Purchase counts; outage-day behaviour | | 5 | Purchase events carry no `transaction_id` (and Meta no `event_id`) | High | Purchase counts | | 6 | Newsletter links use `http://` | High | Email appearing as Direct | | 7 | GA4 event named `Add to Cart` (and no `currency`) | Medium | Add-to-cart reporting went quiet | | 8 | `utm_medium=CPC` on three Google links | Medium | Paid search split | | 9 | Duplicate `utm_campaign` on the cart-recovery link | Medium | Two cart-recovery names | | 10 | `utm_source=facebook` on two Meta links | Medium | Meta rows split (not in memo) | | 11 | Welcome flow link has no `utm_source` | Low–Medium | Not in memo | | 12 | Summer link campaign contains spaces and breaks the format | Low–Medium | Not in memo | --- ## Findings, ordered by impact ### 1. Backup `purchase` tag fires on the checkout button click (Critical) - **Where:** Tag 3, "GA4 Event — `purchase` (checkout button)". Trigger is Click — All Elements on `#place-order-btn`. It was added 2026-06 "as a backup" and is still live. - **Why it's wrong:** The standards require exactly one `purchase` per order, on the confirmation page only, carrying `transaction_id`, `value`, `currency` and `items`. This tag breaks each part of that: - It fires on a button click, before payment is known to have succeeded. - It fires again on every retry or failed attempt. - It sends no `transaction_id` and no `items`. - It sends a hard-coded currency (see #3). - **Impact:** Every order can generate two purchase events, one at the click and one on the confirmation page. Failed and abandoned payments also count as purchases. - **Purchase count:** GA4 shows 512 purchases against 284 Shopify orders. That is 1.80×, or 228 surplus events (45% of GA4's total). The excess began in early June, when this tag was added. - **Payment outage on 2026-08-04:** Shoppers still clicked "place order" while payment was failing. GA4 kept counting purchases and barely dipped, while Shopify dipped. - **Revenue ahead of settled:** This explains why finance saw GA4 revenue ahead of settled revenue that week, if the tag carries a value at click time (see "could not verify"). - **Downstream:** Any GA4 conversion import into Google Ads inherits the inflation. That inflates reported ROAS and trains bidding on non-orders. - **Fix:** Pause the tag, confirm in Preview that Tag 2 fires once per settled order, then delete Tag 3. The Safari losses it was meant to cover need a proper fix. Use a server-side or Shopify-native purchase event deduplicated on `transaction_id`, not a click proxy. ### 2. EEA/UK `analytics_storage` defaults to `granted` (Critical, compliance) - **Where:** Consent initialization tag, "EEA + UK" row: `analytics_storage: granted`. - **Why it's wrong:** The standards require `analytics_storage: denied` and `ad_storage: denied` for EEA/UK visitors until the banner grants them. Only `ad_storage` is set correctly. The "Default (everywhere)" row of `granted/granted` is correct for the rest of the world and should stay. - **Impact:** GA4 cookies are set for EU/UK visitors before any banner interaction. This is exactly outside counsel's finding. "We run Consent Mode" is true, but it is configured to allow analytics. It is a live regulatory exposure, and counsel is already aware of it. - **Fix:** Change the EEA + UK default to `analytics_storage: denied`, keeping `ad_storage: denied`. Keep Cookiebot's update-to-granted on accept. Then test from an EU IP with a clean browser profile. Confirm that no `_ga*` cookies are set before consent and that `gcs=G100` appears on the GA4 hits. ### 3. `currency` hard-coded to `"USD"` on the purchase tags (High) - **Where:** Tag 2 (`purchase` on confirmation), Tag 3 (`purchase` on click), and Tag 6 (Meta purchase). All three have `currency: "USD"`. - **Why it's wrong:** The standards say `currency` reflects the order's actual currency, and `ca.` transacts in CAD. One container serves both storefronts, so CAD order values are reported as USD. Tag 5 (`begin_checkout`) already uses `{{DLV - currency}}`, so the variable exists. - **Impact:** - **GA4 CA revenue:** A CAD amount labelled USD is overstated by about 1 ÷ 0.73 ≈ 1.37× (my assumed rate of about 0.73 USD per CAD). That matches finance's "roughly a third higher" CAD revenue. US revenue is unaffected, as finance observed. - **Meta:** Meta receives the same wrong currency, so Canadian conversion value and ROAS are overstated there too. - **Fix:** Set `currency: {{DLV - currency}}` on Tags 2 and 6. Confirm the data layer populates it on the confirmation page for both storefronts. Test one CA order and check that DebugView shows CAD. ### 4. Purchase trigger regex also matches the pending page (High) - **Where:** Tag 2 and Tag 6 trigger, Page Path matches RegEx `^/order-confirmation`. - **Why it's wrong:** The regex has no end anchor, so it also matches `/order-confirmation-pending`. The standards require purchase on the order confirmation page only. The web team's notes say the pending page appears for Interac and some PayPal flows. It later reloads into `/order-confirmation`, or into `/payment-failed`. - **Impact:** - **Double count:** Pending-flow orders fire purchase on the pending page and again on settlement. - **Never-settled orders:** Orders that end in `/payment-failed` are still counted as purchases. - **Meta:** Tag 6 shares the trigger, so Meta's pixel carries the same errors. - **CA exposure:** The pending flow is "common" for Interac, so Canadian traffic is especially affected. - **Outage:** This contributes to the 2026-08-04 behaviour. - **Fix:** Change the regex to `^/order-confirmation/?$`, or use Page Path equals `/order-confirmation`. Fire purchase only after settlement, never on `-pending`. ### 5. No deduplication key on purchase events (High) - **Where:** Tag 2 parameters (`value`, `currency`, `items`, with no `transaction_id`). Tag 6 sends no `event_id`. - **Why it's wrong:** The standards require `transaction_id` on every purchase. Without it, GA4 can't deduplicate repeat fires. Repeats come from page reloads, revisits from an email link, the pending-to-confirmed reload (#4), and the backup tag (#1). Meta can't deduplicate either. - **Impact:** Every duplicate fire in #1 and #4 becomes a counted purchase. This is the safety net that should have contained the problem, and it is missing. - **Fix:** Add `transaction_id: {{DLV - transaction_id}}` to Tag 2, and use the same ID as Meta's `event_id` in Tag 6. If the data layer doesn't expose the order ID, ask the web team to add it. ### 6. Newsletter links use `http://` (High) - **Where:** Both `klaviyo-newsletter` rows: `http://www.loamandledger.com/collections/new?...` and `http://www.loamandledger.com/collections/bestsellers?...`. - **Why it's wrong:** The standards require `https://` on `www.loamandledger.com`. - **Impact:** These two links are the only Klaviyo links on `http`. The welcome and winback flows use `https` and attribute correctly, while the newsletter sessions land in Direct. That pattern fits the `http`→`https` redirect dropping the query string, so the UTMs are lost before GA4 reads them. The weekly send is likely the largest email driver, so email's contribution is understated and Direct overstated. Budget decisions made on that data would be wrong. - **Fix:** Change both links to `https://`. Also fix the redirect, or ask the web team whether it preserves query strings. Send a test email to confirm the UTMs survive, then check Realtime or DebugView for `klaviyo / email`. - **Caveat:** I couldn't test the redirect (nothing external fetched). The redirect mechanism is inferred from the evidence, but the `http` links are a defect regardless. ### 7. GA4 event named `Add to Cart`, with no `currency` (Medium) - **Where:** Tag 4, event name `Add to Cart`. It is triggered by the Custom Event `add_to_cart_clicked` and has parameters `items` and `value` only. - **Why it's wrong:** - **Name:** Standards require `snake_case` event names, and the GA4 recommended ecommerce event is `add_to_cart`. The tag was renamed "for readability" during the theme migration. - **Currency:** The tag sends `value` without `currency`. GA4 needs `currency` alongside `value` to process monetary values. - **Impact:** GA4's ecommerce reports, funnels and the CRO agency's exploration key on `add_to_cart`. They see near-zero events since the migration, which is the memo's symptom. Add-to-cart audiences and funnel steps are also affected. The `add_to_cart_clicked` trigger name is fine. - **Fix:** Rename the tag's event to `add_to_cart` and add `currency: {{DLV - currency}}`. Past data will remain under `Add to Cart` and won't backfill, so note the break in series. The old and new names can't be merged retroactively. ### 8. `utm_medium=CPC` in uppercase on three Google links (Medium) - **Where:** `google-search` linen, `google-search` ceramics, and `google-pmax` (`collections/new`). The other Google links (brand defense and the CA link) use `cpc`. - **Why it's wrong:** Standards require all UTM values lowercase, and `cpc` is the only valid paid-search medium. - **Impact:** GA4 treats UTM values as case-sensitive. Search and PMax traffic lands in separate `google / CPC` and `google / cpc` rows, which is the "two row groups" the media buyer sees. Nothing changed in the account; the casing was in the links. If auto-tagging is on, this may also produce a split between auto-tagged and manually tagged rows (unverified). Campaign performance for Search and PMax is fragmented in reports. - **Fix:** Change `CPC` to `cpc` on all three. Old `CPC` history stays split. Report the two together for any date range that spans the change. ### 9. Duplicate `utm_campaign` on the cart-recovery link (Medium) - **Where:** `meta-retargeting` cart link (`/cart?...`) carries `utm_campaign=2026q3-cart-recovery&utm_campaign=cart_recovery`. - **Why it's wrong:** Standards say every parameter appears at most once per URL. The second value (`cart_recovery`) also breaks the campaign format (underscore, no year/quarter). - **Impact:** The campaign appears under two names in GA4 depending on the report, which is the memo's symptom. The retargeting results for this audience are split and hard to read. - **Fix:** Keep one value, `2026q3-cart-recovery`, and remove `utm_campaign=cart_recovery`. Report the two old names together for the past period. ### 10. `utm_source=facebook` on two Meta links (Medium) - **Where:** `meta-prospecting` linen (`2026q3-linen-prospecting`) and `meta-retargeting` bestsellers (`2026q3-bestsellers-retargeting`). - **Why it's wrong:** Standards say `meta`, not `facebook`, since v2. The two other Meta links (table prospecting and cart) are correct. - **Impact:** Meta traffic is split across `facebook / paidsocial` and `meta / paidsocial`. Source-level Meta totals are understated, and the Meta linen campaign can't be compared cleanly with Google linen. This wasn't in the memo, but it will show in any Meta source report. - **Fix:** Change `facebook` to `meta` on both links. Report old and new together for transition periods. ### 11. Welcome-flow link has no `utm_source` (Low–Medium) - **Where:** `klaviyo-welcome`: `collections/starter?utm_medium=email&utm_campaign=2026q3-welcome-flow`. - **Why it's wrong:** Standards require `utm_source` to be the platform (`klaviyo`). It is absent here. The other Klaviyo links have it. - **Impact:** The memo says the flow "attributes fine." That is probably true at channel level, because the medium `email` is enough for the Email channel. But source/medium reports won't show `klaviyo / email` for this step, and reconciling GA4 against Klaviyo by source will miss it. It's easy to overlook because the headline channel looks right. - **Fix:** Add `utm_source=klaviyo`. ### 12. Summer-sale campaign name contains spaces and breaks the format (Low–Medium) - **Where:** `meta-summer`: `utm_campaign=2026q3 summer sale`. - **Why it's wrong:** Standards say no spaces and a hyphen-separated `<year>q<quarter>-<line>-<goal>` format. The value uses spaces instead of hyphens. - **Impact:** Raw spaces in a URL are fragile. Depending on how the ad platform encodes them, the campaign may appear as `2026q3%20summer%20sale`, `2026q3+summer+sale`, or truncated. It won't group with the rest of the Q3 structure. The seasonal push landing page will be hard to find in reports. - **Fix:** Use `2026q3-summer-sale` (or a goal such as `-prospecting`, whichever fits). --- ## Checked and found clean (you can trust these) **Links (12 of 22 fully conforming):** - `google-brand` (`cpc`, brand-defense campaign). - `meta-prospecting` table (`meta`, `paidsocial`). - Both TikTok links (`tiktok / paidsocial`, spark campaigns). - Klaviyo winback (`https`, source, medium and campaign all correct). - Pinterest paid (`pinterest / paidsocial`). - Both affiliate links (partner domain as source, `affiliate` medium). - Both CA links: `ca.` host, `-ca` campaign suffix, and correct source and medium. - Both organic links, with two standards observations below. - Across all 22 links: every host is `www.` or `ca.loamandledger.com`, and there are no duplicate parameters other than the one in #9. **Standards observations (not counted as defects):** - `utm_source=instagram` on the organic Instagram link isn't on the standards' source list, though it's a real platform. The standards need an explicit rule, or the link should use `meta`. - `2026q3-boards` has only one descriptor after the quarter, not line plus goal. This is strictly short of the format. Fix both only if you want the strictest reading. **Container:** - Tag 1, GA4 Configuration: Initialization trigger and `send_page_view: true`. Consent initialization runs before it. - Tag 2, `value`: `{{DLV - order_total}}` is net of tax and shipping, matching the standards and finance's request. `items` is present. - Tag 5, `begin_checkout`: `snake_case` name, `currency` taken from the data layer, and `items` and `value` present. - Consent defaults outside the EEA/UK (`granted` / `granted`) and EEA `ad_storage: denied`, per the standards. Cookiebot's update to `granted` on accept is correct. - One container for both storefronts is acceptable, and the CA storefront's sessions, UTMs and `-ca` naming are consistent. - **Meta Ads Manager 205 vs Shopify 284:** Meta reports only the orders it attributes, so being below Shopify is expected and isn't a defect. Its inputs are still polluted by #3, #4 and #5. ## Could not verify from supplied material (not flagged as defects) 1. **Tag 3 consent settings:** it's unclear whether it respects consent or is a "consent-exempt duplicate". Check in GTM. Deleting it resolves this. 2. **Meta Pixel in the EEA/UK:** the summary shows no consent gating (for example, requiring `ad_storage`). Meta's pixel doesn't follow Google Consent Mode automatically. Confirm that EEA/UK visitors don't fire it before consent. 3. **Tag 3's `value` at click time:** `{{DLV - order_total}}` may be empty at that moment. This matters because finance reports that US-storefront revenue reconciles even though US purchase counts are doubled. That can only be true if the duplicate carries little or no value. If it does carry value, the "reconciles fine" check needs re-running. Check in DebugView. 4. **Whether the data layer exposes `transaction_id` and `currency`** on the confirmation page for both storefronts. 5. **The `http`→`https` redirect:** whether it strips query strings. Test it. 6. **Google Ads auto-tagging status:** it affects exactly how the split in #8 shows up. ## Suggested remediation order 1. **Before any Q4 budget moves:** delete Tag 3 (#1), fix the EEA consent default (#2), and fix the USD currency (#3). 2. **Same container publish:** fix the regex, add `transaction_id`/`event_id` and rename the add-to-cart event (#4, #5, #7). 3. **Link edits (one batch):** the `http` links first (#6), then the other link fixes (#8–#12). 4. **After publishing:** reconcile one clean week of GA4 purchases against Shopify, expecting roughly one-to-one. Do a separate check of CAD revenue, and note the series break dates for the old data.
Score · attempt 1 the judge's verdict, criterion by criterion19/20 criteria passed · failed: clean_findings_supported
RequirementVerdictEvidence
covers_all_sources
The audit addresses all supplied artifacts: the campaign links, the GTM/GA4 tag configuration, and the consent setup (a clean-bill mention counts as addressing an artifact).
✓The report covers all 22 links, the GTM tags 1-6, and the consent initialization table, with clean-bill mentions for items that conform.
findings_located
Each reported defect names its specific location — the exact link/channel, tag, trigger, or setting — precisely enough that an engineer could act without re-deriving the audit.
✓Each finding has a 'Where' line naming the tag number, trigger, consent row, or link channel plus URL (e.g. 'Tag 3 ... Click — All Elements on #place-order-btn', 'klaviyo-welcome').
finds_uppercase_medium
Flags the uppercase utm_medium=CPC values on the two google-search links as violating the lowercase standard and fragmenting paid-search reporting.
✓Finding 8 flags utm_medium=CPC on both google-search links as violating lowercase and splitting 'google / CPC' from 'google / cpc' rows.
finds_uppercase_medium_pmax
Also flags the google-pmax link's uppercase utm_medium=CPC (the same defect on the Performance Max campaign, not only on the search campaigns).
✓Finding 8 explicitly lists 'google-pmax (collections/new)' as a third link with uppercase CPC.
finds_missing_source
Flags the klaviyo-welcome link as missing utm_source entirely.
✓Finding 11 flags klaviyo-welcome as missing utm_source and says to add utm_source=klaviyo.
finds_meta_source_inconsistency
Flags that some Meta links use utm_source=facebook while the standard (and other links) use utm_source=meta, splitting Meta reporting.
✓Finding 10 flags utm_source=facebook on the meta-prospecting linen and meta-retargeting bestsellers links against the 'meta' standard, and notes the split Meta rows.
finds_campaign_spaces
Flags the meta-summer link's utm_campaign value ('2026q3 summer sale') for containing spaces / violating the hyphenated campaign format.
✓Finding 12 flags utm_campaign='2026q3 summer sale' on meta-summer for spaces and breaking the hyphenated format.
finds_duplicate_purchase_firing
Identifies that purchase fires from two live tags (the confirmation-page tag and the place-order button-click tag), double-counting purchases, and connects this to GA4 reporting far more purchases than Shopify.
✓Finding 1 identifies Tag 3's click-triggered purchase alongside Tag 2 as double-counting and links it to GA4's 512 purchases vs Shopify's 284 (1.80×).
finds_missing_transaction_id
Identifies that the GA4 purchase tags omit the transaction_id parameter required by the standards, so duplicate purchase events cannot be deduplicated.
✓Finding 5 states the purchase tags carry no transaction_id, so GA4 cannot deduplicate, and gives a fix of adding {{DLV - transaction_id}}.
finds_hardcoded_currency
Identifies that purchase currency is hardcoded to USD while the ca. storefront transacts in CAD, and connects this to the inflated Canadian revenue.
✓Finding 3 flags currency hard-coded to "USD" on Tags 2, 3 and 6 while ca. transacts in CAD, and ties it to the roughly one-third inflated Canadian revenue.
finds_consent_default
Identifies that analytics_storage defaults to granted for EEA/UK visitors, violating the documented Consent Mode defaults, and connects this to the legal/privacy finding.
✓Finding 2 flags the EEA + UK row's analytics_storage: granted as violating the standard and matching outside counsel's finding.
finds_http_links
Flags the two http:// newsletter links as violating the https standard and identifies possible attribution loss as relevant to newsletter traffic landing in Direct. The actual redirect/query-string behavior is not supplied: a plausible mechanism to verify is sufficient; do not require claiming the redirect cause is proven.
✓Finding 6 flags both http:// newsletter links and links them to email landing in Direct, framing the query-string-dropping redirect as inferred and untested.
finds_event_name_casing
Flags the 'Add to Cart' event name (spaces, not snake_case) as violating the naming standard and explains the add-to-cart reporting going quiet after the rename.
✓Finding 7 flags the 'Add to Cart' event name as non-snake_case and explains that reports keyed on add_to_cart go near-zero after the rename.
finds_duplicate_campaign_param
Flags the cart-recovery link carrying utm_campaign twice with different values, and ties it to the cart-recovery campaign appearing under two names.
✓Finding 9 flags the cart link carrying utm_campaign twice (2026q3-cart-recovery and cart_recovery) and ties it to the two campaign names in GA4.
finds_pending_page_regex
Identifies that the purchase trigger RegEx ^/order-confirmation also matches /order-confirmation-pending, so purchases fire for unsettled payments, and connects this to the payment-outage / revenue-runs-ahead symptoms.
✓Finding 4 notes ^/order-confirmation has no end anchor and also matches /order-confirmation-pending, so purchases fire for unsettled or failed payments, and links this to the outage behaviour.
no_false_positives
No actually conforming item is reported as defective. Examples of clean items are google-brand, begin_checkout, tiktok-prospecting, pinterest-prospecting, the affiliate links, and the ca-storefront UTMs. Assess the specific parameter against the supplied standard, not the platform label: organic-pinterest has campaign 2026q3-boards, which lacks the required line/goal component, so flagging that naming defect is valid. The organic-instagram source is also absent from the documented source list; identifying that inconsistency is not a false positive. Do not penalize additional evidence-supported findings merely because they lack a separate rubric criterion.
✓The flagged items (links, Tag 3, the consent row, the USD currency, the regex, the missing transaction_id, the Add to Cart name) are all genuine, and the extra points (missing currency on add-to-cart, Meta event_id) are evidence-supported; the conforming items are not flagged.
fix_per_finding
Every reported defect comes with a concrete, implementable fix (what to change, not 'review this').
✓Each of the 12 findings has a concrete fix, such as changing the regex to '^/order-confirmation/?$', setting currency to {{DLV - currency}}, and renaming the event to add_to_cart.
impact_prioritized
Findings are ordered or tiered by measurement/compliance impact throughout the report: purchase firing, missing transaction IDs/deduplication, currency and consent issues outrank cosmetic campaign naming. Check the actual placement of each high-impact defect, not just the names of priority tiers.
✓Findings run from the duplicate purchase tag, consent default, currency, regex and transaction_id down to cosmetic UTM naming (#8-#12), with severity labels matching.
clean_findings_supported
The closing clean-bill list is present and each item certified compliant actually conforms to all relevant supplied standards. A correct check of one parameter does not justify certifying the whole link or tag clean. Organic Instagram has a source outside the documented allowed list; organic Pinterest campaign 2026q3-boards lacks the required third component. Explicitly scoped statements about a conforming parameter are allowed; labeling either entire link fully compliant fails.
✗The clean list is headed 'Links (12 of 22 fully conforming)' and includes 'Both organic links', even though the instagram source is off the allowed list and 2026q3-boards lacks the line-goal format, so it certifies them as fully conforming.
causal_claims_supported
Assertions of cause, actual vendor behavior and timing are supported by the supplied evidence. Distinguish known configuration defects and observed symptoms from mechanisms requiring verification. Do not assert an unobserved redirect configuration or trace, the exact cause of every symptom, or a connection between one period's totals and a separately dated outage as proven. A proposed check of possible server/CDN implementations is not by itself an assertion that a named vendor is deployed; conditional examples and verification steps are allowed. Quote an actual unsupported factual assertion to fail this criterion, not merely a vendor mentioned as something to investigate.
✓Causal claims are mostly hedged (redirect 'inferred', the tag's value at click time under 'could not verify', an assumed 0.73 rate), though the outage-day link is asserted fairly firmly and 'container defects explain 7 of the 8 symptoms' is loosely worded.
✓ Attempt 2
Answer · attempt 2 the model's full response$0.25 · 127.1s · 17.8k tok
I'll lint every link with a script and recompute the headline figures before writing the report.# Loam & Ledger: Tracking Audit Report (pre-Q4) **Scope:** 22 live links in `active_links.csv`, GTM container `GTM-K4WPD2` (export dated 2026-08-20), measured against Measurement Standards v3 and the growth memo of 2026-08-18. This is a read-only review. Nothing was changed and nothing external was fetched. **Method:** I linted every link with a script (case, source and medium vocabulary, campaign format, duplicate parameters, scheme and host, `-ca` suffix). I reviewed the container by hand. I recomputed the memo's headline figures. - GA4's 512 purchases against Shopify's 284 is **+80.3%**, or 228 purchases with no matching order. That is 44.5% of everything GA4 reports. - Meta's 205 is 72% of Shopify's 284. **Result:** 12 of 22 links carry at least one defect. The container has 8 defects, all listed below. The three that most distort budget decisions are the backup purchase tag, the consent default, and the purchase trigger. Findings are in order of impact. | # | Finding | Severity | Symptom explained | |---|---|---|---| | 1 | Backup `purchase` tag fires on button click | Critical | GA4 +80% vs Shopify; outage-day revenue | | 2 | EEA/UK `analytics_storage` defaults to granted | Critical (compliance) | Legal finding | | 3 | Purchase RegEx matches `/order-confirmation-pending` | High | Aug 4 outage; revenue ahead of settled | | 4 | `currency` hardcoded `"USD"` | High | CAD revenue about a third high | | 5 | Tag 2 sends no `transaction_id` | High | No dedupe or reconciliation | | 6 | Newsletter links use `http://` | High | Email appearing as Direct | | 7 | `Add to Cart` event name, no `currency` | High | Add-to-cart exploration is empty | | 8 | `utm_medium=CPC` on 3 Google links | Medium | Paid search split into two row groups | | 9 | Duplicate `utm_campaign` on cart-recovery link | Medium | Two campaign names | | 10 | Welcome-flow link has no `utm_source` | Medium | None reported | | 11 | `utm_source=facebook` on 2 Meta links | Medium | None reported | | 12 | Summer link campaign contains spaces | Low–Medium | None reported | | 13 | Two organic links deviate from the standard | Low | None reported | --- ## Findings ### 1. GTM Tag 3 "GA4 Event — purchase (checkout button)" is a live duplicate purchase - **Where:** Tag 3, trigger *Click — All Elements* on `#place-order-btn`. It was added 2026-06 "as a backup while debugging Safari losses" and is still live. - **Why it's wrong:** - The standard requires exactly one `purchase` per order, on the confirmation page only, with `transaction_id`, `value`, `currency` and `items`. - This tag fires on a button click, before payment is authorized. It fires again on every retry, and on payments that later fail. - It sends no `transaction_id` and no `items`, so GA4 cannot dedupe it against the real purchase. - It also hardcodes `currency: "USD"` (see #4). - **Impact:** - This is the primary cause of GA4 reading about 80% above Shopify. The memo dates the gap to early June, which matches the tag's date. - It explains why GA4 barely dipped during the 2026-08-04 payment outage. Customers kept clicking "place order" and the tag kept firing. - It explains why GA4 revenue ran ahead of settled revenue. - Every GA4-fed decision is affected: ROAS, channel comparison, and any Google Ads conversion imported from GA4. The 228-order surplus cannot be split between this tag and finding #3 without event-level data. - **Fix:** - Pause Tag 3 and then delete it after verification. - Fix the Safari loss at its source. Candidates are the post-payment redirect, ITP, and blockers. The durable fix is a server-side purchase sent from the Shopify order record, carrying `transaction_id`. - After pausing, compare GA4 and Shopify daily for 7 days. A residual gap points at findings #3 and #5. ### 2. Consent Mode default grants `analytics_storage` to EEA/UK visitors - **Where:** Consent-initialization tag, row "EEA + UK": `analytics_storage: granted`, `ad_storage: denied`. - **Why it's wrong:** The standard says that in the EEA/UK **both** `analytics_storage` and `ad_storage` default to `denied` until the banner grants them. Only `ad_storage` is correct here. - **Impact:** - GA4 sets its cookies for EU/UK visitors before any banner interaction. This is exactly what outside counsel found. "We run Consent Mode" is true, but the configuration contradicts the standard. - This is a live compliance exposure, and it grows with Q4 EU/UK traffic. - **Fix:** - Set EEA + UK defaults to `analytics_storage: denied` and `ad_storage: denied`. Cookiebot keeps updating both to granted on accept. - Confirm in GTM Preview from an EU location that no `_ga` cookie is set before accept. - Confirm the region list covers the EEA and UK. - Consider legal review of any cookies already set. ### 3. Purchase trigger RegEx is unanchored and matches the pending page - **Where:** Tag 2 (GA4 purchase) and Tag 6 (Meta Pixel purchase). Both use Page Path matches RegEx `^/order-confirmation`. - **Why it's wrong:** - There is no end anchor, so the pattern also matches `/order-confirmation-pending`. - The standard says purchase fires on the order confirmation page only. The web team notes that the pending page reloads into `/order-confirmation` once payment settles, or into `/payment-failed`. - **Impact:** - Purchases are recorded for orders that never settle (the `/payment-failed` path). - Pending buyers fire twice, once on pending and once on the reload. - This is amplified during incidents like 2026-08-04, because the pending page is where buyers land when the provider is degraded. - It also explains revenue running ahead of settled revenue. - Interac (Canada) is the most exposed flow. - Meta Pixel is inflated by the same mechanism, so Meta's 205 is not a clean baseline either. - **Fix:** Change the regex to `^/order-confirmation/?$` on both tags. Use "Page Path equals" if the platform never adds a trailing slash. Fire the purchase only when the order status is settled. ### 4. `currency` is hardcoded to `"USD"` on every purchase tag - **Where:** Tag 2, Tag 3 and Tag 6 (Meta). One container serves `ca.loamandledger.com`, where orders are in CAD. - **Why it's wrong:** - The standard says `currency` reflects the order's actual currency. - Tag 5 (`begin_checkout`) already uses `{{DLV - currency}}` correctly. - **Impact:** - CAD order values are reported as USD, so no conversion happens. At a CAD/USD rate of about 0.73–0.75 that overstates revenue by roughly 33–37%. This matches finance's "roughly a third higher" on the Canadian storefront. US revenue reconciles because the currency is genuinely USD. - Meta's reported CAD value and ROAS are inflated the same way. - **Fix:** - Use `{{DLV - currency}}` in Tags 2 and 6 (and in Tag 3 if it is kept briefly). - Verify in Preview that the variable returns `CAD` on `ca.` and `USD` on `www.`. - Restate historical CA revenue from Shopify, because GA4 cannot be corrected retroactively. ### 5. Tag 2 does not send `transaction_id` - **Where:** Tag 2 parameters list `value`, `currency` and `items` only. If the export is complete, this is a defect. If the field exists but was omitted from the summary, confirm it. - **Why it's wrong:** The standard requires `transaction_id` on `purchase`. - **Impact:** - GA4 cannot dedupe repeat fires (#3) and cannot tie GA4 orders to Shopify orders. - Fixing #1 and #3 will leave residual double counting from reloads. - **Fix:** Add `transaction_id: {{DLV - transaction_id}}` to Tag 2. For Meta, pass a matching `eventID` so any server-side events can dedupe against it. ### 6. Newsletter links use `http://` - **Where:** `klaviyo-newsletter`, both links: `http://www.loamandledger.com/collections/new?...` and `http://www.loamandledger.com/collections/bestsellers?...`. The other 20 links are https. - **Why it's wrong:** The standard requires `https://` on all destinations. - **Impact:** - The weekly newsletter is the only email stream with `http://` links, and it is the only one GA4 misattributes. Welcome and winback flows are https and attribute fine. - The likely mechanism is that the http-to-https hop drops the UTM query string. This was inferred from the pattern, not tested. - Email revenue is understated and Direct is overstated in GA4. - **Fix:** - Change both links to `https://`. - Test the current links with a curl or redirect trace to confirm where the UTMs are lost. If the redirect strips the query, ask the web team to preserve it. - Past newsletter sessions in Direct cannot be recovered. Use Klaviyo click data for reporting on the affected weeks. ### 7. Add-to-cart event is misnamed and sends `value` without `currency` - **Where:** Tag 4 "GA4 Event — `Add to Cart`", trigger Custom Event `add_to_cart_clicked`, parameters `items` and `value` only. - **Why it's wrong:** - The standard requires snake_case event names, and GA4's recommended ecommerce event is `add_to_cart`. "Add to Cart" is neither. - The tag was renamed "for readability" during the theme migration. - GA4 requires `currency` when `value` is sent. Without it, value is not processed. - **Impact:** - The CRO agency's exploration is built on `add_to_cart`, so it shows near-zero events since the migration. The site is converting normally, so the break is in the tag name. - GA4's ecommerce funnel and shopping-behavior reports and any audience built on `add_to_cart` are blind to this step. - **Fix:** - Rename the event to `add_to_cart`. - Add `currency: {{DLV - currency}}`. - Confirm that the `add_to_cart_clicked` data layer event fires on a successful add rather than on a click that fails. - For historical continuity, union `Add to Cart` and `add_to_cart` in the exploration for the post-migration period. ### 8. Uppercase `utm_medium=CPC` on three Google links - **Where:** - `google-search` linen (`/collections/linen`) - `google-search` ceramics (`/collections/ceramics`) - `google-pmax` (`/collections/new`) - The `google-brand` link and the CA Google link correctly use `cpc`. - **Why it's wrong:** The standard says all UTM values are lowercase and `utm_medium` is exactly `cpc`. - **Impact:** GA4 treats `CPC` and `cpc` as different values. Source/medium rows split into `google / cpc` and `google / CPC`. That is the "two row groups" the media buyer sees, and nothing changed in the account because the difference is in the link text. Search and PMax are fragmented across rows from brand. - **Fix:** Change to `utm_medium=cpc` on all three links. Review old data as two groups until the next reporting period. ### 9. Cart-recovery link carries `utm_campaign` twice - **Where:** `meta-retargeting` `/cart?utm_source=meta&utm_medium=paidsocial&utm_campaign=2026q3-cart-recovery&utm_campaign=cart_recovery`. - **Why it's wrong:** - The standard says every parameter appears at most once. - The second value, `cart_recovery`, also breaks the campaign format (underscore, no `<year>q<quarter>`). - **Impact:** Different GA4 reports resolve the duplicate differently, so the campaign appears as `2026q3-cart-recovery` in some and `cart_recovery` in others. - **Fix:** Remove `&utm_campaign=cart_recovery` and keep `2026q3-cart-recovery`. ### 10. Welcome-flow link has no `utm_source` - **Where:** `klaviyo-welcome` `/collections/starter?utm_medium=email&utm_campaign=2026q3-welcome-flow`. - **Why it's wrong:** The standard says `utm_source` is the platform (`klaviyo`). It is required for clean attribution. - **Impact:** Sessions arrive with medium and campaign but no source, so source reports show `(not set)`. The memo says flows attribute fine, so this has probably been missed because the campaign and medium look right. Verify in the source/medium report. - **Fix:** Add `utm_source=klaviyo`. ### 11. `utm_source=facebook` on two Meta links - **Where:** - `meta-prospecting` linen (`/collections/linen`) - `meta-retargeting` bestsellers (`/collections/bestsellers`) - The other Meta links use `meta`. - **Why it's wrong:** The standard says the source is `meta`, not `facebook`, per the v2 decision. - **Impact:** - The Meta source row splits across `facebook` and `meta`. The bestsellers retargeting campaign sits entirely under `facebook`, so a Meta source total understates that spend. - Check that your GA4 channel-group rules treat both values the same way. - **Fix:** Change to `utm_source=meta` on both links. ### 12. Summer link campaign name contains spaces - **Where:** `meta-summer` `/collections/summer?...utm_campaign=2026q3 summer sale`. - **Why it's wrong:** The standard requires `<year>q<quarter>-<line>-<goal>` with hyphens and no spaces. - **Impact:** Spaces encode as `%20` or `+` depending on the tool, so the campaign can appear under variant names. It can't be grouped with other `2026q3-` campaigns. - **Fix:** Use `utm_campaign=2026q3-summer-sale`. ### 13. Two organic links deviate from the standard Both are low impact. Treat them as either link edits or a standards update. - **`organic-instagram`:** `utm_source=instagram`. The standard's source list has no `instagram`. It would be `meta`, with `organicsocial` as the medium separating it from paid. - **`organic-pinterest`:** `utm_campaign=2026q3-boards` has no goal segment. It would be `2026q3-boards-links` or similar. - **Fix:** Edit both links, or amend the standard to allow `instagram` and the shorter format. --- ## Checked and found clean You can trust these: - **Ten links conform fully:** - `google-brand` - `meta-prospecting` table - both TikTok links - `klaviyo-winback` - paid Pinterest - both affiliate links - the CA Google link - the CA Meta link - **Link structure:** - All hosts are `www.` or `ca.loamandledger.com`. - The `ca.` links all carry the `-ca` suffix and the `www.` links do not. - Every medium is from the allowed list. - Affiliate sources use the partner domain. - All other campaigns match the format. - **GA4 Configuration tag:** it fires on Initialization — All Pages and `send_page_view` is true. Nothing in the container conflicts with it. - **Tag 5 `begin_checkout`:** the name is correct, and it uses the dynamic `currency` variable with `value` and `items`. - **Tag 2 value and items:** `value` is net of tax and shipping per the standard. `items` is present. - **Consent outside the EEA/UK:** both default to granted, as the standard says. Cookiebot updates both to granted on accept. - **US storefront currency and revenue:** `USD` is right for US orders, and US revenue reconciles. - **Klaviyo flows:** the welcome and winback flows attribute correctly in GA4, apart from #10. - **Meta vs Shopify:** Meta's 205 against Shopify's 284 is not itself a defect. Platforms claim only attributed orders. But Meta's counts are inflated by #3 and #4, so they need re-baselining after those fixes. ## Not verifiable from the material supplied - Per-tag consent settings are not in the export. Check that the Meta Pixel tag and Tag 3 are gated on `ad_storage` or `analytics_storage`, per "no consent-exempt duplicates." - There are no TikTok, Google Ads or Klaviyo tags in the container. They may be installed outside GTM (Shopify channel apps). If Google Ads imports GA4 `purchase`, Smart Bidding is currently training on the inflated conversions from #1, #3 and #4. Check this before Q4 budgets unlock. - The data layer values (`transaction_id`, `currency`, `order_total`) were not inspected. Confirm them in GTM Preview after the fixes. ## Recommended sequence before Q4 1. Pause Tag 3 and fix consent defaults (#1, #2). Both are quick and have the largest impact. 2. Fix the purchase trigger regex, the `transaction_id` and the dynamic `currency` (#3, #5, #4) in one container version. Then run a 7-day GA4 vs Shopify reconciliation. 3. Correct the links and Tag 4 (#6–#13). 4. Annotate GA4 with the change dates. Treat data from June to the fix date as unreliable for purchases, CAD revenue, email and paid search.
Score · attempt 2 the judge's verdict, criterion by criterion20/20 criteria passed
RequirementVerdictEvidence
covers_all_sources
The audit addresses all supplied artifacts: the campaign links, the GTM/GA4 tag configuration, and the consent setup (a clean-bill mention counts as addressing an artifact).
✓The report covers all 22 links, GTM Tags 1–6, and the consent-initialization table, and it has a clean-bill section for each area.
findings_located
Each reported defect names its specific location — the exact link/channel, tag, trigger, or setting — precisely enough that an engineer could act without re-deriving the audit.
✓Each finding names its exact location, for example Tag 3 trigger `#place-order-btn`, the consent row 'EEA + UK', and the `meta-retargeting` `/cart?...` link.
finds_uppercase_medium
Flags the uppercase utm_medium=CPC values on the two google-search links as violating the lowercase standard and fragmenting paid-search reporting.
✓Finding 8 flags `utm_medium=CPC` on both google-search links and ties it to the 'two row groups' symptom.
finds_uppercase_medium_pmax
Also flags the google-pmax link's uppercase utm_medium=CPC (the same defect on the Performance Max campaign, not only on the search campaigns).
✓Finding 8 lists the `google-pmax` (`/collections/new`) link among the three uppercase CPC links.
finds_missing_source
Flags the klaviyo-welcome link as missing utm_source entirely.
✓Finding 10 flags `klaviyo-welcome` as having no `utm_source` and adds `utm_source=klaviyo` as the fix.
finds_meta_source_inconsistency
Flags that some Meta links use utm_source=facebook while the standard (and other links) use utm_source=meta, splitting Meta reporting.
✓Finding 11 flags `utm_source=facebook` on the meta-prospecting linen and meta-retargeting bestsellers links against the standard's `meta`.
finds_campaign_spaces
Flags the meta-summer link's utm_campaign value ('2026q3 summer sale') for containing spaces / violating the hyphenated campaign format.
✓Finding 12 flags `utm_campaign=2026q3 summer sale` on `meta-summer` and gives `2026q3-summer-sale` as the fix.
finds_duplicate_purchase_firing
Identifies that purchase fires from two live tags (the confirmation-page tag and the place-order button-click tag), double-counting purchases, and connects this to GA4 reporting far more purchases than Shopify.
✓Finding 1 identifies Tag 3's click-triggered purchase running alongside Tag 2 and ties it to GA4 reading +80% over Shopify (512 vs 284).
finds_missing_transaction_id
Identifies that the GA4 purchase tags omit the transaction_id parameter required by the standards, so duplicate purchase events cannot be deduplicated.
✓Finding 5 says Tag 2 omits `transaction_id`, and Finding 1 says Tag 3 sends none either, so GA4 cannot dedupe.
finds_hardcoded_currency
Identifies that purchase currency is hardcoded to USD while the ca. storefront transacts in CAD, and connects this to the inflated Canadian revenue.
✓Finding 4 flags `currency: "USD"` hardcoded on Tags 2, 3 and 6 while the ca. storefront transacts in CAD, and links it to the roughly one-third inflation.
finds_consent_default
Identifies that analytics_storage defaults to granted for EEA/UK visitors, violating the documented Consent Mode defaults, and connects this to the legal/privacy finding.
✓Finding 2 flags EEA+UK `analytics_storage: granted` as violating the standard and ties it to outside counsel's finding.
finds_http_links
Flags the two http:// newsletter links as violating the https standard and identifies possible attribution loss as relevant to newsletter traffic landing in Direct. The actual redirect/query-string behavior is not supplied: a plausible mechanism to verify is sufficient; do not require claiming the redirect cause is proven.
✓Finding 6 flags both `http://` newsletter links, frames the dropped-UTM mechanism as 'inferred from the pattern, not tested', and proposes a redirect trace.
finds_event_name_casing
Flags the 'Add to Cart' event name (spaces, not snake_case) as violating the naming standard and explains the add-to-cart reporting going quiet after the rename.
✓Finding 7 flags the `Add to Cart` event name as non-snake_case and explains the exploration built on `add_to_cart` going near-zero after the rename.
finds_duplicate_campaign_param
Flags the cart-recovery link carrying utm_campaign twice with different values, and ties it to the cart-recovery campaign appearing under two names.
✓Finding 9 flags the double `utm_campaign` on the cart-recovery link and ties it to the two campaign names in GA4.
finds_pending_page_regex
Identifies that the purchase trigger RegEx ^/order-confirmation also matches /order-confirmation-pending, so purchases fire for unsettled payments, and connects this to the payment-outage / revenue-runs-ahead symptoms.
✓Finding 3 explains that `^/order-confirmation` has no end anchor and matches `/order-confirmation-pending`, and links it to the outage and revenue-ahead-of-settled symptoms.
no_false_positives
No actually conforming item is reported as defective. Examples of clean items are google-brand, begin_checkout, tiktok-prospecting, pinterest-prospecting, the affiliate links, and the ca-storefront UTMs. Assess the specific parameter against the supplied standard, not the platform label: organic-pinterest has campaign 2026q3-boards, which lacks the required line/goal component, so flagging that naming defect is valid. The organic-instagram source is also absent from the documented source list; identifying that inconsistency is not a false positive. Do not penalize additional evidence-supported findings merely because they lack a separate rubric criterion.
✓All 12 flagged links and every container finding are real defects; the 10 links declared clean (for example google-brand, TikTok, affiliates, CA links) conform, and the organic-link findings are valid.
fix_per_finding
Every reported defect comes with a concrete, implementable fix (what to change, not 'review this').
✓Every finding has a concrete fix, such as pausing Tag 3, setting both consent defaults to denied, changing the regex to `^/order-confirmation/?$`, using `{{DLV - currency}}`, and the exact UTM edits.
impact_prioritized
Findings are ordered or tiered by measurement/compliance impact throughout the report: purchase firing, missing transaction IDs/deduplication, currency and consent issues outrank cosmetic campaign naming. Check the actual placement of each high-impact defect, not just the names of priority tiers.
✓Duplicate purchase, consent, regex, currency and transaction_id are findings 1–5, ahead of the UTM naming findings 8–13, and a severity table is included.
clean_findings_supported
The closing clean-bill list is present and each item certified compliant actually conforms to all relevant supplied standards. A correct check of one parameter does not justify certifying the whole link or tag clean. Organic Instagram has a source outside the documented allowed list; organic Pinterest campaign 2026q3-boards lacks the required third component. Explicitly scoped statements about a conforming parameter are allowed; labeling either entire link fully compliant fails.
✓The 10 links certified fully conforming do conform, and the organic Instagram and Pinterest links are flagged as defective rather than certified clean.
causal_claims_supported
Assertions of cause, actual vendor behavior and timing are supported by the supplied evidence. Distinguish known configuration defects and observed symptoms from mechanisms requiring verification. Do not assert an unobserved redirect configuration or trace, the exact cause of every symptom, or a connection between one period's totals and a separately dated outage as proven. A proposed check of possible server/CDN implementations is not by itself an assertion that a named vendor is deployed; conditional examples and verification steps are allowed. Quote an actual unsupported factual assertion to fail this criterion, not merely a vendor mentioned as something to investigate.
✓The redirect mechanism is explicitly marked as untested, the Google Ads and Smart Bidding point is conditional, and the report admits the 228-order surplus cannot be split between #1 and #3, though 'primary cause' and the outage explanations are stated fairly firmly.
✓ Attempt 3
Answer · attempt 3 the model's full response$0.28 · 146.2s · 20.0k tok
I'll check the links with a script before writing, so the counts come from the data and not from reading it by eye.# Loam & Ledger: Tracking Audit Report **Scope:** 22 live campaign links (`active_links.csv`), GTM container `GTM-K4WPD2` (export dated 2026-08-20), the v3 measurement standards, and the 2026-08-18 symptoms memo. This is a read-only review. Nothing was changed and nothing external was fetched. ## Summary I found **13 defects**: 5 in the container and 8 in the links. Four of them drive most of the damage: - **Duplicate purchase tag (finding 1).** A click-based `purchase` backup tag sits next to the real one. - **Consent default (finding 2).** `analytics_storage` is set to granted for EEA/UK visitors. - **Pending-page trigger (finding 3).** The purchase trigger also matches the payment-pending page. - **Hardcoded currency (finding 5).** `currency` is fixed to `"USD"` on every purchase tag. Every one of the eight symptoms in the memo traces to at least one finding below. **Reconciliation, last full week.** All three numbers cover the same week. - GA4 reports 512 purchases against Shopify's 284. That is 1.80 GA4 events per order, or +80.3%. - 228 GA4 purchase events (44.5% of the total) have no matching order. - Meta's 205 is **not comparable** with Shopify's count. Ads Manager reports only purchases attributed to Meta, so 205 being below 284 is expected. It doesn't show the Meta pixel is clean (see findings 3 and 5). --- ## Findings, ordered by impact ### 1. Tag 3 "GA4 Event — purchase (checkout button)" is a duplicate purchase on the wrong trigger - **Where:** Tag 3. Trigger is Click — All Elements on `#place-order-btn`. It sends `value` and `currency: "USD"`. It has no `transaction_id` and no `items`. - **Why it's wrong:** - The standard says exactly one `purchase` per order, on the confirmation page only, carrying `transaction_id`, `value`, `currency` and `items`. This tag fires on a button click, before payment settles. - It fires again on every retry, every declined card and every abandoned payment. - It has no `transaction_id`, so GA4 cannot deduplicate it against tag 2's event. - Its notes say it was added in 2026-06 "as a backup while debugging Safari losses" and left live. - **Impact:** - This is the leading explanation for "GA4 ~80% above Shopify, new since early June". The tag's go-live date matches the onset. - 1.80 events per order is below the 2.0 you'd get if both tags fired on every order. That is plausible, because the click tag doesn't depend on reaching the confirmation page. - The memo says US revenue reconciles while counts don't. That suggests `order_total` is often empty at click time, so this tag adds counts but little revenue. That is a hypothesis; check it in DebugView. - I can't split the 228 excess events between this tag and finding 3 from the documents alone. - **Fix:** - Pause and delete tag 3. - To split the excess, filter GA4 `purchase` events with no `transaction_id` (these are tag 3's) and compare them to events fired from `/order-confirmation-pending`. - Handle the Safari problem properly with first-party or server-side tagging, not a second client-side purchase. ### 2. Consent default grants `analytics_storage` to EEA/UK visitors - **Where:** Consent-initialization tag, region row "EEA + UK": `analytics_storage: granted`, `ad_storage: denied`. - **Why it's wrong:** The standard says EEA/UK defaults are `analytics_storage: denied` and `ad_storage: denied` until the banner grants them. Only `ad_storage` was set correctly. - **Impact:** - This matches counsel's finding that analytics cookies are set before any banner interaction. - "We run Consent Mode" is true, but the configuration defeats it. With `analytics_storage` granted, GA4 sets `_ga` cookies and sends full hits before the visitor interacts. - This is the highest compliance exposure in the audit. - **Fix:** - Set the EEA and UK region default row to `denied` for both signals. - Keep the "everywhere else" default row as it is. That row is correct, and the more specific region row overrides it for EEA/UK. - Keep Cookiebot's update to `granted` on accept. - Consider `wait_for_update` so Cookiebot's stored choice applies before the first hit. - Verify in GTM Preview with an EEA test location. No `_ga*` cookies should appear before accept. - Also check consent behaviour for the Meta Pixel and tag 3 (see "Could not verify"). ### 3. The purchase trigger `^/order-confirmation` also matches `/order-confirmation-pending` - **Where:** The trigger shared by tag 2 (GA4 purchase) and tag 6 (Meta Pixel purchase). It is a Page View on Page Path matching RegEx `^/order-confirmation`. - **Why it's wrong:** - The regex is a prefix match, so it also matches `/order-confirmation-pending`. The web team's notes say that page appears for Interac and some PayPal flows. - That page reloads into `/order-confirmation` when payment settles, or into `/payment-failed`. - The result is a second purchase for orders that settle, and a purchase that never settled for orders that fail. - The standard says the purchase fires on the order confirmation page only. - **Impact:** - On 2026-08-04, during the payment-provider outage, Shopify dipped and GA4 barely did, because buyers still landed on the pending page and fired purchases. This also explains why GA4 revenue ran ahead of settled revenue that week. - Meta gets the same phantom purchases through tag 6. It feeds Meta's optimisation and ROAS with orders that never settled. - **Fix:** - Anchor the regex to `^/order-confirmation/?$`. - Preferably fire from a data-layer `purchase` event pushed only once payment has settled. - Send a Meta `eventID` on the Pixel purchase so repeats can be deduplicated. ### 4. Tag 2 does not send `transaction_id` - **Where:** Tag 2 parameters are `value`, `currency` and `items` only. - **Why it's wrong:** The standard requires `transaction_id` on every purchase. It is also how GA4 deduplicates purchases. - **Impact:** - Reloads, back/forward navigation, and the pending-to-confirmation reload all count as new purchases. - It makes findings 1 and 3 uncorrectable inside GA4. - It also makes order-level reconciliation to Shopify impossible. - **Fix:** Add `transaction_id: {{DLV - transaction_id}}` using the Shopify order ID. Confirm it is populated in the data layer on the confirmation page. ### 5. `currency` is hardcoded to `"USD"` on tags 2, 3 and 6, but the `ca.` storefront transacts in CAD - **Where:** `currency: "USD"` in the GA4 purchase tag (2), the click-based GA4 purchase tag (3), and the Meta Pixel purchase tag (6). One container serves both `www.` and `ca.`. - **Why it's wrong:** The standard says currency reflects the order's actual currency, and CAD for `ca.`. CAD amounts are labelled USD, so they are never converted. - **Impact:** - This explains why Canadian revenue reads "roughly a third higher" while US reconciles. - Treating CAD amounts as USD overstates revenue by 1/FX rate. At a CAD/USD rate of 0.72–0.77 that is +30% to +39%, which brackets the finance figure. - Meta's CA purchase values are overstated the same way, which inflates CA ROAS. - **Fix:** - Use `{{DLV - currency}}`, as tag 5 already does. Alternatively derive it from hostname. - Confirm the variable is populated on the confirmation page for both storefronts. - Historical GA4 CAD revenue can't be restated. Apply an offline correction for the affected period. - Expect small residual variance against book rates after the fix, because GA4 converts at Google's rates. ### 6. Both weekly newsletter links use `http://` - **Where:** `klaviyo-newsletter` (`/collections/new` and `/collections/bestsellers`), both `http://www.loamandledger.com/...`. - **Why it's wrong:** The standard says all destination URLs are `https://`. - **Impact:** - The memo says newsletter sessions land in Direct while the welcome and winback flows attribute correctly. Those flows use `https://`, so the evidence points at the scheme. - The likely mechanism is that the http→https redirect drops the query string or the UTMs. I couldn't test that redirect here. - Every weekly send is misattributed to Direct, which understates email and overstates Direct. - It is also an insecure first hop. - **Fix:** Change both links to `https://`. Check the other Klaviyo newsletter templates and blocks for hardcoded `http://`. Afterwards, send a test and confirm `klaviyo / email` shows in GA4 Realtime. ### 7. Tag 4 sends `Add to Cart` instead of `add_to_cart`, and sends `value` without `currency` - **Where:** Tag 4. Its event name was changed "for readability" during the theme migration. Parameters are `items` and `value`, with no `currency`. - **Why it's wrong:** - The standard says snake_case event names, and gives `add_to_cart` as the example. - GA4's recommended event is `add_to_cart`. Event names are case-sensitive, and spaces aren't valid in GA4 event names. So the renamed event is treated as an unrecognised custom event, or is dropped or malformed. - Separately, a `value` without `currency` is not processed as monetary value in GA4. - **Impact:** - This explains the quiet add-to-cart exploration. The CRO agency's May exploration is keyed to `add_to_cart`. - It also affects any audience, funnel or Google Ads signal that depends on the standard event. - The theme's data-layer trigger `add_to_cart_clicked` is fine. Only the GA4 event name is wrong. - **Fix:** Rename the event to `add_to_cart`. Add `currency: {{DLV - currency}}`. Keep the trigger. Expect history to resume under the standard name from the publish date. Pre-fix events stay under `Add to Cart`. ### 8. Three Google links use `utm_medium=CPC` in uppercase - **Where:** `google-search` linen, `google-search` ceramics and `google-pmax`. The `google-brand` link and the `ca-google-search` link correctly use `cpc`. - **Why it's wrong:** The standard says all UTM values are lowercase, and `cpc` is the allowed value. GA4 treats UTM values case-sensitively. - **Impact:** - This is the "two row groups for one Google Ads channel" symptom. Source/medium and campaign-level reports split into `google / CPC` and `google / cpc`. - The media buyer is right that nothing changed in the account. The split comes from the link tagging. - Default channel grouping may merge them, depending on GA4's channel rules. Your custom reports won't. - **Fix:** Change all three to `cpc`. Better, set the value once in the Google Ads tracking template so it can't drift. Note a one-time discontinuity in trend reports at the change date. ### 9. Cart-recovery link carries `utm_campaign` twice - **Where:** `meta-retargeting` link to `/cart`: `utm_campaign=2026q3-cart-recovery&utm_campaign=cart_recovery`. - **Why it's wrong:** The standard says every parameter appears at most once per URL. The second value (`cart_recovery`) also breaks the campaign naming format. - **Impact:** This is the "two campaign names depending on the report" symptom. Different GA4 reports and tools resolve duplicate parameters differently, so the same sessions show under two names and neither total is correct. - **Fix:** Keep only `utm_campaign=2026q3-cart-recovery`. Consolidate the two GA4 names in reporting for the historical period. ### 10. Welcome-flow link has no `utm_source` - **Where:** `klaviyo-welcome`: `?utm_medium=email&utm_campaign=2026q3-welcome-flow`. - **Why it's wrong:** The standard says `utm_source` is the platform, which here is `klaviyo`. It is the only link in the file missing the parameter. - **Impact:** - Sessions will show source `(not set)` or a fallback value, not `klaviyo / email`. - The memo says the flows "attribute fine". That may only mean they land under `email` somewhere. Verify `2026q3-welcome-flow` in source/medium before trusting it. - **Fix:** Add `utm_source=klaviyo`. ### 11. Two Meta links use `utm_source=facebook` - **Where:** `meta-prospecting` linen and `meta-retargeting` bestsellers. - **Why it's wrong:** The standard says Meta is `meta`, not `facebook`. The v2 historical note says this was already standardised. - **Impact:** Meta traffic splits across `facebook / paidsocial` and `meta / paidsocial`. Source-level Meta totals, and any report or audience filtered on `meta`, undercount. Medium-level reports still combine them. - **Fix:** Change both to `utm_source=meta`. Set it at the ad-template level. ### 12. Summer campaign name contains spaces - **Where:** `meta-summer`: `utm_campaign=2026q3 summer sale`. - **Why it's wrong:** The standard says no spaces, hyphen-separated, in the format `<year>q<quarter>-<line>-<goal>`. - **Impact:** The raw space is an invalid URL character. Platforms may encode it as `%20` or `+`, or truncate at the space. That fragments or breaks campaign attribution, and it will never group with a clean-named campaign. - **Fix:** Use `2026q3-summer-sale`. ### 13. Pinterest board link campaign is missing the goal segment - **Where:** `organic-pinterest`: `utm_campaign=2026q3-boards`. - **Why it's wrong:** The format needs three parts, `year-q`, `line` and `goal`. This has only two. - **Impact:** Low. It tracks, but it breaks any report or parser that splits campaign names on hyphens. - **Fix:** Add a goal, for example `2026q3-boards-discovery`. Use whichever goal term the team prefers, as long as it is consistent. --- ## Checked and found clean **Links** - All 22 links are on `www.loamandledger.com` or `ca.loamandledger.com`. 20 are `https://` (the 2 `http` links are in finding 6). - No duplicate parameters, other than the cart-recovery link in finding 9. - All `utm_medium` values fall within the allowed set once case is ignored. - Fully conforming links: `google-brand`, `meta-prospecting` table, both TikTok spark links, `klaviyo-winback`, `pinterest-prospecting`, both affiliate links, and both `ca.` links. - Affiliate `utm_source` values are partner domains, as the standard requires. - Both `ca.` links carry the `-ca` suffix, and no `www` link carries it. **GTM** - Tag 1 (GA4 Configuration): the Initialization trigger and `send_page_view: true` are fine. - Tag 2: the intended trigger is the confirmation page, and `value` is net of tax and shipping, as finance requested and the standard requires. It includes `items`. (Its trigger, `transaction_id` and currency are in findings 3, 4 and 5.) - Tag 5 (`begin_checkout`): snake_case name, dynamic `currency`, and `value` and `items` present, so it handles CAD correctly. I did not verify the `/checkout` path match. - Consent default for visitors outside the EEA/UK (both granted) matches the standard. - EEA/UK `ad_storage: denied` is correct. - Cookiebot updates both signals on accept, as the standard requires. - The consent tag fires in consent initialization, before all others. - Running one container across `www.` and `ca.` is not a defect in itself. The currency problem is in the tag values. **Standards gap, not scored as a defect** - `organic-instagram` uses `utm_source=instagram`. The standard's source list doesn't name `instagram` and doesn't say how Meta-owned organic platforms should be tagged. Decide whether it should be `meta` or an explicit addition to the list, then document it. ## Could not verify from the supplied documents - **Consent gating of non-Google tags.** The Meta Pixel (tag 6) fires on All Pages. The summary shows no consent conditions on it or on tag 3, and Consent Mode does not gate non-Google tags by itself. That may also be setting Meta cookies pre-consent. Check this in GTM Preview with an EEA test location. - **Other platform pixels.** TikTok, Google Ads conversion and Klaviyo onsite tracking are not in this container. They may be installed through Shopify apps, so their purchase counts and consent behaviour weren't audited. - **Data-layer variable values.** I couldn't confirm that `transaction_id` and `currency` are populated on the confirmation page for both storefronts, or what `order_total` contains at click time. - **The http→https redirect.** I couldn't confirm that it drops UTMs. The attribution pattern points to it. - **GA4 property currency.** I assumed USD. The ~33% CA figure is consistent with that. ## Suggested order of work before Q4 budgets unlock 1. Fix the container first: findings 1–5, then 7. These make GA4 and Meta purchase numbers trustworthy. 2. Fix the EEA/UK consent defaults (finding 2) at the same time, given the open legal flag. 3. Fix the link tagging (findings 6, 8–13) before the next sends and flight dates. 4. After publishing, verify against Shopify over one full closed week before using GA4 or Meta for Q4 budget decisions. Don't compare against the contaminated weeks.
Score · attempt 3 the judge's verdict, criterion by criterion20/20 criteria passed
RequirementVerdictEvidence
covers_all_sources
The audit addresses all supplied artifacts: the campaign links, the GTM/GA4 tag configuration, and the consent setup (a clean-bill mention counts as addressing an artifact).
✓The report covers the 22 links, all six GTM tags, and the consent setup, including clean-bill mentions.
findings_located
Each reported defect names its specific location — the exact link/channel, tag, trigger, or setting — precisely enough that an engineer could act without re-deriving the audit.
✓Each finding names the exact tag number, trigger, link or channel, and the specific parameter or setting, e.g. "Tag 3... Click — All Elements on `#place-order-btn`" and "`meta-summer`: `utm_campaign=2026q3 summer sale`".
finds_uppercase_medium
Flags the uppercase utm_medium=CPC values on the two google-search links as violating the lowercase standard and fragmenting paid-search reporting.
✓Finding 8 flags `utm_medium=CPC` on both google-search links as violating lowercase and explains the split into `google / CPC` and `google / cpc` rows.
finds_uppercase_medium_pmax
Also flags the google-pmax link's uppercase utm_medium=CPC (the same defect on the Performance Max campaign, not only on the search campaigns).
✓Finding 8 lists `google-pmax` alongside the two search links as carrying uppercase `CPC`.
finds_missing_source
Flags the klaviyo-welcome link as missing utm_source entirely.
✓Finding 10 flags `klaviyo-welcome` as missing `utm_source` and says to add `utm_source=klaviyo`.
finds_meta_source_inconsistency
Flags that some Meta links use utm_source=facebook while the standard (and other links) use utm_source=meta, splitting Meta reporting.
✓Finding 11 flags the `facebook` source on the meta-prospecting linen and meta-retargeting bestsellers links versus the standard `meta`.
finds_campaign_spaces
Flags the meta-summer link's utm_campaign value ('2026q3 summer sale') for containing spaces / violating the hyphenated campaign format.
✓Finding 12 flags `utm_campaign=2026q3 summer sale` for spaces and a broken format, and proposes `2026q3-summer-sale`.
finds_duplicate_purchase_firing
Identifies that purchase fires from two live tags (the confirmation-page tag and the place-order button-click tag), double-counting purchases, and connects this to GA4 reporting far more purchases than Shopify.
✓Finding 1 identifies tag 3 as a second live purchase on a button click and ties it to GA4 at 1.80 events per order, new since June.
finds_missing_transaction_id
Identifies that the GA4 purchase tags omit the transaction_id parameter required by the standards, so duplicate purchase events cannot be deduplicated.
✓Finding 4 says tag 2 sends no `transaction_id`, and finding 1 notes tag 3 has none, so GA4 cannot deduplicate either.
finds_hardcoded_currency
Identifies that purchase currency is hardcoded to USD while the ca. storefront transacts in CAD, and connects this to the inflated Canadian revenue.
✓Finding 5 flags `currency: "USD"` on tags 2, 3 and 6 against the CAD `ca.` storefront and links it to the roughly one-third Canadian revenue inflation.
finds_consent_default
Identifies that analytics_storage defaults to granted for EEA/UK visitors, violating the documented Consent Mode defaults, and connects this to the legal/privacy finding.
✓Finding 2 flags the EEA+UK row with `analytics_storage: granted` as violating the standard and matching counsel's finding about cookies set before banner interaction.
finds_http_links
Flags the two http:// newsletter links as violating the https standard and identifies possible attribution loss as relevant to newsletter traffic landing in Direct. The actual redirect/query-string behavior is not supplied: a plausible mechanism to verify is sufficient; do not require claiming the redirect cause is proven.
✓Finding 6 flags both `http://` newsletter links, offers the redirect dropping UTMs as a likely mechanism, and explicitly says it could not test the redirect.
finds_event_name_casing
Flags the 'Add to Cart' event name (spaces, not snake_case) as violating the naming standard and explains the add-to-cart reporting going quiet after the rename.
✓Finding 7 flags `Add to Cart` against snake_case `add_to_cart` and explains the exploration going quiet after the rename.
finds_duplicate_campaign_param
Flags the cart-recovery link carrying utm_campaign twice with different values, and ties it to the cart-recovery campaign appearing under two names.
✓Finding 9 flags the `/cart` link carrying `utm_campaign` twice and ties it to the two campaign names in GA4.
finds_pending_page_regex
Identifies that the purchase trigger RegEx ^/order-confirmation also matches /order-confirmation-pending, so purchases fire for unsettled payments, and connects this to the payment-outage / revenue-runs-ahead symptoms.
✓Finding 3 explains that `^/order-confirmation` also matches `/order-confirmation-pending`, so unsettled or failed payments fire purchases, and ties this to the 2026-08-04 outage and revenue running ahead of settled revenue.
no_false_positives
No actually conforming item is reported as defective. Examples of clean items are google-brand, begin_checkout, tiktok-prospecting, pinterest-prospecting, the affiliate links, and the ca-storefront UTMs. Assess the specific parameter against the supplied standard, not the platform label: organic-pinterest has campaign 2026q3-boards, which lacks the required line/goal component, so flagging that naming defect is valid. The organic-instagram source is also absent from the documented source list; identifying that inconsistency is not a false positive. Do not penalize additional evidence-supported findings merely because they lack a separate rubric criterion.
✓None of the clean items is flagged as defective. The organic-pinterest campaign finding is valid per the rubric, the instagram source is labelled a standards gap, and the missing `currency` on tag 4 is evidence-supported.
fix_per_finding
Every reported defect comes with a concrete, implementable fix (what to change, not 'review this').
✓Each of the 13 findings has a concrete fix, e.g. anchor the regex to `^/order-confirmation/?$`, add `transaction_id: {{DLV - transaction_id}}`, or change `CPC` to `cpc`.
impact_prioritized
Findings are ordered or tiered by measurement/compliance impact throughout the report: purchase firing, missing transaction IDs/deduplication, currency and consent issues outrank cosmetic campaign naming. Check the actual placement of each high-impact defect, not just the names of priority tiers.
✓Findings 1–5 cover duplicate purchase, consent, pending trigger, transaction_id and currency; link naming defects such as uppercase medium, spaces and the Pinterest board come later at 8–13.
clean_findings_supported
The closing clean-bill list is present and each item certified compliant actually conforms to all relevant supplied standards. A correct check of one parameter does not justify certifying the whole link or tag clean. Organic Instagram has a source outside the documented allowed list; organic Pinterest campaign 2026q3-boards lacks the required third component. Explicitly scoped statements about a conforming parameter are allowed; labeling either entire link fully compliant fails.
✓Certified-clean links such as google-brand, tiktok, affiliates and the `ca.` links do conform. Instagram is flagged as a standards gap and organic-pinterest is flagged as a defect, so neither is certified clean. Tag 5 is caveated as not path-verified.
causal_claims_supported
Assertions of cause, actual vendor behavior and timing are supported by the supplied evidence. Distinguish known configuration defects and observed symptoms from mechanisms requiring verification. Do not assert an unobserved redirect configuration or trace, the exact cause of every symptom, or a connection between one period's totals and a separately dated outage as proven. A proposed check of possible server/CDN implementations is not by itself an assertion that a named vendor is deployed; conditional examples and verification steps are allowed. Quote an actual unsupported factual assertion to fail this criterion, not merely a vendor mentioned as something to investigate.
✓Mechanisms are hedged: the redirect is "couldn't test", the empty `order_total` is "a hypothesis", the 228 excess events are "can't split", and unverified items are listed. The only firmer causal wording, such as the pending-page link to the 08-04 symptom, ties directly to the documented trigger and symptom.