Skip to main content
Optimizely → Microsoft AdsIntegration guide

Connecting Optimizely to Microsoft Ads

Optimizely deliberately shows different people different experiences, which means every conversion figure your ad platform reports is an average across variants it knows nothing about. 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 Optimizely variant assignment 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

Optimizely variants joined to Microsoft Ads offline conversions

Microsoft Ads offline conversions carry only click ID, goal, time and value, so read Optimizely variants in your own join of MSCLKID, order and variant; never create counting goals per variant. Microsoft traffic leans desktop, so check test audiences, and capture the MSCLKID in the first script on the page, before Optimizely's snippet.

Microsoft's offline conversion upload carries a click ID, a goal, a time and a value, and nothing else. There is nowhere to put an Optimizely variant, so per-variant Microsoft performance has to be read in your own join of MSCLKID, order and variant. Do not create one goal per variant with both counting toward bidding; the same click can then be counted twice, and bidding chases whichever variant happens to be imported.

Check the experiment's audience against Microsoft's device mix. Microsoft traffic leans desktop, and a test targeted at mobile visitors barely touches it, while a desktop-only layout test lands almost entirely on it. A change in Microsoft conversion rate during a desktop test is the test, not the bids. The reverse also holds: a mobile test that wins overall may tell you nothing about Microsoft-sourced customers.

Older browsers and slower office machines suffer more from client-side flicker and delayed rendering, and that is where landing-page capture of the MSCLKID drops if the experiment snippet loads first. Read the click ID in the first script on the page, before Optimizely's snippet, and compare capture rate across variants on Microsoft traffic before trusting any split.

Optimizely → Microsoft Ads · what breaks

Why this join usually fails — Optimizely → Microsoft Ads

  1. 01

    The MSCLKID never reaches Optimizely

    Client-side experiments can flicker and can delay rendering, which loses landing-page identifier capture on slow connections — a bias that falls unevenly across variants.

  2. 02

    An experiment silently confounding every campaign result

    A test that moves conversion rate by fifteen percent will move every campaign's measured performance by some fraction of that, and the media team will attribute it to bidding, creative or seasonality. Anything but the test.

  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.

Optimizely → Microsoft Ads · the fix

What working looks like — Optimizely → Microsoft Ads

  • The MSCLKID on every assignment

  • 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

Optimizely → Microsoft Ads · architecture

How Optimizely and Microsoft Ads actually connect

  1. 1

    Optimizely holds the truth

    The variant is the missing dimension. Without it, a campaign's performance is confounded by an experiment nobody told the media team about, and both teams will draw confident, wrong conclusions.

  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 Optimizely variant assignment.

  4. 4

    The event source decides reliability

    Send purchases with the variant as a custom dimension, so campaign performance can be read per variant rather than blended.

  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.

Optimizely → Microsoft Ads · normal or broken

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

Normal, not a fault

  • The MSCLKID present on the assignment

  • Sent from your order system with variant attached

  • 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

    Client-side experiments can flicker and can delay rendering, which loses landing-page identifier capture on slow connections — a bias that falls unevenly across variants.

  • Sent from the browser

    A test that moves conversion rate by fifteen percent will move every campaign's measured performance by some fraction of that, and the media team will attribute it to bidding, creative or seasonality. Anything but the test.

  • 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

Optimizely → Microsoft Ads · diagnose

Diagnostic order — Optimizely → Microsoft Ads

  1. 01

    Count assignments carrying the MSCLKID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check for running experiments before diagnosing a performance change

    First question, not last. It costs one minute and explains a surprising share of unexplained movements.

  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.

Optimizely → Microsoft Ads · prove

How it gets proven — Optimizely → Microsoft Ads

Source of truth

Your order system, joined to the variant each customer was assigned.

  • The MSCLKID confirmed present on a live assignment.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • Orders reconciled per variant against imported conversions over the full experiment window.

Optimizely → Microsoft Ads · free audit

What we check in the free audit

  • Count assignments carrying the MSCLKID
  • Follow one real conversion end to end
  • Check for running experiments before diagnosing a performance change
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • Read the match rate, not the success message

Checked against

Your order system, joined to the variant each customer was assigned.

Get my free conversion tracking audit

Free30 minutesNo obligation

Optimizely → Microsoft Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred assignments and count how many carry the MSCLKID.
  • If you are not running experiments on pages in the paid funnel, there is no confound and nothing to integrate.
  • 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.

Optimizely → Microsoft Ads · what we deliver

What gets built — Optimizely → Microsoft Ads

  • Identifier capture into Optimizely

    Capture the identifier before the experiment framework initializes, and pass the variant assignment as a dimension alongside it.

  • Event source: your order system with variant attached

    Send purchases with the variant as a custom dimension, so campaign performance can be read per variant rather than blended.

  • Dispatch to Microsoft Ads

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

  • Reversals where they exist

    Refunds reverse and should retain the variant dimension.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, joined to the variant each customer was assigned.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Optimizely → Microsoft Ads questions, answered

Not natively. Keep the variant on each order with its MSCLKID, upload conversions as usual, and split Microsoft-sourced orders by variant in your own reporting.

Free · 30 min

Get Optimizely and Microsoft Ads joined properly

Free30 minutesNo obligation