← Run 20260831-212036-e234131f
Pre-Q4 tracking audit against the documented standards
task tracking-auditAug 31, 2026skill analytics

Answers & verdicts

GPT-5.6 Sol high 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." metadata: version: 2.0.0 --- # Analytics Tracking You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before implementing tracking, understand: 1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements? --- ## Core Principles ### 1. Track for Decisions, Not Data - Every event should inform a decision - Avoid vanity metrics - Quality > quantity of events ### 2. Start with the Questions - What do you need to know? - What actions will you take based on this data? - Work backwards to what you need to track ### 3. Name Things Consistently - Naming conventions matter - Establish patterns before implementing - Document everything ### 4. Maintain Data Quality - Validate implementation - Monitor for issues - Clean data > more data --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.35 · 127.0s · 10.0k tok
# Loam & Ledger Tracking Audit **Audit date:** August 31, 2026 **Scope:** Static review of the supplied measurement standards, 22 active campaign links, GTM container summary, and analytics symptom memo. No external testing or changes were performed. ## Executive summary The current implementation contains several material defects: - **GA4 purchase data is not trustworthy.** A purchase fires when the checkout button is clicked, and the confirmation trigger also matches pending-payment pages. Successful orders can generate multiple purchases, while failed attempts can generate purchases without an order. - **EU/UK analytics consent is noncompliant with the agreed standard.** Analytics storage starts as granted before banner interaction. - **Canadian revenue is mis-currency-coded.** CAD order values are sent as USD. - **Add-to-cart reporting was broken by the theme migration’s event rename.** - Several live links fragment or lose attribution, including uppercase Google media, HTTP newsletter destinations, duplicated campaign parameters, and nonstandard source values. These defects closely account for the reported purchase inflation, payment-incident behavior, Canadian revenue inflation, paid-search split, add-to-cart loss, consent complaint, and cart-recovery fragmentation. --- # Findings, ordered by impact ## 1. Critical — A GA4 purchase fires before an order exists **Location** - Tag **3. GA4 Event — `purchase` (checkout button)** - Trigger: Click — All Elements matching `#place-order-btn` **Why it is wrong** The standard requires exactly one `purchase` per order, firing on the order-confirmation page only. This tag fires when the buyer attempts to place an order—before payment has settled and before an order is confirmed. Its purchase payload is also incomplete: it lacks required `transaction_id` and `items`, and its hardcoded USD currency is wrong on the Canadian storefront. **Impact** - Successful orders can produce at least two GA4 purchases: one on button click and another on confirmation. - Failed payment attempts can be counted as purchases. - Payment outages may reduce settled Shopify orders without producing a comparable GA4 decline. - The tag was added in June 2026, directly aligning with the memo’s observation that GA4’s approximately 80% overcount began in early June. - This is the strongest explanation for GA4 reporting 512 purchases against 284 Shopify orders and for GA4 revenue running ahead of settled revenue. **Concrete fix** Disable and remove this purchase tag. Keep `purchase` exclusively on the settled order-confirmation event. If the team needs to measure payment attempts, replace it with a separate non-conversion event such as `payment_submitted`; do not call that event `purchase` or mark it as the purchase conversion. --- ## 2. Critical — The confirmation trigger also fires on pending-payment pages **Location** - Tag **2. GA4 Event — `purchase` (confirmation page)** - Tag **6. Meta Pixel — purchase** - Shared trigger: Page Path matches RegEx `^/order-confirmation` **Why it is wrong** The regular expression is prefix-based. It matches both: - `/order-confirmation` - `/order-confirmation-pending` The site documentation says pending pages can later reload into either the final confirmation page or `/payment-failed`. **Impact** - A pending order that later settles can fire once on the pending page and again on the final page. - A pending order that later fails can still generate a GA4 and Meta purchase. - Combined with the checkout-button purchase tag, some orders may generate three GA4 purchase events: checkout click, pending page, and final confirmation. - This directly supports the unexplained GA4 purchases during the August 4 payment incident. - Meta purchase measurement is also contaminated, although Ads Manager’s attributed-purchase total is not directly comparable to Shopify’s all-order total. **Concrete fix** Change the trigger on both tags to an exact final-path condition: ```text Page Path equals /order-confirmation ``` Or use: ```regex ^/order-confirmation/?$ ``` Explicitly exclude `/order-confirmation-pending` and `/payment-failed`. --- ## 3. Critical — GA4 purchases have no transaction ID **Location** - Tag **2. GA4 Event — `purchase` (confirmation page)** - Parameters omit `transaction_id` Tag 3 also omits it, but that tag should be removed under Finding 1. **Why it is wrong** The standard explicitly requires every purchase to carry `transaction_id`. A stable order identifier is also essential for order-level reconciliation and protection against duplicate purchase collection following reloads or repeat visits. **Impact** - GA4 cannot reliably identify repeated submissions of the same order. - Confirmation-page reloads can create additional revenue and purchase events. - Analytics and finance cannot reconcile GA4 purchases to individual Shopify orders. - It compounds the duplicate-trigger defects above. **Concrete fix** Expose the unique, stable Shopify order ID in the data layer and add: ```text transaction_id: {{DLV - transaction_id}} ``` Use the same identifier every time a given order is rendered. Validate that reloading the final confirmation page does not create another counted purchase for that transaction. --- ## 4. Critical — EEA/UK analytics consent defaults to granted **Location** Consent-initialization configuration: | Region | Current `analytics_storage` | |---|---:| | EEA + UK | `granted` | **Why it is wrong** The agreed standard requires both `analytics_storage` and `ad_storage` to default to `denied` for EEA/UK visitors until the banner grants consent. Current EEA/UK `ad_storage: denied` is correct, but `analytics_storage: granted` is not. **Impact** - GA4 analytics cookies can be set before banner interaction. - This directly supports outside counsel’s observed behavior. - Stating that Consent Mode is installed does not resolve the issue because the initial analytics consent state itself is wrong. **Concrete fix** Set the EEA/UK consent defaults in the consent-initialization tag to: ```text analytics_storage: denied ad_storage: denied ``` Cookiebot should update each state only according to the visitor’s choice. After publication, test a fresh EEA/UK session before any banner action and verify that analytics storage remains denied and no analytics cookie is written. --- ## 5. High — Canadian purchases are labeled as USD **Location** - Tag **2. GA4 Event — `purchase`**: `currency: "USD"` - Tag **6. Meta Pixel — purchase**: `currency: "USD"` - Tag **3. GA4 checkout-button purchase** also hardcodes USD, but should be deleted. **Why it is wrong** One container serves both storefronts, and the `ca.` storefront transacts in CAD. The standard requires actual order currency. The implementation sends a numeric CAD order total while declaring it to be USD. **Impact** - Canadian order values are interpreted and converted as though they were USD. - This can overstate converted Canadian revenue by approximately the exchange-rate differential. - It closely matches finance’s report that Canadian GA4 revenue is roughly one-third above settled revenue converted at book rates. - US revenue can still reconcile because USD is correct on the US storefront. **Concrete fix** Replace hardcoded currency in the surviving GA4 purchase tag and Meta purchase event with the actual order currency: ```text currency: {{DLV - currency}} ``` Validate that US orders send `USD` and Canadian orders send `CAD`. Retain the existing net-of-tax-and-shipping `order_total` definition. --- ## 6. High — The add-to-cart event was renamed to a nonconforming event **Location** - Tag **4. GA4 Event — `Add to Cart`** - Trigger: Custom Event `add_to_cart_clicked` - GA4 event name: `Add to Cart` **Why it is wrong** GA4 event names must follow the agreed lowercase `snake_case` convention. The expected ecommerce event is `add_to_cart`. The tag notes confirm it was renamed from `add_to_cart` during the theme migration merely “for readability.” Event names are data contracts, not display labels. The tag also sends a monetary `value` without a corresponding `currency`, making value interpretation incomplete, especially on the shared US/CA implementation. **Impact** - Reports and explorations querying `add_to_cart` no longer see the renamed event. - This directly explains the CRO exploration falling to near-zero after the theme migration while site conversion remained normal. - Add-to-cart value cannot be interpreted consistently across USD and CAD sessions. **Concrete fix** Keep the current theme trigger but change the GA4 event name back to: ```text add_to_cart ``` Add: ```text currency: {{DLV - currency}} ``` Continue sending `items` and `value`. Do not fire both the old and corrected names for the same action. --- ## 7. High — Three Google links use uppercase `CPC` **Locations** 1. `google-search` → `/collections/linen` `utm_medium=CPC` 2. `google-search` → `/collections/ceramics` `utm_medium=CPC` 3. `google-pmax` → `/collections/new` `utm_medium=CPC` **Why it is wrong** All UTM values must be lowercase, and the allowed paid-search medium is exactly `cpc`. **Impact** GA4 preserves case in campaign dimensions, so `CPC` and `cpc` can appear as separate source/medium rows even when both come from Google. This directly explains the reported paid-search split without requiring a Google Ads account change. **Concrete fix** Change all three links to: ```text utm_medium=cpc ``` Update the live ad destinations or tracking templates at their source so future clicks use the corrected value. --- ## 8. High — Both weekly-newsletter links use HTTP destinations **Locations** - `klaviyo-newsletter` → `http://www.loamandledger.com/collections/new?...` - `klaviyo-newsletter` alternate hero → `http://www.loamandledger.com/collections/bestsellers?...` **Why it is wrong** The standards require all destination URLs to use HTTPS. These links depend on an HTTP-to-HTTPS redirect before reaching the measured site. That creates an unnecessary attribution dependency: if the redirect does not preserve the complete query string, the UTMs disappear before GA4 loads. **Impact** - Both links from the affected weekly newsletter use HTTP. - The welcome and winback flow links use HTTPS, making this the principal supplied implementation difference specific to the newsletter. - UTM loss during the redirect would cause sessions to appear as Direct, matching the reported symptom. - The static source package does not prove whether the production redirect currently preserves the query string, but the links are defective against the standard regardless. **Concrete fix** Replace both destinations with direct HTTPS URLs while keeping the existing UTM parameters: ```text https://www.loamandledger.com/collections/new?... https://www.loamandledger.com/collections/bestsellers?... ``` After deployment, test an actual newsletter click and confirm that the final landing-page URL still contains all three UTMs. --- ## 9. High — The cart-recovery link contains `utm_campaign` twice **Location** `meta-retargeting` → `/cart` ```text utm_campaign=2026q3-cart-recovery utm_campaign=cart_recovery ``` **Why it is wrong** The standards allow each parameter at most once per URL. The second value, `cart_recovery`, also violates the required campaign format. Duplicate query parameters can be resolved differently by parsers and reporting surfaces—some take the first occurrence, some the last. **Impact** This directly explains why the cart-recovery campaign appears under two different campaign names depending on the report. **Concrete fix** Remove the second occurrence and retain only: ```text utm_campaign=2026q3-cart-recovery ``` Correct URL: ```text https://www.loamandledger.com/cart?utm_source=meta&utm_medium=paidsocial&utm_campaign=2026q3-cart-recovery ``` --- ## 10. Medium — Two Meta links still use the historical `facebook` source **Locations** - `meta-prospecting` → `/collections/linen` `utm_source=facebook` - `meta-retargeting` → `/collections/bestsellers` `utm_source=facebook` **Why it is wrong** The standard explicitly requires `meta`, not `facebook`. The historical note confirms that this changed in measurement standards v2. **Impact** - Meta traffic is split between `facebook / paidsocial` and `meta / paidsocial`. - Source-level Meta reporting and comparisons across campaigns are fragmented. - This does not explain the Google paid-search split; it is a separate channel-governance problem. **Concrete fix** Change both links to: ```text utm_source=meta ``` Do not rewrite historical data; standardize all live and future destinations. --- ## 11. Medium — The Klaviyo welcome link is missing `utm_source` **Location** `klaviyo-welcome` → `/collections/starter` ```text https://www.loamandledger.com/collections/starter?utm_medium=email&utm_campaign=2026q3-welcome-flow ``` **Why it is wrong** The link does not identify its source as Klaviyo, contrary to the source convention used for email campaigns. **Impact** - Source/medium attribution is incomplete or inconsistent. - Campaign-based reports may still recognize the welcome flow because campaign and medium are present, which is consistent with the memo saying flows appear to attribute better than the newsletter. - It does not explain the weekly-newsletter Direct issue. **Concrete fix** Add: ```text utm_source=klaviyo ``` Correct URL: ```text https://www.loamandledger.com/collections/starter?utm_source=klaviyo&utm_medium=email&utm_campaign=2026q3-welcome-flow ``` --- ## 12. Medium — The summer campaign name contains spaces and lacks the required structure **Location** `meta-summer` → `/collections/summer` ```text utm_campaign=2026q3 summer sale ``` **Why it is wrong** Campaign names must use the format `<year>q<quarter>-<line>-<goal>`, with hyphens and no spaces. **Impact** - The campaign does not group consistently with standardized campaign names. - Spaces may appear encoded differently across exports and tools. - Manual reporting, joins, and campaign governance become less reliable. **Concrete fix** Use: ```text utm_campaign=2026q3-summer-sale ``` --- ## 13. Medium — The organic Instagram source is outside the contracted source vocabulary **Location** `organic-instagram` → `/collections/new` ```text utm_source=instagram ``` **Why it is wrong** The standards define the platform source as `meta`; `instagram` is not in the agreed source vocabulary. **Impact** Organic Meta traffic will be split into a separate Instagram source rather than following the contracted platform-level taxonomy. Cross-channel reporting that expects the approved source list will require special handling. **Concrete fix** Change the link to: ```text utm_source=meta ``` Retain: ```text utm_medium=organicsocial utm_campaign=2026q3-ig-bio ``` --- # What was checked and found clean ## Live links The following 11 links conform to the supplied UTM and destination standards: - `google-brand` - `meta-prospecting` → `/collections/table` - Both `tiktok-prospecting` links - `klaviyo-winback` - `pinterest-prospecting` - Both affiliate links - Both Canadian storefront links - `organic-pinterest` Additional clean link controls: - Both Canadian campaign names correctly include the `-ca` suffix. - Affiliate sources correctly use the partner domains with `utm_medium=affiliate`. - Except for the two newsletter URLs, destinations use HTTPS on an approved storefront host. - No duplicate parameters were found outside the cart-recovery URL. ## GTM and GA4 - **GA4 Configuration — `G-8B21XQ4`:** one configuration tag is documented, firing on Initialization — All Pages with pageviews enabled. No duplicate GA4 configuration tag is present in the supplied summary. - **`begin_checkout`:** event name is valid `snake_case`; the tag supplies `value`, dynamic `currency`, and `items`. - **Purchase value definition:** `order_total` is documented as net of tax and shipping, conforming to finance’s standard. - **Confirmation purchase items:** the final-page GA4 purchase tag includes `items`. - **Consent outside EEA/UK:** default analytics and ad storage are both granted, as required. - **EEA/UK ad consent:** `ad_storage` correctly defaults to denied. - **Banner acceptance:** Cookiebot is documented as updating both storage states to granted on acceptance. Until the critical findings are corrected and runtime-tested, **Shopify should remain the source of truth for order counts and settled revenue; GA4 purchase counts, GA4 Canadian revenue, and Meta purchase events should not be used for reconciliation.**
Score the judge's verdict, criterion by criterion17/17 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 explicitly reviews all 22 links, all six GTM/GA4 tags, and the consent-initialization table, including a 'what was checked and found clean' section for each artifact type.
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 cites exact tag names (e.g. 'Tag 3. GA4 Event — purchase (checkout button)'), trigger selectors (#place-order-btn, RegEx ^/order-confirmation), or specific link rows (e.g. 'klaviyo-welcome → /collections/starter'), enabling direct action.
finds_uppercase_medium
Flags the uppercase utm_medium=CPC values on the Google links (google-search x2 and google-pmax) as violating the lowercase standard and fragmenting paid-search reporting.
✓Finding 7 lists both google-search links and google-pmax with utm_medium=CPC and explains it fragments Google paid-search reporting.
finds_missing_source
Flags the klaviyo-welcome link as missing utm_source entirely.
✓Finding 11 identifies the klaviyo-welcome link as missing utm_source entirely and supplies 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 10 flags the two meta-prospecting/meta-retargeting links using utm_source=facebook against the meta standard, causing Meta source fragmentation.
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 meta-summer's 'utm_campaign=2026q3 summer sale' for containing spaces and violating 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 the checkout-button purchase tag firing alongside the confirmation-page purchase tag, causing double counting tied to the June-onward GA4/Shopify purchase discrepancy.
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 3 states both GA4 purchase tags omit transaction_id, preventing deduplication of repeated purchase events.
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 shows currency hardcoded to USD on GA4/Meta purchase tags despite CAD transactions, directly tied to the roughly one-third inflated Canadian revenue symptom.
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 4 identifies analytics_storage defaulting to granted for EEA/UK visitors against the documented standard, tied explicitly to the legal/privacy complaint.
finds_http_links
Flags the two http:// newsletter links as violating the https standard and ties them to newsletter traffic landing in Direct (attribution loss on the redirect).
✓Finding 8 flags both newsletter links' http:// destinations as violating the https standard and links the redirect risk to sessions appearing as Direct.
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' event name for violating snake_case and explicitly explains the CRO exploration's near-zero readings post-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 identifies the cart-recovery link's duplicate utm_campaign values and ties it to the campaign appearing under two names in reports.
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 2 explains the ^/order-confirmation RegEx also matches /order-confirmation-pending, causing purchases on unsettled orders, linked to the payment-outage/revenue-ahead symptom.
no_false_positives
No conforming item is reported as a defect (for example the google-brand link, the begin_checkout tag, the TikTok/Pinterest/affiliate links, or the ca-storefront links' UTMs). Describing a correct item as clean is fine; flagging it as broken is not.
✓The 'what was checked and found clean' section correctly lists google-brand, begin_checkout, TikTok/Pinterest/affiliate links, and ca-storefront UTMs as conforming, with no misclassification of these as defects.
fix_per_finding
Every reported defect comes with a concrete, implementable fix (what to change, not 'review this').
✓Every numbered finding ends with a 'Concrete fix' subsection giving exact parameter or configuration changes (e.g. 'Set analytics_storage: denied' or 'utm_campaign=2026q3-cart-recovery').
impact_prioritized
Findings are ordered or explicitly tiered by measurement/compliance impact, with the purchase-integrity and consent issues ranked above cosmetic UTM issues.
✓Findings are explicitly tiered as Critical (purchase duplication, pending-page regex, missing transaction_id, consent default) before High and Medium cosmetic UTM issues.