Skip to content

Add Guides > Tracking for NEXT Campaigns - #75

Merged
brettstirlingbond merged 10 commits into
mainfrom
claude/next-campaigns-tracking-docs-dd1f25
Nov 17, 2026
Merged

brettstirlingbond merged 10 commits into
mainfrom
claude/next-campaigns-tracking-docs-dd1f25

Conversation

@brettstirlingbond

@brettstirlingbond brettstirlingbond commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

This adds a Tracking section under Guides in the Campaigns tab, so merchants and developers can set up and test ad tracking on a campaign funnel without asking the team. It covers Google Tag Manager, Google Analytics 4 (including Google Ads), Meta, Everflow, Triple Whale, AppLovin Axon and the smaller integrations, plus Shop Sync stores and testing.

The section describes starter template funnels on Campaign Cart SDK 0.4.43.

Pages

content/docs/campaigns/tracking/, 11 pages, listed under the Guides separator after Page Kit:

Page Purpose
Overview How tracking works in three steps, supported platforms, "send each purchase from one place", privacy, and a table of links into the SDK reference for developers
Getting started Four steps: add your platform IDs, finish in each guide, publish, run a test order
Google Tag Manager Two-part setup, the events and values to build tags on, Google Ads conversion tags
Google Analytics 4 Setup, events, upsells, and "Use GA4 purchases in Google Ads"
Meta Pixel plus the Meta Pixel app, counting each purchase once, advanced matching, more than one pixel
Everflow The Everflow app, redirect and direct links, the bridge, reporting from GTM, more than one affiliate network
Triple Whale Shop Sync setup (funnel purchases blocked, Contact on), and stores without Shopify
AppLovin Axon Setup, and a server function that keeps Axon's cookie for a year
More integrations TikTok, Snapchat, Pinterest, Taboola, Northbeam, RudderStack, Klaviyo
Shop Sync stores Which Shopify tools report synced orders, and what to turn off so each sale is counted once
Testing and troubleshooting Rules before testing, a test order walkthrough, checking numbers after launch, common problems

Other files:

  • campaigns/index.mdx: the Analytics & Tracking section now links to Tracking instead of repeating the setup; domain location wording and the SDK analytics link corrected.
  • Link updates in campaigns/api/index.mdx, storefront/checkout-links.mdx, admin-api/guides/external-checkout.mdx.
  • content/capabilities.yaml: tracking pages listed for the campaigns capability.
  • .github/CODEOWNERS: the tracking folder is owned by @masmalsah.

What changed in the third commit (8ad9bc0)

The first two commits were a full draft. The third is a review pass against source and a rewrite for readability. In short:

  • Plain language, about half the length. Roughly 24,000 words down to about 10,800.
  • No verification tables or "Unconfirmed" labels. A public reference should state what is true and what to check, not read as work in progress.
  • No SDK 0.5.0 content. The templates run 0.4.43, and the 0.5.0 material was untested.
  • Triple Whale has one Shop Sync setup, not two to test. It matches the starter templates' own rule and what is running on a live Shop Sync store. Stores without Shopify get their own short section rather than "not supported".
  • Everflow and AppLovin Axon have their own pages. Both need more than one line of setup. Everflow was checked against two live partner setups.
  • Google Ads is a section of the GA4 page, and TikTok is a section of More integrations. Neither needs more than a line of its own.
  • Events and attribution is no longer a page. It duplicated the SDK's own reference, which is generated per version. The overview links to the v0.4.43 pages instead.
  • Shop Sync detail points to the existing Shop Sync guides for metadata mapping and how orders appear in Shopify.

Corrections against source in that pass:

  • Everflow: the app also sends a verification token; the delay defaults to 0; only the domain of the postback URL is used; a reopened order is posted again.
  • Purchases are reported once per order, not once per browser.
  • The purchase amount is the item prices as shown on the store. Only GA4 and GTM receive shipping and tax as separate fields.
  • Shop Sync creates one Shopify order per fulfillment request.
  • ga4_allowed_events replaces the default set; next.addUpsell falls back to 0; the GTM container loads on gtm_id alone.
  • Setting labels for the Meta Pixel app and Klaviyo.

How it was checked

  • Campaign Cart SDK read at tag v0.4.43; starter templates on main (206780f); Meta Pixel app, Everflow (in the platform repo), Klaviyo, Shop Sync and the Campaigns app read at their current default branches on 2026-11-16.
  • The Axon cookie function was tested on a Netlify deploy preview: it sets the cookie on page responses when the pixel's cookie is present, and not on static files.
  • Link, frontmatter and markup checks pass locally. The full npm run check was left to CI.

Stated on the pages but not yet proven

Item What would settle it
Triple Whale connects the synced Shopify order to the funnel visit by email or phone The first attributed order on the live Shop Sync store running this setup
How completely Triple Whale attributes from the browser purchase alone on a store without Shopify A check in a Triple Whale account on such a store
The Axon cookie function on a production funnel Deploying it on one and confirming in AppLovin's tools

Two details are left generic because they could not be confirmed: where the Axon event key is found in AppLovin's dashboard, and Everflow's exact macro for the redirect link.

Follow-ups outside this PR

  • campaigns/index.mdx has other SDK links that point at /latest/, which is now the 0.5.0 documentation.
  • /docs/campaigns/analytics redirects to the SDK's /latest/ analytics page.
  • The merchant Meta Pixel app page calls the test setting "Enable Test Data"; the app's label is "Enable Sending Test Data".

🤖 Generated with Claude Code

brettstirlingbond and others added 2 commits November 16, 2026 21:11
New content/docs/campaigns/tracking/ (12 pages): overview, getting
started, Triple Whale, Meta Pixel and Conversions API, TikTok, Google Ads
and YouTube, GA4, GTM, more integrations, Shop Sync stores, events and
attribution reference, testing and troubleshooting. Each platform page
carries a verification status table from source review (SDK v0.4.43 and
v0.5.0, starter templates 206780f, store app sources) and a test order
walked on 2026-11-16.

Consolidation: campaigns getting-started analytics section points to the
new section and corrects the development-domain wording; pointers from
the Campaigns API, marketing attribution, storefront event tracking,
checkout links and external checkout pages; tracking pages added to the
campaigns capability; CODEOWNERS for the tracking folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t, dev-domain scope

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
developer-docs c38e256 Commit Preview URL

Branch Preview URL
Nov 17 2026, 02:38 AM

Comment thread content/capabilities.yaml Resolved
@kilo-code-bot

kilo-code-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

The five findings from the previous pass are fixed at c38e256: all tracking pages are now in developer_docs, the GA4 sentence no longer says "funnel", the AppLovin Axon bullet has its privacy caution back and the cookie guidance is marked optional, the store-app troubleshooting row is qualified and links to the overview, and the Triple Whale callout no longer requires a pixel purchase on a non-Shopify store. The remaining Everflow warning was answered with SDK source evidence that 0.4.43 exposes both next.addMetadata(key, value) and next.setMetadata(object), so the two pages are not in conflict. The new text introduces no defects: both new links (#privacy-and-consent, #how-tracking-works) resolve to headings in content/docs/campaigns/tracking/index.mdx, the added capability paths all resolve to existing pages, and the changed wording matches the overview's list of server-side integrations.

Files Reviewed (5 files)
  • content/capabilities.yaml
  • content/docs/campaigns/tracking/google-analytics-4.mdx
  • content/docs/campaigns/tracking/more-integrations.mdx
  • content/docs/campaigns/tracking/testing-and-troubleshooting.mdx
  • content/docs/campaigns/tracking/triple-whale.mdx
Previous Review Summaries (7 snapshots, latest commit 9843eab)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 9843eab)

Status: 7 Issues Found | Recommendation: Address before merge

The increment deletes applovin-axon.mdx and folds AppLovin Axon into more-integrations.mdx, with meta.json, the overview table, the getting-started table and the capabilities.yaml-adjacent links updated. I found no dangling links or anchors to the deleted page anywhere in the repository. The five findings carried from the previous review still reproduce at this HEAD (each already has an active inline comment); the move introduced two new documentation regressions in the new AppLovin section.

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 6
Issue Details (click to expand)

WARNING

File Line Issue
content/docs/campaigns/tracking/everflow.mdx 93 next.setMetadata({ ... }) here and next.addMetadata('fb_test_code', ...) in meta.mdx:184 are different method names and signatures for the same SDK call, so at least one page is wrong. The typeof guard turns a wrong method name into a silent no-op: the ID stays in localStorage and never reaches the order, so direct-link orders report no conversion. Confirm which API 0.4.43 exposes and align both pages

SUGGESTION

File Line Issue
content/docs/campaigns/tracking/more-integrations.mdx 79 (new) The moved axon_send_user_data bullet drops the deleted page's "turn it on only when your privacy policy covers it" caution and its Privacy and consent link, while the TikTok, Snapchat and Pinterest bullets on the same page keep their consent caveat
content/docs/campaigns/tracking/more-integrations.mdx 80 (new) The axwrt cookie is still presented as strongly recommended with "needs a server in front of it", but the Netlify function and Verify it works steps were removed, leaving no actionable path or link for a starter-template reader
content/capabilities.yaml 294 developer_docs omits google-tag-manager, google-analytics-4 and more-integrations, so the agent-facing capabilities.json index does not point at those three pages
content/docs/campaigns/tracking/google-analytics-4.mdx 87 The rewritten sentence still ends "through the whole funnel", the term the rest of the section now avoids
content/docs/campaigns/tracking/triple-whale.mdx 97 The callout says attribution needs "the purchase from the pixel", but the Shop Sync setup on the same page blocks the pixel purchase (triplewhale_blocked_events) and matches the Shopify order to the visit by email or phone. A Shop Sync reader could conclude they must stop blocking the purchase, which double-counts the sale
content/docs/campaigns/tracking/testing-and-troubleshooting.mdx 70 The cause "Tracking apps for your storefront do not cover Campaigns" is contradicted by the exception list in index.mdx:27 (Meta Pixel app Conversions API, Everflow and Klaviyo do cover campaign orders)
Files Reviewed (7 files)
  • content/docs/apps/guides/marketing-attribution.mdx - no issues (platform list simplified as requested)
  • content/docs/campaigns/index.mdx - no issues
  • content/docs/campaigns/tracking/applovin-axon.mdx - deleted; no remaining links to it in the repo
  • content/docs/campaigns/tracking/getting-started.mdx - no issues
  • content/docs/campaigns/tracking/index.mdx - no issues
  • content/docs/campaigns/tracking/meta.json - no issues
  • content/docs/campaigns/tracking/more-integrations.mdx - 2 suggestions, new in this increment

Targeted re-checks of unchanged files carried four prior findings forward and confirmed the earlier nextReady and "one line" findings are now fixed.

Fix these issues in Kilo Cloud

Previous review (commit bf00798)

Status: 5 Issues Found | Recommendation: Address before merge

The latest commit (bf00798) rewrites the Tracking overview callout about dashboard apps: it softens the warning to an info callout, drops "only add their scripts to your Storefront", and restates the server-side exception list. The wording is consistent with applovin-axon.mdx:13 and everflow.mdx, and adds no new findings. The five findings below are unchanged by that commit and remain present at this HEAD, each with an active inline comment.

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 4
Issue Details (click to expand)

WARNING

File Line Issue
content/docs/campaigns/tracking/everflow.mdx 93 next.setMetadata({ ... }) here and next.addMetadata('fb_test_code', ...) in meta.mdx:184 are different method names and signatures for the same SDK call, so at least one page is wrong. The typeof guard at line 95 turns a wrong method name into a silent no-op: the ID stays in localStorage and never reaches the order, so direct-link orders report no conversion. Confirm which API 0.4.43 exposes and align both pages

SUGGESTION

File Line Issue
content/capabilities.yaml 294 developer_docs omits /docs/campaigns/tracking/google-tag-manager, google-analytics-4, more-integrations, everflow and applovin-axon, so the agent-facing capabilities.json index does not point at those five pages
content/docs/campaigns/tracking/google-analytics-4.mdx 87 The rewritten sentence still ends "through the whole funnel", the term the rest of the section now avoids
content/docs/campaigns/tracking/triple-whale.mdx 97 The callout says attribution needs "the purchase from the pixel", but the Shop Sync setup on the same page blocks the pixel purchase (triplewhale_blocked_events) and matches the Shopify order to the visit by email or phone. A Shop Sync reader could conclude they must stop blocking the purchase, which double-counts the sale
content/docs/campaigns/tracking/testing-and-troubleshooting.mdx 70 The cause "Tracking apps for your storefront do not cover Campaigns" is contradicted by the exception list in index.mdx:27 (Meta Pixel app Conversions API, Everflow and Klaviyo do cover campaign orders)
Files Reviewed (6 files)
  • content/docs/campaigns/tracking/index.mdx - no issues (callout rewrite is consistent with the app and Everflow guides)
  • content/docs/campaigns/tracking/everflow.mdx - 1 warning, re-verified at HEAD
  • content/capabilities.yaml - 1 suggestion, re-verified at HEAD
  • content/docs/campaigns/tracking/google-analytics-4.mdx - 1 suggestion, re-verified at HEAD
  • content/docs/campaigns/tracking/triple-whale.mdx - 1 suggestion, re-verified at HEAD
  • content/docs/campaigns/tracking/testing-and-troubleshooting.mdx - 1 suggestion, re-verified at HEAD

Only index.mdx changed in this increment; the other files were checked to confirm the carried-forward findings still exist.

Fix these issues in Kilo Cloud

Previous review (commit ce03576)

Status: 5 Issues Found | Recommendation: Address before merge

The incremental commits (da834d8, ce03576) rename "funnel" to "campaign" across the Tracking section, clarify that dashboard apps are Storefront-only, and correct the Triple Whale guidance for stores without Shopify. The rewrite is mostly clean; the three new findings are terminology or cross-page consistency problems, plus the two earlier open issues that are still present at HEAD with active inline comments.

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 4
Issue Details (click to expand)

WARNING

File Line Issue
content/docs/campaigns/tracking/everflow.mdx 93 next.setMetadata({ ... }) here and next.addMetadata('fb_test_code', ...) in meta.mdx:184 are different method names and signatures for the same SDK call, so at least one page is wrong. The typeof guard at line 95 turns a wrong method name into a silent no-op: the ID stays in localStorage and never reaches the order, so direct-link orders report no conversion. Confirm which API 0.4.43 exposes and align both pages (carried forward, active inline comment)

SUGGESTION

File Line Issue
content/capabilities.yaml 294 developer_docs omits /docs/campaigns/tracking/google-tag-manager, google-analytics-4, more-integrations, everflow and applovin-axon, so the agent-facing capabilities.json index does not point at those five pages (carried forward, active inline comment)
content/docs/campaigns/tracking/google-analytics-4.mdx 87 The rewritten sentence still ends "through the whole funnel", the term the rest of the section now avoids
content/docs/campaigns/tracking/triple-whale.mdx 97 The new callout says attribution needs "the purchase from the pixel", but the Shop Sync setup on the same page blocks the pixel purchase (triplewhale_blocked_events) and matches the Shopify order to the visit by email or phone. A Shop Sync reader could conclude they must stop blocking the purchase, which double-counts the sale
content/docs/campaigns/tracking/testing-and-troubleshooting.mdx 70 The cause "Tracking apps for your storefront do not cover Campaigns" is contradicted by the new exception list in index.mdx:27 (Meta Pixel app Conversions API, Everflow, Klaviyo do cover campaign orders)
Files Reviewed (14 files)
  • content/docs/apps/guides/marketing-attribution.mdx - no issues
  • content/docs/campaigns/tracking/applovin-axon.mdx - no issues
  • content/docs/campaigns/tracking/everflow.mdx - 1 warning (carried forward)
  • content/docs/campaigns/tracking/getting-started.mdx - no issues
  • content/docs/campaigns/tracking/google-analytics-4.mdx - 1 suggestion
  • content/docs/campaigns/tracking/google-tag-manager.mdx - no issues (one leftover "funnel" is on an unchanged context line)
  • content/docs/campaigns/tracking/index.mdx - no issues
  • content/docs/campaigns/tracking/meta.mdx - no issues
  • content/docs/campaigns/tracking/more-integrations.mdx - no issues
  • content/docs/campaigns/tracking/shop-sync.mdx - no issues
  • content/docs/campaigns/tracking/testing-and-troubleshooting.mdx - 1 suggestion
  • content/docs/campaigns/tracking/triple-whale.mdx - 1 suggestion
  • content/docs/storefront/checkout-links.mdx - no issues
  • content/docs/storefront/event-tracking.mdx - no issues

Note: no stale #hand-built-funnels link was found after the heading renames. Unchanged files were checked only to verify carried-forward findings.

Fix these issues in Kilo Cloud

Previous review (commit 0cabdb8)

Status: 2 Issues Found | Recommendation: Address before merge

The latest commit (0cabdb8) only removes the mermaid diagram from the Tracking overview; it adds no new findings and does not touch the two issues below, which remain present at this HEAD and already have active inline comments.

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 1
Issue Details (click to expand)

WARNING

File Line Issue
content/docs/campaigns/tracking/everflow.mdx 93 next.setMetadata({ ... }) here and next.addMetadata('fb_test_code', ...) in meta.mdx:184 are different method names and signatures for the same SDK call, so at least one page is wrong. The typeof guard at line 95 turns a wrong method name into a silent no-op: the ID stays in localStorage and never reaches the order, so direct-link orders report no conversion. Confirm which API 0.4.43 exposes and align both pages

SUGGESTION

File Line Issue
content/capabilities.yaml 294 developer_docs still omits /docs/campaigns/tracking/google-tag-manager, google-analytics-4, more-integrations, everflow and applovin-axon, so capabilities.json (the agent-facing index) will not point at those pages
Files Reviewed (3 files)
  • content/docs/campaigns/tracking/index.mdx - no issues (mermaid block removal is clean; nothing references the diagram)
  • content/docs/campaigns/tracking/everflow.mdx - 1 warning, re-verified at HEAD
  • content/capabilities.yaml - 1 suggestion, re-verified at HEAD

Previous review (commit bd2b759)

Status: 2 Issues Found | Recommendation: Address before merge

The latest commit (bd2b759) resolves the earlier window.nextReady initialisation, Triple Whale "one line" conflict and marketing opt-in wording findings. The two remaining findings are unchanged by that commit and still have active inline comments.

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 1
Issue Details (click to expand)

WARNING

File Line Issue
content/docs/campaigns/tracking/everflow.mdx 93 next.setMetadata({ ... }) and next.addMetadata('fb_test_code', ...) in meta.mdx:184 are different methods and signatures for the same SDK call. The typeof guard makes a wrong name a silent no-op, so direct-link orders keep the ID only in localStorage and no conversion is reported. Confirm which method 0.4.43 exposes and align both pages

SUGGESTION

File Line Issue
content/capabilities.yaml 294 developer_docs still omits google-tag-manager, google-analytics-4, more-integrations, everflow and applovin-axon, so capabilities.json (the agent-facing index) will not point at them
Files Reviewed (4 files)
  • content/docs/campaigns/tracking/everflow.mdx - 1 warning
  • content/docs/campaigns/tracking/triple-whale.mdx - no issues
  • content/docs/campaigns/tracking/more-integrations.mdx - no issues
  • content/capabilities.yaml - 1 suggestion

Fix these issues in Kilo Cloud

Previous review (commit 8ad9bc0)

Status: 5 Issues Found | Recommendation: Address before merge

The third commit rewrites most of the section. The previous findings on deleted pages (google-ads.mdx, tiktok.mdx), the old verification-table claims, the tax-basis bullets and the gclid snippet are all resolved by the rewrite. The remaining findings are in the new and rewritten content.

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 4
Issue Details (click to expand)

WARNING

File Line Issue
content/docs/campaigns/tracking/everflow.mdx 93 next.setMetadata({ ... }) here and next.addMetadata('fb_test_code', ...) in meta.mdx:184 are different methods and signatures for the same SDK call. The typeof guard makes a wrong name a silent no-op, so direct-link orders keep the ID only in localStorage and no conversion is reported

SUGGESTION

File Line Issue
content/docs/campaigns/tracking/everflow.mdx 96 Defers via Array.isArray(window.nextReady) without first running `window.nextReady = window.nextReady
content/docs/campaigns/tracking/triple-whale.mdx 96 "Stores without Shopify" says to add one line, but the Shop Sync set-up above adds triplewhale_platform: "SHOPIFY" and triplewhale_blocked_events, which block the purchases line 102 says the funnel sends
content/docs/campaigns/tracking/more-integrations.mdx 33 "Nothing is sent unless the marketing opt-in checkbox ... is ticked" overstates the gate; a checkout with no accepts-marketing checkbox still sends email and phone. Same wording at lines 45 and 55
content/capabilities.yaml 294 Still omits google-tag-manager, google-analytics-4, more-integrations, everflow and applovin-axon from developer_docs, so capabilities.json (the agent-facing index) will not point at them. Previous inline comment on this line remains active
Files Reviewed (21 files)
  • .github/CODEOWNERS - no issues
  • content/capabilities.yaml - 1 suggestion
  • content/docs/admin-api/guides/external-checkout.mdx - no issues
  • content/docs/apps/guides/marketing-attribution.mdx - no issues
  • content/docs/campaigns/api/index.mdx - no issues
  • content/docs/campaigns/index.mdx - no issues
  • content/docs/campaigns/meta.json - no issues
  • content/docs/campaigns/tracking/index.mdx - no issues
  • content/docs/campaigns/tracking/meta.json - no issues
  • content/docs/campaigns/tracking/getting-started.mdx - no issues
  • content/docs/campaigns/tracking/google-tag-manager.mdx - no issues
  • content/docs/campaigns/tracking/google-analytics-4.mdx - no issues
  • content/docs/campaigns/tracking/meta.mdx - no issues
  • content/docs/campaigns/tracking/everflow.mdx - 1 warning, 1 suggestion
  • content/docs/campaigns/tracking/triple-whale.mdx - 1 suggestion
  • content/docs/campaigns/tracking/applovin-axon.mdx - no issues
  • content/docs/campaigns/tracking/more-integrations.mdx - 1 suggestion
  • content/docs/campaigns/tracking/shop-sync.mdx - no issues
  • content/docs/campaigns/tracking/testing-and-troubleshooting.mdx - no issues
  • content/docs/storefront/checkout-links.mdx - no issues
  • content/docs/storefront/event-tracking.mdx - no issues

Fix these issues in Kilo Cloud

Previous review (commit 951ece6)

Status: 11 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 4
SUGGESTION 7
Issue Details (click to expand)

WARNING

File Line Issue
content/docs/campaigns/tracking/google-ads.mdx 142 "value excludes tax and shipping" contradicts the corrected value row above (tax is included on tax-inclusive stores)
content/docs/campaigns/tracking/meta.mdx 369 Closing bullet says browser value has no tax, contradicting the corrected Purchase table
content/docs/campaigns/tracking/more-integrations.mdx 23 Northbeam rebuilds total as value + tax + shipping, which double-counts tax on tax-inclusive stores (Snapchat row at 47 repeats the assumption)
content/docs/campaigns/tracking/triple-whale.mdx 163 States the upsell is part of the Shopify order, while shop-sync.mdx:46 says that timing was not checked

SUGGESTION

File Line Issue
content/docs/campaigns/tracking/shop-sync.mdx 124 gclid snippet calls window.nextReady.push without initialising the array, unlike the sibling snippets
content/docs/campaigns/tracking/testing-and-troubleshooting.mdx 22 Uses Settings > Global Settings > Allowed Domains while the other nine pages use Settings > Allowed Domains
content/docs/campaigns/tracking/index.mdx 78 Claims every guide has a Verification status table; three pages do not
content/docs/campaigns/tracking/google-tag-manager.mdx 232 Symptom "container loads" vs cause "no container loads"
content/docs/campaigns/tracking/tiktok.mdx 90 "all" lists Search/Subscribe mappings whose SDK events are never emitted on 0.4.43
content/docs/campaigns/tracking/google-ads.mdx 63 Asks for Administrator/editor access, then says Google requires at least Marketer
content/capabilities.yaml 297 Capability omits GA4, GTM and More integrations pages, so capabilities.json does not point agents at them
Files Reviewed (22 files)
  • .github/CODEOWNERS - no issues
  • content/capabilities.yaml - 1 suggestion
  • content/docs/admin-api/guides/external-checkout.mdx - no issues
  • content/docs/apps/guides/marketing-attribution.mdx - no issues
  • content/docs/campaigns/api/index.mdx - no issues
  • content/docs/campaigns/index.mdx - no issues
  • content/docs/campaigns/meta.json - no issues
  • content/docs/campaigns/tracking/index.mdx - 1 suggestion
  • content/docs/campaigns/tracking/meta.json - no issues
  • content/docs/campaigns/tracking/getting-started.mdx - no issues
  • content/docs/campaigns/tracking/events-and-attribution.mdx - no issues
  • content/docs/campaigns/tracking/triple-whale.mdx - 1 warning
  • content/docs/campaigns/tracking/meta.mdx - 1 warning
  • content/docs/campaigns/tracking/tiktok.mdx - 1 suggestion
  • content/docs/campaigns/tracking/google-ads.mdx - 1 warning, 1 suggestion
  • content/docs/campaigns/tracking/google-analytics-4.mdx - no issues
  • content/docs/campaigns/tracking/google-tag-manager.mdx - 1 suggestion
  • content/docs/campaigns/tracking/more-integrations.mdx - 1 warning
  • content/docs/campaigns/tracking/shop-sync.mdx - 1 suggestion
  • content/docs/campaigns/tracking/testing-and-troubleshooting.mdx - 1 suggestion
  • content/docs/storefront/checkout-links.mdx - no issues
  • content/docs/storefront/event-tracking.mdx - no issues

Fix these issues in Kilo Cloud


Reviewed by deepseek-v4.1-flash-1017 · Input: 41.4K · Output: 9.1K · Cached: 466.6K

Rewrites the Tracking section in plain language for merchants and
developers, and corrects it against the SDK (v0.4.43), starter
templates, store app and Shop Sync source.

- Remove per-claim verification tables, "Unconfirmed" framing and
  SDK 0.5.0 content; the section describes SDK 0.4.43.
- Triple Whale: one Shop Sync setup (block funnel purchases, Contact
  on); add a section for stores without Shopify.
- Everflow: new page covering redirect and direct links, the bridge,
  reporting from GTM, and more than one affiliate network.
- AppLovin Axon: new page, with a server function that keeps Axon's
  cookie for a year.
- Fold Google Ads into the GA4 page and TikTok into More integrations.
- Replace the Events and attribution page with links to the SDK
  reference; point Shop Sync detail at the existing Shop Sync guides.
- Fix source-contradicted claims (Everflow postback fields and
  repeats, purchase reporting, amounts and tax, Shop Sync orders).
- Campaigns page: shorten the Analytics section and link to Tracking.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
masmalsah and others added 2 commits November 16, 2026 16:31
…pt-in wording

- Everflow bridge: create the SDK ready queue if it does not exist yet,
  so the deferred write is not dropped.
- Triple Whale, stores without Shopify: say to add only the one line.
- TikTok, Snapchat, Pinterest: shopper details are held back only when
  a marketing opt-in checkbox exists and is unticked.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The three numbered steps above it already say the same thing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@masmalsah masmalsah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed against the SDK (v0.4.43), the starter templates, the store apps and Shop Sync. Rather than leave comments I pushed the changes to this branch (8ad9bc0, bd2b759, 0cabdb8). The description is updated with what changed and why.

In short:

  • Rewritten in plain language, about half the length.
  • Verification tables, "Unconfirmed" labels and SDK 0.5.0 content removed.
  • Triple Whale on Shop Sync is one setup: funnel purchase blocked, Contact on.
  • Everflow and AppLovin Axon have their own pages. Google Ads is folded into GA4 and TikTok into More integrations. The events reference links to the SDK docs.
  • Claims the source contradicted are fixed, mostly on Everflow and on how purchases and amounts are reported.

Still not proven, and listed in the description: Triple Whale attribution on a Shop Sync store, Triple Whale on a store without Shopify, and the Axon cookie function on a production funnel.

Good to merge from my side.

brettstirlingbond and others added 2 commits November 17, 2026 11:13
Triple Whale attributes a sale only when it gets both the pixel purchase
and a matching order record. NEXT sends no orders to Triple Whale's Orders
API, so stores without Shopify get pixel events but no attributed sales.
Mark that as not supported yet, point those stores to Shop Sync, and scope
the overview and getting-started entries to Shopify stores.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Storefront only

Refer to the thing being tracked as a campaign, and to the product as
Campaigns, keeping funnel only where it means a shopper's path. Replace
the storefront-apps callout: apps set up under Apps in the dashboard add
scripts to the Storefront only and are not added to Campaigns; the
server-side Meta, Everflow and Klaviyo apps are the exceptions. Same
note on the GA4, GTM, Axon, TikTok and Taboola sections. GA4 verify steps
now connect Tag Assistant so DebugView shows events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alexphelps
alexphelps removed their request for review November 17, 2026 01:43

A starter template campaign is a static site, so this needs a small server function. On Netlify, add this one file. It runs on every page request, and when the shopper already has `_axwrt`, it adds `axwrt` to the response:

```js title="netlify/edge-functions/axwrt.js"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brettstirlingbond @masmalsah we shouldn't document using netlify edge functions, should be a standard page template. Netlify edge functions also cannot be tested locally.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in 9843eab. The Netlify function is gone, and Axon is back to a short entry on More integrations. It now only says AppLovin recommends setting the cookie from the server, links to their page, and notes the starter templates don't do this because they're static sites.

When you say it should be a standard page template, what do you mean?

## Campaigns & API Order Attribution

<Callout type="info" title="Setting up tracking on a campaign">
This guide is for building an attribution app. To set up Triple Whale, Meta, TikTok, Google Ads or another platform on a NEXT campaign, see [Tracking](/docs/campaigns/tracking).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should simplify and not list every tracking service...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 9843eab. It now reads "To set up ad tracking on a NEXT campaign, see Tracking". I shortened the same kind of list on the Campaigns page too.

- Remove the Netlify edge function from the Axon guide. Keep AppLovin's
  recommendation and link, and note that a static campaign needs a server
  to set the cookie.
- With that gone Axon is a one-line setup again, so fold it back into
  More integrations and remove its page.
- Pointers to Tracking no longer list individual platforms.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brettstirlingbond
brettstirlingbond merged commit 32d5fd0 into main Nov 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants