Skip to main content
PrestaShop → Microsoft AdsIntegration guide

Connecting PrestaShop to Microsoft Ads

PrestaShop is self-hosted open source with a large module ecosystem, which means the store's behaviour depends heavily on which modules are installed. 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 PrestaShop 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

PrestaShop orders as Microsoft Ads offline conversions

Once a hook writes the msclkid into PrestaShop order metadata, a scheduled query on your own orders table can produce the Microsoft Ads offline conversion file. Upload only paid orders with the payment timestamp, and restate or retract for credit slips. On multistore installs, route each order to the account that ran its campaign.

PrestaShop's advantage for this pair is that you own the database. Once a hook writes the msclkid into order metadata at validation, the offline conversion file for Microsoft Ads can be produced by a scheduled query against your own orders table: msclkid, goal name, conversion time, value and currency. There is no export module in the path to go stale after an update.

Define which order states count before writing the query. Upload only orders that reached your paid state, with the timestamp of payment rather than validation, so bank-wire orders that never pay are never uploaded. Credit slips should restate or retract the conversion with the same click, goal and original conversion time. On a multi-store install, check which store each order belongs to and send it to the Microsoft account and goal that ran the campaign; one combined upload per install sends orders to the wrong account or fails to match.

Check that auto-tagging is on in every Microsoft account involved before blaming the hook. If coverage is partial, look at which orders carry the msclkid; partial coverage that follows a module update or a specific payment method points at a module conflict, not at Microsoft.

PrestaShop → Microsoft Ads · what breaks

Why this join usually fails — PrestaShop → Microsoft Ads

  1. 01

    The MSCLKID never reaches PrestaShop

    Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.

  2. 02

    Module ecosystem interference

    PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated update.

  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.

PrestaShop → Microsoft Ads · the fix

What working looks like — PrestaShop → 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

PrestaShop → Microsoft Ads · architecture

How PrestaShop and Microsoft Ads actually connect

  1. 1

    PrestaShop holds the truth

    You own the data and can query it directly. Pin down which order states count as revenue, since PrestaShop's state machine is more granular than most.

  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 PrestaShop order.

  4. 4

    The event source decides reliability

    Fire server-side from the hook rather than the confirmation template.

  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.

PrestaShop → Microsoft Ads · normal or broken

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

Normal, not a fault

  • The MSCLKID present on the order

  • Sent from the PrestaShop order validation hook

  • 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

    Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.

  • Sent from the browser

    PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated update.

  • 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

PrestaShop → Microsoft Ads · diagnose

Diagnostic order — PrestaShop → Microsoft Ads

  1. 01

    Count orders carrying the MSCLKID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check order metadata on ten recent orders

    Partial coverage across orders points at a module conflict rather than a missing implementation.

  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.

PrestaShop → Microsoft Ads · prove

How it gets proven — PrestaShop → Microsoft Ads

Source of truth

PrestaShop's order records in your own database, for the same window and order state set.

  • The MSCLKID confirmed present on a live order.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • Order metadata confirmed present across ten consecutive orders rather than one.

PrestaShop → Microsoft Ads · free audit

What we check in the free audit

  • Count orders carrying the MSCLKID
  • Follow one real conversion end to end
  • Check order metadata on ten recent orders
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • Read the match rate, not the success message

Checked against

PrestaShop's order records in your own database, for the same window and order state set.

Get my free conversion tracking audit

Free30 minutesNo obligation

PrestaShop → Microsoft Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the MSCLKID.
  • If your PrestaShop install is heavily moduled and maintained by another party, scope their involvement before starting.
  • 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.

PrestaShop → Microsoft Ads · what we deliver

What gets built — PrestaShop → Microsoft Ads

  • Identifier capture into PrestaShop

    Capture the identifier and write it to order metadata through a hook, server-side, so it does not depend on page execution.

  • Event source: the PrestaShop order validation hook

    Fire server-side from the hook rather than the confirmation template.

  • Dispatch to Microsoft Ads

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

  • Reversals where they exist

    Credit slips are recorded against the order.

Written guarantee

95%+ tracking accuracy

Measured against PrestaShop's order records in your own database, for the same window and order state set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

PrestaShop → Microsoft Ads questions, answered

Yes. With the MSCLKID in order metadata, a scheduled query can build the upload file for paid orders.

Free · 30 min

Get PrestaShop and Microsoft Ads joined properly

Free30 minutesNo obligation