Repository navigation
Campaign tracking guides: Campaign Cart SDK 0.5.2 - #81
Open
next-devin wants to merge 2 commits into
Open
next-devin wants to merge 2 commits into
next-devin wants to merge 2 commits into
Conversation
The starter templates load SDK 0.5.2. Point the GTM, testing, Everflow and overview pages at the 0.5.2 SDK reference, say when 0.5.2 sends the purchase, document blockedEvents and the ?debug=1 panel, and keep the 0.4.43 links only for campaigns still on 0.4.x.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
developer-docs | ce624f7 | Commit Preview URL Branch Preview URL |
Dec 04 2026, 05:28 AM |
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (2 files)
Fix these issues in Kilo Cloud Previous Review Summary (commit bb8d22e)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit bb8d22e)Status: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (6 files)
Reviewed by deepseek-v4.1-flash-1017 · Input: 29.6K · Output: 7.1K · Cached: 367.2K |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The starter templates now load Campaign Cart SDK 0.5.2. This brings the rest of the campaign tracking guides in line with it, after #77. Every behaviour below was checked against the SDK source at
v0.5.2(src/analytics/,src/compat/analytics/,src/engine/visit/). The 0.4.43 links stay only where a campaign still on 0.4.x needs them.google-tag-manager.mdx
sdk_version.analytics.destinations.gtm.enabledswitch;destinationswins when both are set.dl_purchasetiming: on 0.5.2 it fires on the checkout page when paid there, or on the first page the shopper returns to after an off-page payment (PayPal). The 0.4.x timing stays as a separate row.dl_generate_leadanddl_skipped_upsell. Says thedl_*format is deprecated but still sent. Corrects whichuser_propertieseach event carries on 0.5.2.providers.gtm.blockedEvents(dl_*names) anddestinations.gtm.blockedEvents(tracking names, 0.5.2). A destinations list replaces the providers list. A blocked event still reacheswindow.NextDataLayer.?debug=1/?debug=0. Adds a troubleshooting row for blocked events.window.dataLayerby default, so only the container is needed. Links the GTM destination reference, plusnext.analytics.onfor custom shapes.testing-and-troubleshooting.mdx
?debug=1panel. The 0.4.43 debugger link is kept for 0.4.x.?ignore=falseturns tracking back on.analytics.moderow is marked 0.4.x only (0.5.2 ignores it). New rows coverblockedEventsand a 0.5.2 missing purchase.index.mdx
next.actions.setMetadata,next.analytics.on,?debug=1, migration guide) next to the 0.4.x column. The intro sentence is the same as Campaign Cart SDK 0.5.1 and 0.5.2 updates #77's, so the two PRs merge cleanly in either order.everflow.mdx
aff/affidandsub1–sub5behaviour is unchanged.getting-started.mdx, google-analytics-4.mdx
dl_*stream, so it follows the same timing.Checks:
npm run validate-links,check-markupandcheck-frontmatterpass.npm run generateleft no tracked files changed. Everycart-sdk.nextcommerce.comlink in the section resolves.