← Run 20261123-054118-0cd3285b
Pre-Q4 tracking audit against the documented standards
task tracking-auditNov 23, 2026skill analytics

Answers & verdicts

Claude Opus 5.5 medium effort

Task passed
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; a defect is observed, the symptom it would explain is a hypothesis until the data shows the mechanism." metadata: version: 2.3.2 --- # 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. **Use the numbers the brand has already connected:** If `INTEGRATIONS.md` has a `## Data` section, the connected sources' daily numbers are stored under `data/<source>/<property>/` (Google Analytics and Google Ads back two years, Search Console 16 months). Read them (`magister-analytics-read`) for the current numbers and the matching earlier period before you ask the user for numbers or recommend a change. 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. ### 8. Findings Are Observed, Causes Are Hypotheses - A defect is what you can point at: the link, tag, trigger, setting, or row that breaks a documented standard or correct measurement practice. Report it as a finding with its location and the standard it breaks. - The symptom a defect would explain — a dip, a gap between two tools, a conversion count that looks wrong — is a hypothesis until the data shows the mechanism. Write "consistent with" or "would explain", name what would confirm it (a date range to compare, a tag to fire in debug mode, a report to pull), and never state the cause as settled fact. - Something is clean only when it meets every documented standard. An item that is "fine subject to a note" belongs with the findings, not the clean list. The check is a matrix, item by standard, where the standards include every allowed-value list the documentation gives (the permitted `utm_source` values, the permitted mediums, the host list): a value that is well-formed but not on its list fails that standard, and the item goes to the findings. Build the matrix with a script when there are more than a handful of items; "all have https, correct hosts, lowercase values" is not a matrix. --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.31 · 122.9s · 13.6k tok
# Loam & Ledger: Tracking Audit (Links + GTM Container `GTM-K4WPD2`) **Scope:** `tracking_standards.md` (v3), all 22 rows of `active_links.csv`, the container summary in `gtm_ga4_setup.md` (export of 2026-08-20), and the symptoms memo dated 2026-08-18. **Method:** I checked every link and tag against each documented standard, including the allowed-value lists. I also checked the container against correct GA4 and Consent Mode practice. Nothing was changed and nothing external was fetched. **How to read this.** Each finding is a defect I can point to in the supplied material. Where a defect lines up with a symptom in the memo, the link is stated as "consistent with" or "would explain". Each one includes a check that would confirm it, because none of these causes is proven until that check is run. --- ## Summary | # | Severity | Location | Defect | Symptom it may explain | |---|---|---|---|---| | 1 | Critical (compliance) | Consent init, EEA+UK row | `analytics_storage` defaults to `granted` | Legal's finding (strong match) | | 2 | Critical | Tag 3, click-based `purchase` | Second purchase event on a button click | GA4 ~80% above Shopify since June | | 3 | Critical | Tags 2 & 6, RegEx `^/order-confirmation` | Also matches `/order-confirmation-pending` | Outage-day purchases, revenue ahead of settled | | 4 | High | Tags 2 & 3 | No `transaction_id` | Removes GA4's only dedupe safeguard for #2 and #3 | | 5 | High | Tags 2, 3, 6 | `currency: "USD"` hardcoded | CA revenue ~⅓ high | | 6 | High | Tag 4 | Event renamed `Add to Cart`; no `currency` | Add-to-cart went quiet | | 7 | High | Links 12, 13 (newsletter) | `http://` destinations | Newsletter shows as Direct | | 8 | Medium | Links 1, 2, 3 (Google) | `utm_medium=CPC` uppercase | Paid search split into two row groups | | 9 | Medium | Links 5, 7 (Meta) | `utm_source=facebook` | Meta traffic split across two sources | | 10 | Medium | Link 8 (cart recovery) | `utm_campaign` appears twice | Cart recovery under two names | | 11 | Medium | Consent init | No `ad_user_data` / `ad_personalization` | None reported; Google Ads EEA signal loss | | 12 | Low–Med | Link 9 (summer) | Spaces in `utm_campaign` | None reported | | 13 | Low–Med | Link 14 (welcome) | `utm_source` missing | None reported; conflicts with the memo | | 14 | Low | Link 21 (organic IG) | `utm_source=instagram` not on the allowed list | None reported | | 15 | Low | Link 22 (organic Pinterest) | Campaign `2026q3-boards` lacks the `<goal>` segment | None reported | --- ## Findings, in order of impact ### 1. Consent Mode: EEA/UK default grants analytics storage (Critical, compliance) - **Where:** The consent-initialization tag, row "EEA + UK": `analytics_storage: granted`, `ad_storage: denied`. - **Why it's wrong:** The standard requires `analytics_storage: denied` *and* `ad_storage: denied` for EEA/UK until the banner grants them. Only `ad_storage` conforms. - **Impact:** Tag 1 fires on Initialization – All Pages. With analytics storage granted by default, GA4 is permitted to set `_ga` / `_ga_*` cookies for EEA/UK visitors before any banner interaction. This **would directly explain** outside counsel's finding. Of all the symptom matches in this report, this is the closest: the setting does exactly what counsel describes. "We run Consent Mode" is true, but it is configured to grant. - **Confirm:** Load the site from an EEA IP (or a VPN) in a clean profile without touching the banner. Inspect cookies for `_ga*`, and check GTM Preview → Consent tab for the default state. - **Fix:** Set the EEA+UK default to `analytics_storage: denied`. Keep `ad_storage: denied`. Keep Cookiebot's on-accept update to `granted`. Re-test as above and send the evidence to counsel. ### 2. Tag 3: a second `purchase` fires on the "place order" click (Critical) - **Where:** Tag 3, "GA4 Event — `purchase` (checkout button)". Trigger: Click — All Elements on `#place-order-btn`. Added 2026-06 "as a backup while debugging Safari losses" and still live. - **Why it's wrong:** The standard says exactly one `purchase` per order, on the confirmation page only. This tag breaks that standard in four ways: - It fires on a click, before payment is authorized. - It fires again on every double-click or retry. - It fires for orders that later fail. - It carries no `transaction_id` or `items`. - **Impact:** For every completed order, GA4 receives tag 3's purchase plus tag 2's purchase. Failed and abandoned attempts add more. The memo says the ~80% overcount is "new since early June", which matches the tag's 2026-06 add date. 512 / 284 = 1.80. Two events per order would give up to 568, and normal tag loss (ad blockers, Safari) would bring that down toward 512. The numbers are **consistent with** this tag being the main driver, but that is not proven. - **Open question:** The memo says US revenue reconciles even though US event counts would be doubled. One possibility is that `{{DLV - order_total}}` is empty at click time, if the data layer is only populated on the confirmation page. In that case tag 3 inflates counts but not revenue. This needs checking, not assuming. - **Downstream risk:** If Google Ads imports GA4 `purchase` as a conversion, bidding is being trained on inflated conversions. Check the Ads conversion settings before Q4 scale-up. - **Confirm:** In GA4, take last week's purchases and break them down by `transaction_id`. Tag 3 sends none, so its events will show as `(not set)`. Count those, starting from early June. In GTM Preview, complete a test order and count the `purchase` hits. - **Fix:** Pause and then remove tag 3. Investigate the Safari losses separately (server-side tagging or Shopify's order webhook), not with a client-side click proxy. ### 3. Purchase trigger also matches the pending page (Critical) - **Where:** The tag 2 trigger, Page Path matches RegEx `^/order-confirmation`. Tag 6 (Meta purchase) reuses the same trigger. - **Why it's wrong:** The regex has no end anchor, so it also matches `/order-confirmation-pending`. The web team notes that buyers on Interac and some PayPal flows land on the pending page first. That page then reloads into either `/order-confirmation` or `/payment-failed`. The result: - A settled pending order produces two purchases: one on pending, one on confirmation. - A failed pending order produces one purchase that should not exist. - Both break the "one purchase, confirmation page only" rule. - **Impact:** - **Outage symptom:** During the 2026-08-04 outage, more orders would sit in pending and then fail. GA4 would still record a purchase for each one, which **would explain** GA4 barely dipping while Shopify did. It would also explain finance seeing GA4 revenue ahead of settled revenue that week. - **Canada:** Interac is a Canadian payment method, so this probably adds to the CA overstatement in finding 5. - **Meta:** Meta receives the same extra purchases. - **Confirm:** In GA4, compare purchase counts against Shopify for 2026-08-04 versus a normal day. In GA4 Explore, break down `purchase` by page path; any `/order-confirmation-pending` rows confirm the leak. Also test a pending payment in Preview. - **Fix:** Change the trigger to `^/order-confirmation/?$` on both tag 2 and tag 6. Consider adding a dataLayer `order_status == paid` condition. Together with finding 4, this also covers confirmation-page reloads. ### 4. Tag 2 (and tag 3) send no `transaction_id` (High) - **Where:** Tag 2 parameters are `value`, `currency`, `items`. There is no `transaction_id`. Tag 3 also has none. - **Why it's wrong:** The standard requires `transaction_id` on `purchase`. It is also GA4's mechanism for deduplicating repeat purchase hits. - **Impact:** Every duplicate in findings 2 and 3, plus any refresh of the confirmation page, is counted in full. You also cannot join GA4 orders to Shopify orders, so reconciliation has to happen at the aggregate level. - **Confirm:** Check GA4's Transaction ID dimension on recent purchases. Expect `(not set)`. - **Fix:** Add `transaction_id: {{DLV - order_id}}` (the Shopify order ID) to tag 2. Pass the same ID as `eventID` on tag 6, ready for future Meta CAPI deduplication. ### 5. Currency hardcoded to USD on a shared container that serves the CAD storefront (High) - **Where:** `currency: "USD"` on tag 2, tag 3, and tag 6. The container serves both `www.` and `ca.`, and `ca.` orders are in CAD. - **Why it's wrong:** The standard says `currency` must reflect the order's actual currency, and that `ca.` transacts in CAD. - **Impact:** CAD amounts are recorded as if they were USD, with no conversion. At a CAD→USD rate in the roughly 0.72–0.75 range, that overstates CA revenue by about 33–39%. This is **consistent with** finance's "roughly a third higher"; finance should rerun the comparison at their actual book rate. The pending-page duplicates from finding 3 (Interac) would add on top of this. Meta's CA ROAS is misstated in the same way. - Tag 5 already uses `{{DLV - currency}}` correctly, which suggests the variable exists and works. - **Confirm:** In GTM Preview, place a test order on `ca.` and compare the purchase hit's currency and value against the Shopify order. - **Fix:** Replace `"USD"` with `{{DLV - currency}}` on tags 2, 3 (if it is kept at all), and 6. ### 6. Tag 4: add-to-cart renamed and missing currency (High) - **Where:** Tag 4, event name `Add to Cart`. It was "renamed from `add_to_cart` during the theme migration for readability". Parameters are `items` and `value`, with no `currency`. - **Why it's wrong:** - The standard requires snake_case and gives `add_to_cart` as its example. - `add_to_cart` is GA4's recommended ecommerce event; `Add to Cart` is treated as an unrelated custom event. - GA4 ecommerce events that send `value` should also send `currency`. - **Impact:** Anything keyed on `add_to_cart` stops receiving data at the migration date. That includes the CRO agency's May exploration, ecommerce funnel reports, and any audiences built on the event. This **would explain** the "near-zero since the theme migration" symptom while conversions look normal. - **Confirm:** In GA4 Events, look for `Add to Cart` appearing at the migration date and `add_to_cart` dropping off at the same time. - **Fix:** Rename the event back to `add_to_cart` and add `currency: {{DLV - currency}}`. Tell the CRO agency the gap dates. Historical `Add to Cart` data can be bridged in explorations, but it will not backfill standard ecommerce reports. ### 7. Newsletter links use `http://` (High) - **Where:** Link 12 (`klaviyo-newsletter`, `/collections/new`) and link 13 (`klaviyo-newsletter`, `/collections/bestsellers`). - **Why it's wrong:** The standard requires all destinations to be `https://`. - **Impact:** These are the only two `http://` links, and they are exactly the email links the memo says land in Direct. The welcome and winback flows use `https://` and attribute correctly. The pattern is **consistent with** the http→https redirect losing the query string, or the referrer and UTMs, on the way in. I cannot see the redirect behaviour from the supplied material. - **Confirm:** Run a header request on link 12 (e.g. `curl -I`) and check whether the `Location` header keeps `?utm_…`. Separately, click a test send and watch the `page_view` `page_location` in DebugView. - **Fix:** Change both links to `https://` in the newsletter template, and check the template's other links at the same time. ### 8. Google links use uppercase `CPC` (Medium) - **Where:** Link 1 (search, linen), link 2 (search, ceramics), link 3 (PMax). Link 4 (brand) uses `cpc`. - **Why it's wrong:** The standard requires lowercase values, and the allowed medium is `cpc`. - **Impact:** GA4 treats source/medium values as case-sensitive strings, so `google / CPC` and `google / cpc` appear as separate rows. This **would explain** paid search showing "two separate row groups". It also fits the media buyer's statement that nothing changed in the account: the split comes from the final-URL parameters, not campaign settings. - **Confirm:** In GA4 Traffic acquisition, view Session source/medium filtered to `google`. Expect both `cpc` and `CPC`. - If Google Ads auto-tagging is on, GA4 may prefer gclid data over manual UTMs. Check whether "manual tagging override" is enabled to see which value is actually winning. - **Fix:** Lowercase the medium in these three final URLs or tracking templates. ### 9. Meta links use `utm_source=facebook` (Medium) - **Where:** Link 5 (meta-prospecting, linen) and link 7 (meta-retargeting, bestsellers). - **Why it's wrong:** `facebook` is not on the allowed source list. v2 standardized on `meta`. - **Impact:** Meta paid social is split across two sources. Any `source = meta` report undercounts Meta, and link 7 also puts retargeting under a different source from the other retargeting link. No memo symptom was reported for this, but it will distort Q4 channel comparisons. - **Fix:** Change both links to `utm_source=meta`. ### 10. Cart-recovery link has `utm_campaign` twice (Medium) - **Where:** Link 8 (meta-retargeting, `/cart`), with `utm_campaign=2026q3-cart-recovery&utm_campaign=cart_recovery`. - **Why it's wrong:** - Every parameter may appear only once per URL. - The second value also breaks the campaign format: it uses an underscore and has no year/quarter. - **Impact:** Different parsers (GA4 collection, Meta's URL parsing, third-party tools) can pick different occurrences. This **would explain** cart recovery appearing "under two different campaign names depending on the report". - **Confirm:** Click the ad URL and check the `campaign` value in DebugView. Compare it with the value Meta's or other reports show. - **Fix:** Remove `&utm_campaign=cart_recovery`. Check whether the duplicate comes from Meta's URL-parameters field being appended to a URL that already carries UTMs. ### 11. Consent Mode v2 parameters incomplete (Medium, against correct practice) - **Where:** The consent-initialization table sets only `analytics_storage` and `ad_storage`. - **Why it's wrong:** The standards doc doesn't list these parameters, so this is judged against correct practice rather than the doc. Consent Mode v2 adds `ad_user_data` and `ad_personalization`. Google requires them for EEA/UK traffic to use ads measurement and remarketing features. - **Impact:** The likely effect is degraded Google Ads conversion modelling and EEA/UK audiences. No memo symptom matches it. - **Confirm:** In GTM Preview, open the Consent tab on page load and check for the two parameters. - **Fix:** - Default both to `denied` for EEA/UK and `granted` elsewhere, mirroring `ad_storage`. - Have Cookiebot update both on accept. - Add these to the v3 standards so the contract matches the implementation. ### 12. Summer campaign value contains spaces (Low–Medium) - **Where:** Link 9 (meta-summer), with `utm_campaign=2026q3 summer sale`. - **Why it's wrong:** The campaign format requires hyphens and no spaces. - **Impact:** - Spaces may be encoded as `%20` or `+` depending on where the link is pasted, so one campaign can appear under several variants. - The value doesn't match the naming pattern, so filters like `2026q3-*` miss it. - **Fix:** Use a format-conforming value, e.g. `2026q3-summer-sale`. ### 13. Welcome flow link has no `utm_source` (Low–Medium) - **Where:** Link 14 (klaviyo-welcome, step 2). - **Why it's wrong:** `utm_source` is required. For this link it should be `klaviyo`. - **Impact:** GA4 would record the source as `(not set)`. That conflicts with the memo's statement that flows "attribute fine". One explanation is that the memo is judging by campaign name. Another is that Klaviyo's automatic UTM tagging adds the source at send time. If the second is true, other links may also carry parameters that are not shown in this CSV, which affects the cart-recovery and newsletter diagnoses. - **Confirm:** Inspect a delivered welcome email's actual link. In GA4, filter session campaign `2026q3-welcome-flow` and check its source. - **Fix:** Add `utm_source=klaviyo`. Also record whether Klaviyo auto-UTM is enabled, so the CSV reflects what is actually sent. ### 14. Organic Instagram uses `utm_source=instagram` (Low) - **Where:** Link 21 (organic-instagram, link in bio). - **Why it's wrong:** `instagram` is well-formed but not on the allowed source list. - **Impact:** This is an unplanned source value that falls outside any standards-based grouping. - **Fix:** Either change it to `utm_source=meta`, or, if the team wants Instagram organic shown separately, add `instagram` to the standard first. Either way, the link and the standard should agree. ### 15. Organic Pinterest campaign is missing the `<goal>` segment (Low) - **Where:** Link 22 (organic-pinterest), with `utm_campaign=2026q3-boards`. - **Why it's wrong:** The required format is `<year>q<quarter>-<line>-<goal>`, and this value has only the line. - **Impact:** Minor. It won't match parsing or filters that rely on three segments. - **Fix:** Add a goal segment, e.g. `2026q3-boards-awareness`. --- ## Symptoms not fully explained - **Meta reports 205 purchases versus Shopify's 284.** None of the defects above would lower Meta's number; finding 3 would actually raise it. Ads Manager counts attributed conversions under its attribution settings, so it is not a site-wide order count and is not directly comparable. EEA `ad_storage: denied` and browser restrictions also reduce what Meta sees. I am not treating this gap as a tracking defect. Comparing Meta Events Manager's raw Purchase event count with Shopify would separate attribution effects from tag loss. - **Meta Pixel consent handling (tag 6) could not be verified.** The summary shows no consent settings for this tag, and the Meta Pixel does not respond to Consent Mode on its own; it needs explicit consent checks or blocking. Verify in Preview that tag 6 does not fire for EEA visitors before the banner is accepted. If it does, add it to finding 1. It is not on the clean list. --- ## Checked and found clean ### Links: 10 of 22 pass every standard Each was checked for: - `https://` - An allowed host - Lowercase values - `utm_source` on the allowed list - `utm_medium` on the allowed list - Campaign format, including `-ca` for the CA storefront - No repeated parameters | # | Channel | Destination | |---|---|---| | 4 | google-brand | `/` · `2026q3-brand-defense` | | 6 | meta-prospecting | `/collections/table` · `2026q3-table-prospecting` | | 10 | tiktok-prospecting | linen · `2026q3-linen-spark` | | 11 | tiktok-prospecting | ceramics · `2026q3-ceramics-spark` | | 15 | klaviyo-winback | `2026q3-winback-flow` | | 16 | pinterest-prospecting | `2026q3-table-pins` | | 17 | affiliate | `domesticnotes.com` · `2026q3-linen-roundup` | | 18 | affiliate | `hearthreview.com` · `2026q3-ceramics-review` | | 19 | ca-google-search | `ca.` host · `2026q3-linen-prospecting-ca` | | 20 | ca-meta-prospecting | `ca.` host · `2026q3-linen-prospecting-ca` | Across all 22 links, every host is `www.loamandledger.com` or `ca.loamandledger.com`. Neither CA link misses the `-ca` suffix. ### Container - **Tag 1 (GA4 Configuration `G-8B21XQ4`):** The trigger and `send_page_view` are appropriate. Its compliance problem comes from the consent default in finding 1, not from the tag itself. - **Tag 5 (`begin_checkout`):** Uses a snake_case recommended event name, a dynamic `{{DLV - currency}}`, and includes `value` and `items`. It conforms to the documented standards. I could not independently confirm the checkout page path from the supplied material. - **Purchase value source:** `{{DLV - order_total}}` is documented as net of tax and shipping, as the standard requires. The tags that carry it still have findings 2–5. - **Consent defaults outside EEA/UK:** Both storages are granted, which conforms. The consent-initialization tag runs before all others. Cookiebot updates both storages to `granted` on accept, which conforms. ### What you can trust today - Acquisition data for the 10 clean links. - `begin_checkout`. - Purchase **values** (not counts) for US orders. Treat this one with caution until the finding 2 check shows tag 3 carries no revenue. Treat GA4 purchase counts, CA revenue, add-to-cart, and newsletter attribution as unreliable until fixes 2–7 are live and verified.
Score 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 audits all 22 links, tags 1-6 of the GTM container, and the consent initialization table.
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 link number and channel, its tag number, trigger or regex, or the specific consent row, e.g. 'Tag 3 ... Click — All Elements on #place-order-btn' and 'Link 8 (meta-retargeting, /cart)'.
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 links 1 and 2 (Google search) for uppercase utm_medium=CPC and ties them to the split paid-search row groups.
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 'link 3 (PMax)' alongside the two search links as carrying uppercase CPC.
finds_missing_source
Flags the klaviyo-welcome link as missing utm_source entirely.
✓Finding 13 flags link 14 (klaviyo-welcome) as missing utm_source and says it should be 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 9 flags links 5 and 7 for utm_source=facebook against the standardized meta and says Meta traffic is split across two sources.
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 link 9 for utm_campaign '2026q3 summer sale' containing spaces 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 2 identifies tag 3's click-based purchase firing alongside tag 2 and relates it to GA4's 512 against Shopify's 284 (ratio 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 4 notes tags 2 and 3 send no transaction_id, which removes deduplication, and proposes adding transaction_id from the order 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 5 flags currency "USD" hardcoded on tags 2, 3 and 6 while ca. orders are in CAD, and links it to the roughly one-third CA 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 1 flags analytics_storage: granted for EEA+UK against the denied 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 7 flags links 12 and 13 as http:// and says the pattern is 'consistent with' a redirect losing UTMs, adding 'I cannot see the redirect behaviour from the supplied material'.
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 6 flags the 'Add to Cart' name against snake_case and explains that add_to_cart-keyed reports stop receiving data 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 10 flags link 8's two utm_campaign parameters and ties them to cart recovery appearing under two names.
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 says ^/order-confirmation has no end anchor, matches /order-confirmation-pending, and would explain the outage-day and revenue-ahead 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.
✓Flagged items are all real defects or evidence-supported extras (links 21 and 22, missing ad_user_data/ad_personalization, missing currency on tag 4); none of the conforming links or tags such as google-brand, begin_checkout, tiktok, affiliates or ca links is flagged.
fix_per_finding
Every reported defect comes with a concrete, implementable fix (what to change, not 'review this').
✓Every one of the 15 findings has a concrete fix, e.g. 'Change the trigger to ^/order-confirmation/?$ on both tag 2 and tag 6' and 'Remove &utm_campaign=cart_recovery'.
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.
✓Consent, duplicate purchase, pending regex, transaction_id, currency and the add-to-cart rename come first, and the cosmetic naming items (spaces, instagram source, boards campaign) come last.
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 certified clean links and the scoped container items (tag 1, tag 5, purchase value source, non-EEA defaults) match the supplied standards, and organic-instagram and organic-pinterest are kept out of the clean list.
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 links are hedged with 'consistent with', 'would explain' and 'Confirm' steps; the redirect mechanism is stated as unseen, and the CAD rate range is labelled as an assumption for finance to rerun.