Connecting Craft CMS to Instacart Ads
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. Instacart sits between a brand and a shopper who is buying from a grocer, which puts two intermediaries between your advertising and the purchase — and neither of them shares the customer with you. The join between them succeeds or fails on one thing: whether Instacart's internal basket match reaches the Craft Commerce order before the conversion happens, because Instacart Ads can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Craft CMS and Instacart Ads: nothing to send from your site
There is nothing to send: Instacart Ads measures grocer sales inside Instacart, and a Craft site holds no click, identifier or order in that chain. Craft's role is product data; if its entries are your master names, sizes and UPCs, use them to check Instacart catalog accuracy, and keep Instacart sales out of Commerce revenue.
Instacart Ads measures sales inside Instacart, of products a grocer stocks, attributed by Instacart. A Craft website, with or without Commerce, has no part in that chain: there is no click on your site, no identifier you hold and no order record of yours. Packaged-goods brands often run a Craft site for recipes, product pages and a store locator, and none of that touches Instacart's measurement.
The adjacent piece Craft does touch is product information. If your Craft product entries are the brand's master copy of names, sizes and UPCs, that is where Instacart catalog accuracy starts, because a mismatched UPC means ads run against an item the report cannot attribute. Links from a Craft product page out to Instacart can be counted as outbound clicks in your web analytics, but what those people bought stays inside Instacart.
Keep Instacart-attributed sales out of any revenue figure that includes your own Commerce store. They are different shoppers buying from a grocer, while Craft Commerce DTC orders already sit in your own database with your own customers on them. If the brand has no grocery distribution, there is no Instacart integration to build at all, and the Craft site's measurement work belongs with the web ad platforms.
Craft → Instacart Ads · what breaks
Why this join usually fails — Craft → Instacart Ads
- 01
Instacart's internal basket match 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
Out-of-stock spend that still reports impressions
Retail media keeps serving while the item is unavailable at the retailer. The impressions are real, the clicks are real, and the sales cannot happen. Nothing in the ad platform surfaces this — it is visible only in retailer stock data.
- 04
Nothing reconciles afterwards
Instacart's reporting is the only source. Reconcile against retailer sell-through and stock data, which is where the real explanation for a weak week usually lives.
Craft → Instacart Ads · the fix
What working looks like — Craft → Instacart Ads
Instacart's internal basket match on every order
Conversions arriving in Instacart Ads
Attributed sales appear in Instacart's reporting under its own model and window.
Reconciled against the source
Craft CMS's own records are the reference, not either dashboard.
Craft → Instacart Ads · architecture
How Craft and Instacart Ads 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
Instacart Ads needs a click to match
Correct product matching to Instacart's catalogue. If your items are mismapped or out of stock at the retailers your ads reach, spend continues and the attributed sales do not.
- 3
The identifier is the bridge
Instacart's internal basket match, 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
Nothing on your side to deduplicate. The real hazard is double-counting across retail media networks that each claim the same household's grocery basket.
Craft → Instacart Ads · normal or broken
Working vs. broken, side by side — Craft → Instacart Ads
Normal, not a fault
Instacart's internal basket match 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
Nothing on your side to deduplicate. The real hazard is double-counting across retail media networks that each claim the same household's grocery basket.
Reconciles with the source
Instacart Ads's count and Craft CMS's records agree within a few percent over a closed window.
Actually broken
Instacart's internal basket match 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
Retail media keeps serving while the item is unavailable at the retailer. The impressions are real, the clicks are real, and the sales cannot happen. Nothing in the ad platform surfaces this — it is visible only in retailer stock data.
Nobody has reconciled it
The dashboard shows a number and no one has compared it to Craft CMS.
Craft → Instacart Ads · diagnose
Diagnostic order — Craft → Instacart Ads
- 01
Count orders carrying Instacart's internal basket match
- 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
Cross-check ad delivery against in-stock rates by retailer
This is the most common and most expensive failure in retail media, and it is an operations problem rather than a bidding one.
- 05
Read the match rate, not the success message
Instacart's reporting is the only source. Reconcile against retailer sell-through and stock data, which is where the real explanation for a weak week usually lives.
Craft → Instacart Ads · prove
How it gets proven — Craft → Instacart Ads
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.
- Instacart's internal basket match confirmed present on a live order.
- Attributed sales reported separately, cross-checked against in-stock rates for the same period.
- Order custom field confirmed populated on an order placed as an anonymous visitor through cache.
Craft → Instacart Ads · free audit
What we check in the free audit
- Count orders carrying Instacart's internal basket match
- Follow one real conversion end to end
- Read how this specific build handles order completion
- Cross-check ad delivery against in-stock rates by retailer
- 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 → Instacart Ads · when not to buy
When you don't need this — Craft → Instacart Ads
- If Instacart Ads 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 Instacart's internal basket match.
- If the original agency is still engaged, the fastest path is usually specifying the field and having them add the hook.
- Brands without grocery distribution have nothing to advertise here, and the catalogue work is the whole prerequisite.
Craft → Instacart Ads · what we deliver
What gets built — Craft → Instacart Ads
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 Instacart Ads
No conversion dispatch. Like other retail media, the integration is catalogue accuracy plus a reporting discipline.
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 → Instacart Ads questions, answered
No. Instacart attributes sales inside its own app and retailer data; you can count clicks out to Instacart from your site, but not the resulting purchases.
Only as the source for correct product details like UPCs and sizes, which Instacart's catalog matching depends on. Nothing is sent from Craft as a conversion.
Almost always because Instacart's internal basket match 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.
Instacart attributes ad exposure to items added to a basket inside its own app. There is no identifier of yours anywhere in the chain, and the shopper's relationship is with Instacart and the retailer, not with you. You are buying visibility on a shelf you do not own.
The Craft Commerce order-complete event. Fire from the event listener in PHP rather than a Twig template, which may be cached.
Instacart's reporting is the only source. Reconcile against retailer sell-through and stock data, which is where the real explanation for a weak week usually lives.
More on Craft → Instacart Ads
- Craft → Google AdsConnecting Craft CMS to Google Ads
- Craft → Microsoft AdsConnecting Craft CMS to Microsoft Ads
- Craft → Apple Search AdsConnecting Craft CMS to Apple Search Ads
RELATED GUIDES
Where Craft → Instacart Ads fits in the rest of your tracking
- Drupal Commerce → Instacart AdsConnecting Drupal Commerce to Instacart Ads
- Webflow → Instacart AdsConnecting Webflow to Instacart Ads
- Sitecore → Instacart AdsConnecting Sitecore to Instacart Ads
- Craft → Walmart ConnectConnecting Craft CMS to Walmart Connect
- Craft → OutbrainConnecting Craft CMS to Outbrain
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Sanity → Instacart AdsConnecting Sanity to Instacart Ads
- Concrete CMS → Instacart AdsConnecting Concrete CMS to Instacart Ads
Free · 30 min
Get Craft and Instacart Ads joined properly
Free30 minutesNo obligation
