Connecting Saleor to Google Ads
Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. Google Ads knows what you spent and which click it came from, and nothing at all about what happened afterwards. The join between them succeeds or fails on one thing: whether the GCLID reaches the Saleor order before the conversion happens, because Google Ads can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Saleor to Google Ads: gclid in privateMetadata, upload on paid
Write the gclid to the Saleor checkout's privateMetadata with updatePrivateMetadata before completion, or onto the order right after checkoutComplete, and give gbraid and wbraid their own keys. Upload from the ORDER_FULLY_PAID webhook to an import-type conversion action at the order total in the channel's currency, with hashed email for enhanced conversions. Map each channel to its own action.
For Google Ads, the gclid captured by the storefront needs to be written to the checkout's privateMetadata with an updatePrivateMetadata mutation before the checkout is completed. Check that the metadata transfers to the order in your Saleor version; if it does not, write it to the order right after checkoutComplete returns. Then upload from the ORDER_FULLY_PAID webhook to an import-type conversion action, valued at the order total in the channel's currency.
Headless builds often rely on server-side rendering, and a storefront that strips query parameters on redirect or routes through a middleware rewrite can drop the gclid before the client code sees it. Check the landing URL as rendered, with auto-tagging on, and confirm the gclid is in the stored value. gbraid and wbraid need their own metadata keys.
Enhanced conversions are simple here because the order has the customer email; send it hashed with the upload. Refunds and cancellations should be retractions or restatements against the same order ID. Saleor setups with more than one channel, such as a US and a UK storefront on separate domains, should map each channel to its own conversion action or currency, or Smart Bidding will mix values.
Saleor → Google Ads · what breaks
Why this join usually fails — Saleor → Google Ads
- 01
The GCLID never reaches Saleor
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
- 02
A storefront that knows the click and an API that holds the money
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
- 03
The conversion action is the wrong type
Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.
- 04
Nothing reconciles afterwards
Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.
Saleor → Google Ads · the fix
What working looks like — Saleor → Google Ads
The GCLID on every order
Conversions arriving in Google Ads
Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent — which is what lets Smart Bidding optimize toward revenue instead of toward form fills.
Reconciled against the source
Saleor → Google Ads · architecture
How Saleor and Google Ads actually connect
- 1
Saleor holds the truth
In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.
- 2
Google Ads needs a click to match
Google Ads matches an uploaded conversion back to a click using the GCLID. The conversion action must be created as an import type — an upload against a website-tag conversion action is rejected. Uploads must also land inside Google's window: the click has to be within the last 90 days.
- 3
The identifier is the bridge
The GCLID, captured at the visit and carried into the Saleor order.
- 4
The event source decides reliability
Send fully paid orders at their net total, sourced from the API.
- 5
Deduplication at the destination
Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.
Saleor → Google Ads · normal or broken
Working vs. broken, side by side — Saleor → Google Ads
Normal, not a fault
The GCLID present on the order
Sent from the Saleor order webhook
Deduplicated correctly
Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.
Reconciles with the source
Actually broken
The GCLID missing on most records
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
Sent from the browser
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
Counted twice, or not at all
Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.
Nobody has reconciled it
Saleor → Google Ads · diagnose
Diagnostic order — Saleor → Google Ads
- 01
Count orders carrying the GCLID
- 02
Follow one real conversion end to end
- 03
Inspect order metadata on a live order for the identifier
Either it is on the order or the attribution is guesswork. There is no middle state.
- 04
Check the conversion action type and the upload diagnostics
In Google Ads, Goals → Conversions → Uploads shows every upload with its error rows. Read the errors rather than the success count; a file can import successfully with most rows rejected.
- 05
Read the match rate, not the success message
Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.
Saleor → Google Ads · prove
How it gets proven — Saleor → Google Ads
Source of truth
Saleor orders by payment status, read from the API rather than inferred from the storefront.
- The GCLID confirmed present on a live order.
- The Uploads diagnostics read row by row, with the accepted count reconciled against conversions appearing in campaign reporting.
- Paid orders reconciled from the API against imported conversions.
Saleor → Google Ads · free audit
What we check in the free audit
- Count orders carrying the GCLID
- Follow one real conversion end to end
- Inspect order metadata on a live order for the identifier
- Check the conversion action type and the upload diagnostics
- Read the match rate, not the success message
Checked against
Saleor orders by payment status, read from the API rather than inferred from the storefront.
Free30 minutesNo obligation
Saleor → Google Ads · when not to buy
When you don't need this — Saleor → Google Ads
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the GCLID.
- If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard integration.
- If your sales close inside a few days and your website tag already reports accurately, you may not need offline import at all. It exists to solve the delay between click and revenue.
Saleor → Google Ads · what we deliver
What gets built — Saleor → Google Ads
Identifier capture into Saleor
Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.
Event source: the Saleor order webhook
Send fully paid orders at their net total, sourced from the API.
Dispatch to Google Ads
Offline Conversion Import through the Google Ads API, or a scheduled upload. Enhanced conversions for leads where GCLID coverage is poor and you have consented email addresses.
Reversals where they exist
Refunds and cancellations reverse.
Written guarantee
95%+ tracking accuracy
Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Saleor → Google Ads questions, answered
In checkout or order privateMetadata, written through the API by the storefront at checkout, not in the browser session.
ORDER_FULLY_PAID, so unpaid or partially paid orders are not uploaded as conversions.
Almost always because the GCLID never reached the Saleor order. The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there. Measure coverage before debugging the dispatch.
The GCLID — the click ID Google appends to your landing page URL when auto-tagging is on. For iOS App campaigns and some Shopping traffic you will see GBRAID or WBRAID instead, and those behave differently: WBRAID cannot be used with user-provided data in the same way, and neither joins to an individual user. Enhanced conversions for leads is the alternative path, matching on hashed email or phone rather than a click ID, and it is the right choice when GCLID coverage is poor.
The Saleor order webhook. Send fully paid orders at their net total, sourced from the API.
Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.
More on Saleor → Google Ads
- Google Ads · Lead → booked callHow to track lead to booked call for Google Ads
- Google Ads · Booked call → closed wonHow to track booked call to closed won for Google Ads
- Google Ads · Free trial → paidHow to track free trial to paid for Google Ads
RELATED GUIDES
Where Saleor → Google Ads fits in the rest of your tracking
- Google Ads · Jewelry ecommerceGoogle Ads conversion tracking for jewelry ecommerce brands
- Google Ads · Furniture ecommerceGoogle Ads conversion tracking for furniture ecommerce brands
- Google Ads × Ecommerce OrdersHow to reconcile Google Ads against your store's order table
- Google Ads · Add to cart → purchaseHow to track add to cart to purchase for Google Ads
- SureCart → Google AdsConnecting SureCart to Google Ads
- Saleor → MetaConnecting Saleor to Meta Conversions API
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- Braintree → Google AdsConnecting Braintree to Google Ads
Free · 30 min
Get Saleor and Google Ads joined properly
Free30 minutesNo obligation
