Skip to main content
Saleor → Microsoft AdsIntegration guide

Connecting Saleor to Microsoft 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. Microsoft Ads reaches an older, higher-income, more desktop-weighted audience than Google, and it is routinely the cheapest qualified traffic a B2B advertiser can buy. The join between them succeeds or fails on one thing: whether the MSCLKID reaches the Saleor order before the conversion happens, because Microsoft Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Saleor to Microsoft Ads: MSCLKID in private metadata, paid value

Store the MSCLKID first-party in the storefront and write it to the Saleor order's private metadata at checkout. When the paid-order webhook fires, upload the conversion to an offline goal with net total, payment time and the order's currency. If UET also runs, make sure only one source counts toward the bidding goal, and send refund adjustments where supported.

The Microsoft join on Saleor is a metadata problem. The MSCLKID lands on the storefront URL, is stored first-party by the storefront app, and must be written to the order's metadata at checkout; private metadata keeps it out of client-facing queries. When the paid-order webhook fires, a server job reads it and uploads the conversion to an offline goal with the net total and the payment time.

Headless storefronts often run UET only in the browser, and with client-side routing a confirmation page built as a route change may fire nothing unless you send the event explicitly. If you keep UET for audiences and remarketing, decide which source bidding counts and exclude the other from the conversion goal, rather than letting the browser event and the offline upload both count the same order.

Saleor channels can sell in different currencies, so send the order's currency code with every upload instead of assuming USD. Refunds and cancellations should be sent as restatements or retractions if your account supports conversion adjustments; check that, because otherwise refunded orders keep inflating the revenue bidding learns from.

Saleor → Microsoft Ads · what breaks

Why this join usually fails — Saleor → Microsoft Ads

  1. 01

    The MSCLKID 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.

  2. 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.

  3. 03

    Auto-tagging switched off

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  4. 04

    Nothing reconciles afterwards

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

Saleor → Microsoft Ads · the fix

What working looks like — Saleor → Microsoft Ads

  • The MSCLKID on every order

  • Conversions arriving in Microsoft Ads

    Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent, and become usable for automated bidding.

  • Reconciled against the source

Saleor → Microsoft Ads · architecture

How Saleor and Microsoft Ads actually connect

  1. 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. 2

    Microsoft Ads needs a click to match

    Microsoft matches uploaded conversions to clicks using the MSCLKID, and the conversion goal must be created as an offline conversion type. The click has to fall inside Microsoft's import window — verify the current limit in your account rather than assuming it matches Google's.

  3. 3

    The identifier is the bridge

    The MSCLKID, captured at the visit and carried into the Saleor order.

  4. 4

    The event source decides reliability

    Send fully paid orders at their net total, sourced from the API.

  5. 5

    Deduplication at the destination

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

Saleor → Microsoft Ads · normal or broken

Working vs. broken, side by side — Saleor → Microsoft Ads

Normal, not a fault

  • The MSCLKID present on the order

  • Sent from the Saleor order webhook

  • Deduplicated correctly

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

  • Reconciles with the source

Actually broken

  • The MSCLKID 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

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  • Nobody has reconciled it

Saleor → Microsoft Ads · diagnose

Diagnostic order — Saleor → Microsoft Ads

  1. 01

    Count orders carrying the MSCLKID

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Confirm auto-tagging is enabled and check the upload diagnostics

    One account setting decides whether any of this works. Then read the per-row errors on the upload rather than the success count.

  5. 05

    Read the match rate, not the success message

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

Saleor → Microsoft Ads · prove

How it gets proven — Saleor → Microsoft Ads

Source of truth

Saleor orders by payment status, read from the API rather than inferred from the storefront.

  • The MSCLKID confirmed present on a live order.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • Paid orders reconciled from the API against imported conversions.

Saleor → Microsoft Ads · free audit

What we check in the free audit

  • Count orders carrying the MSCLKID
  • Follow one real conversion end to end
  • Inspect order metadata on a live order for the identifier
  • Confirm auto-tagging is enabled and check 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

Saleor → Microsoft Ads · when not to buy

When you don't need this — Saleor → Microsoft Ads

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the MSCLKID.
  • If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard integration.
  • If you are not running Microsoft Ads at meaningful spend, skip it — though for B2B the traffic is often cheaper and better qualified than people expect, which is worth testing before dismissing.

Saleor → Microsoft Ads · what we deliver

What gets built — Saleor → Microsoft 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 Microsoft Ads

    Offline conversion import through the Microsoft Advertising API or a scheduled upload.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Saleor → Microsoft Ads questions, answered

Store the MSCLKID in order metadata at checkout, listen for the paid-order webhook, and upload to an offline conversion goal with net value and currency.

Free · 30 min

Get Saleor and Microsoft Ads joined properly

Free30 minutesNo obligation