Connecting Craft CMS to Walmart Connect
Craft is a developer-oriented CMS, usually built bespoke by an agency, which means the implementation is whatever that agency decided and nothing is standard. Walmart Connect is closed-loop retail media: Walmart owns the shopper, the basket and the measurement, and you are buying placement inside somebody else's store. The join between them succeeds or fails on one thing: whether Walmart's own order match — there is no identifier you control reaches the Craft Commerce order before the conversion happens, because Walmart Connect can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Craft Commerce and Walmart Connect: separate columns
Nothing on a Craft site feeds Walmart Connect, which uses Walmart's own transaction data. Craft's role is product data: keep the Walmart item ID on each Craft variant so SKUs and GTINs can be checked against Walmart item mapping by script. Never sum Walmart-attributed sales and Craft Commerce revenue into one ROAS.
Walmart Connect measures sales of your products inside Walmart, using Walmart's transaction data. Nothing on a Craft site feeds that: no click identifier, no pixel Walmart's attribution relies on, no order record of yours. A brand selling both through Walmart and through its own Craft Commerce store has two sales channels with two different sets of customers.
Where Craft does matter is product data. If Craft Commerce products and variants are the brand's master record of SKUs, names and GTINs, that is what Walmart item mapping should be checked against, because a mismatch means Walmart ads run against items the report cannot attribute back. Keeping the Walmart item ID as a field on each Craft variant lets the two catalogs be compared by a script rather than by eye.
The reporting rule is the one people break. Walmart-attributed sales and Craft Commerce order revenue must never be summed into one blended ROAS. When Walmart ads run, Craft DTC orders may rise from people who saw the product there and bought direct, and only a regional comparison of your own Commerce orders can show that. Report Walmart sales against Walmart sell-through, and Craft orders from Craft's own database.
Craft → Walmart Connect · what breaks
Why this join usually fails — Craft → Walmart Connect
- 01
Walmart's own order match — there is no identifier you control never reaches Craft
Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.
- 02
Every install is bespoke
There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.
- 03
Retail media sales added to DTC revenue
They are different customers buying in a different place. Summing Walmart-attributed sales with your own site revenue produces a total that describes no real business, and it hides that your DTC channel may be flat while retail grows — or the reverse.
- 04
Nothing reconciles afterwards
Walmart's reporting is the only source and it cannot be independently verified. Reconcile against your own sell-through and inventory data instead — that is the number you actually control.
Craft → Walmart Connect · the fix
What working looks like — Craft → Walmart Connect
Walmart's own order match — there is no identifier you control on every order
Conversions arriving in Walmart Connect
Sales appear in Walmart's advertising reporting, attributed under their model and their window, with no per-order detail you can inspect.
Reconciled against the source
Craft CMS's own records are the reference, not either dashboard.
Craft → Walmart Connect · architecture
How Craft and Walmart Connect actually connect
- 1
Craft CMS holds the truth
Craft installs are bespoke by nature. Establish how this particular build models a completed order before assuming anything transfers from another Craft site.
- 2
Walmart Connect needs a click to match
Nothing from your website, which is the point. What Walmart needs is your item catalogue mapped correctly to its own item IDs, because a mismatch means your ads run against products the report cannot attribute back to you.
- 3
The identifier is the bridge
Walmart's own order match — there is no identifier you control, captured at the visit and carried into the Craft Commerce order.
- 4
The event source decides reliability
Fire from the event listener in PHP rather than a Twig template, which may be cached.
- 5
Deduplication at the destination
There is nothing to deduplicate on your side. The risk runs the other way: Walmart-reported sales and your own DTC conversions describe different customers entirely and must never be summed.
Craft → Walmart Connect · normal or broken
Working vs. broken, side by side — Craft → Walmart Connect
Normal, not a fault
Walmart's own order match — there is no identifier you control present on the order
Visible on the record itself in Craft CMS, not merely captured somewhere on the site.
Sent from the Craft Commerce order-complete event
Deduplicated correctly
There is nothing to deduplicate on your side. The risk runs the other way: Walmart-reported sales and your own DTC conversions describe different customers entirely and must never be summed.
Reconciles with the source
Walmart Connect's count and Craft CMS's records agree within a few percent over a closed window.
Actually broken
Walmart's own order match — there is no identifier you control missing on most records
Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.
Sent from the browser
There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.
Counted twice, or not at all
They are different customers buying in a different place. Summing Walmart-attributed sales with your own site revenue produces a total that describes no real business, and it hides that your DTC channel may be flat while retail grows — or the reverse.
Nobody has reconciled it
The dashboard shows a number and no one has compared it to Craft CMS.
Craft → Walmart Connect · diagnose
Diagnostic order — Craft → Walmart Connect
- 01
Count orders carrying Walmart's own order match — there is no identifier you control
- 02
Follow one real conversion end to end
- 03
Read how this specific build handles order completion
Assumptions carried from another Craft project are the main source of wasted time here.
- 04
Check whether retail media sales are entering your blended revenue figure
If they are, every efficiency ratio you compute across channels is mixing two businesses.
- 05
Read the match rate, not the success message
Walmart's reporting is the only source and it cannot be independently verified. Reconcile against your own sell-through and inventory data instead — that is the number you actually control.
Craft → Walmart Connect · prove
How it gets proven — Craft → Walmart Connect
Against Craft CMS's own records, not against either platform's dashboard.
Source of truth
Craft Commerce's order records in your own database, filtered to completed.
- Walmart's own order match — there is no identifier you control confirmed present on a live order.
- Walmart-attributed sales reported as their own line, reconciled against sell-through, and demonstrably absent from DTC revenue.
- Order custom field confirmed populated on an order placed as an anonymous visitor through cache.
Craft → Walmart Connect · free audit
What we check in the free audit
- Count orders carrying Walmart's own order match — there is no identifier you control
- Follow one real conversion end to end
- Read how this specific build handles order completion
- Check whether retail media sales are entering your blended revenue figure
- Read the match rate, not the success message
Checked against
Craft Commerce's order records in your own database, filtered to completed.
Free30 minutesNo obligation
Craft → Walmart Connect · when not to buy
When you don't need this — Craft → Walmart Connect
- If Walmart Connect already reports conversions that reconcile against Craft CMS's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry Walmart's own order match — there is no identifier you control.
- If the original agency is still engaged, the fastest path is usually specifying the field and having them add the hook.
- If you do not sell through Walmart, this is irrelevant. If you do, the honest position is that this channel is measured by the retailer and your job is to keep it in its own column.
Craft → Walmart Connect · what we deliver
What gets built — Craft → Walmart Connect
Identifier capture into Craft
Capture the identifier and store it as a custom field on the order through a Craft event listener, server-side.
Event source: the Craft Commerce order-complete event
Fire from the event listener in PHP rather than a Twig template, which may be cached.
Dispatch to Walmart Connect
There is no conversion to dispatch. This is the rare destination where the correct integration is a catalogue feed and a reporting reconciliation rather than an event pipeline.
Reversals where they exist
Refunds and cancelled orders are recorded against the order.
Written guarantee
95%+ tracking accuracy
Measured against Craft Commerce's order records in your own database, filtered to completed.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Craft → Walmart Connect questions, answered
No. Walmart Connect attributes sales inside Walmart's own data; there is no conversion for your Craft store to send.
No. They are different customers buying in a different place; report them in separate columns.
Almost always because Walmart's own order match — there is no identifier you control never reached the Craft Commerce order. Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look. Measure coverage before debugging the dispatch.
Attribution happens entirely inside Walmart. They match ad exposure to purchases in their own transaction data and report the result to you. There is no click identifier to capture, no cookie to persist, and no way to verify the match independently, because you never see the shopper.
The Craft Commerce order-complete event. Fire from the event listener in PHP rather than a Twig template, which may be cached.
Walmart's reporting is the only source and it cannot be independently verified. Reconcile against your own sell-through and inventory data instead — that is the number you actually control.
More on Craft → Walmart Connect
- Concrete CMS → Walmart ConnectConnecting Concrete CMS to Walmart Connect
- Craft → Google AdsConnecting Craft CMS to Google Ads
- Craft → MetaConnecting Craft CMS to Meta Conversions API
RELATED GUIDES
Where Craft → Walmart Connect fits in the rest of your tracking
- Sitecore → Walmart ConnectConnecting Sitecore to Walmart Connect
- AEM → Walmart ConnectConnecting Adobe Experience Manager to Walmart Connect
- Statamic → Walmart ConnectConnecting Statamic to Walmart Connect
- Craft → LiveRampConnecting Craft CMS to LiveRamp
- Craft → Instacart AdsConnecting Craft CMS to Instacart Ads
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Contentful → Walmart ConnectConnecting Contentful to Walmart Connect
- Sanity → Walmart ConnectConnecting Sanity to Walmart Connect
Free · 30 min
Get Craft and Walmart Connect joined properly
Free30 minutesNo obligation
