Connecting Drupal Commerce to Walmart Connect
Drupal Commerce is self-hosted commerce inside a CMS built for complex content, which means the store is one part of a much larger site you fully control. 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 Drupal 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
Drupal Commerce and Walmart Connect: two stores, two ledgers
There is nothing to send from Drupal Commerce to Walmart Connect: it measures purchases inside Walmart, while Drupal orders are direct sales to customers Walmart never sees. The useful connection is product data, holding Walmart item IDs on the Drupal product variation beside SKU and GTIN. Report Walmart ad sales and Drupal orders in separate columns, never summed.
Walmart Connect measures purchases made inside Walmart, matched against Walmart's own transactions. Your Drupal Commerce orders are direct sales from your own site, to customers Walmart never sees. There is nothing to send from Drupal to Walmart Connect, and no event pipeline improves this pair.
The connection worth building is in product data. Brands selling direct on Drupal and on Walmart's marketplace or shelves need their items mapped to Walmart's item IDs, and the Drupal product variation is the natural place to hold that mapping, alongside SKU and GTIN. When a variation is renamed, repackaged or discontinued in Drupal, the Walmart listing and the ads pointing at it should change too; otherwise you pay for ads on an item the report can no longer attribute back to you.
Reporting must keep the two apart. Walmart-reported ad sales and Drupal orders describe different customers, and each is measured on different terms by a different system, so a dashboard that sums them produces a figure nobody can check. Show them in separate columns. If you want to know whether Walmart ads hurt or help direct sales, compare Drupal orders in periods or regions with and without Walmart spend rather than trying to join the two datasets.
Drupal Commerce → Walmart Connect · what breaks
Why this join usually fails — Drupal Commerce → Walmart Connect
- 01
Walmart's own order match — there is no identifier you control never reaches Drupal Commerce
Drupal's internal page cache and any reverse proxy in front of it serve stored renders, so anything relying on dynamically rendered values fails intermittently. Multilingual and multi-site installs add further paths where the capture code may simply not run.
- 02
Configurable workflow states nobody agreed on
Drupal Commerce lets each install define its own order states. Two people reporting on the same store routinely count different states and never reconcile.
- 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.
Drupal Commerce → Walmart Connect · the fix
What working looks like — Drupal Commerce → 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
Drupal Commerce → Walmart Connect · architecture
How Drupal Commerce and Walmart Connect actually connect
- 1
Drupal Commerce holds the truth
You own the database, so the truth is exactly as good as the query. Pin down which order states count as revenue before comparing anything — Drupal's workflow states are configurable per install, so no two sites agree by default.
- 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 Drupal Commerce order.
- 4
The event source decides reliability
Fire server-side from the hook rather than the checkout completion template, which is cacheable and may not execute anything.
- 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.
Drupal Commerce → Walmart Connect · normal or broken
Working vs. broken, side by side — Drupal Commerce → Walmart Connect
Normal, not a fault
Walmart's own order match — there is no identifier you control present on the order
Sent from the Drupal Commerce order placement hook
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
Actually broken
Walmart's own order match — there is no identifier you control missing on most records
Drupal's internal page cache and any reverse proxy in front of it serve stored renders, so anything relying on dynamically rendered values fails intermittently. Multilingual and multi-site installs add further paths where the capture code may simply not run.
Sent from the browser
Drupal Commerce lets each install define its own order states. Two people reporting on the same store routinely count different states and never reconcile.
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
Drupal Commerce → Walmart Connect · diagnose
Diagnostic order — Drupal Commerce → 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
List the order states in use and agree which count as revenue
Do this before any technical work — it resolves more Drupal Commerce disputes than any code change.
- 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.
Drupal Commerce → Walmart Connect · prove
How it gets proven — Drupal Commerce → Walmart Connect
Source of truth
Drupal's commerce_order records in your own database, filtered to completed states.
- 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 field data confirmed populated on an order placed through a fully warmed cache as an anonymous visitor.
Drupal Commerce → 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
- List the order states in use and agree which count as revenue
- Check whether retail media sales are entering your blended revenue figure
- Read the match rate, not the success message
Checked against
Drupal's commerce_order records in your own database, filtered to completed states.
Free30 minutesNo obligation
Drupal Commerce → Walmart Connect · when not to buy
When you don't need this — Drupal Commerce → Walmart Connect
- 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 your Drupal site is content-only with commerce elsewhere, work at the commerce system instead — this is the wrong layer.
- 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.
Drupal Commerce → Walmart Connect · what we deliver
What gets built — Drupal Commerce → Walmart Connect
Identifier capture into Drupal Commerce
Capture the identifier and persist it as order field data through a hook on order placement, server-side, so it never depends on what the cache served.
Event source: the Drupal Commerce order placement hook
Fire server-side from the hook rather than the checkout completion template, which is cacheable and may not execute anything.
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
Order state transitions to refunded or cancelled are recorded and can drive reversals.
Written guarantee
95%+ tracking accuracy
Measured against Drupal's commerce_order records in your own database, filtered to completed states.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Drupal Commerce → Walmart Connect questions, answered
No. Walmart Connect only measures purchases in Walmart's own data, and website orders have no place in it.
Keep each variation's Walmart item ID with its SKU and GTIN in Drupal so listings stay mapped, and report Walmart sales separately from Drupal orders.
Almost always because Walmart's own order match — there is no identifier you control never reached the Drupal Commerce order. Drupal's internal page cache and any reverse proxy in front of it serve stored renders, so anything relying on dynamically rendered values fails intermittently. Multilingual and multi-site installs add further paths where the capture code may simply not run. 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 Drupal Commerce order placement hook. Fire server-side from the hook rather than the checkout completion template, which is cacheable and may not execute anything.
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 Drupal Commerce → Walmart Connect
- Squarespace → Walmart ConnectConnecting Squarespace Commerce to Walmart Connect
- Flow → Walmart ConnectConnecting Flow Commerce to Walmart Connect
- Drupal Commerce → Google AdsConnecting Drupal Commerce to Google Ads
RELATED GUIDES
Where Drupal Commerce → Walmart Connect fits in the rest of your tracking
- Contentful → Walmart ConnectConnecting Contentful to Walmart Connect
- Sitecore → Walmart ConnectConnecting Sitecore to Walmart Connect
- Concrete CMS → Walmart ConnectConnecting Concrete CMS to Walmart Connect
- Drupal Commerce → DV360Connecting Drupal Commerce to Display & Video 360
- Drupal Commerce → The Trade DeskConnecting Drupal Commerce to The Trade Desk
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Webflow → Walmart ConnectConnecting Webflow to Walmart Connect
- Statamic → Walmart ConnectConnecting Statamic to Walmart Connect
Free · 30 min
Get Drupal Commerce and Walmart Connect joined properly
Free30 minutesNo obligation
