Skip to main content
Clerk → Microsoft AdsIntegration guide

Connecting Clerk to Microsoft Ads

Clerk handles both authentication and organisation membership, which matters for B2B products where the paying entity is a company and the signing-up entity is a person. 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 Clerk user and organisation 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

Clerk to Microsoft Ads: upload paid orgs against the first MSCLKID

Capture the MSCLKID on landing, store it on the Clerk user in backend metadata the browser can't edit, and copy the first member's value to the organization. Upload one row per paid organization to a Microsoft Ads offline conversion goal with that MSCLKID and payment time, dropping other members' clicks first. Upload sign-ups as a separate, earlier goal.

Microsoft search traffic is desktop-weighted and heavy during work hours, which suits a B2B product, but nothing reaches an offline import unless the MSCLKID was captured on the landing page and written to the Clerk user at sign-up. Store it on the user from your backend, in metadata the browser cannot edit, and copy the first member's value to the organization record so later invitees cannot replace it.

Create an offline conversion goal for paid organizations and upload one row per organization when billing confirms payment, using the stored MSCLKID and the payment time. Microsoft deduplicates on click, goal and time, so two colleagues with two different MSCLKIDs produce two accepted rows for one customer. Choose the first member's click and drop the rest before the upload, not after.

The import window bites on trials. A team that signs up, trials for weeks and converts later can fall outside Microsoft's offline window; check the current limit in your account and upload sign-ups as a separate, earlier goal so bidding has something inside it. Organizations whose first member arrived from organic search or an invite link have no MSCLKID and should simply be left out of the file.

Clerk → Microsoft Ads · what breaks

Why this join usually fails — Clerk → Microsoft Ads

  1. 01

    The MSCLKID never reaches Clerk

    Several people from one company sign up separately, each carrying a different acquisition source.

  2. 02

    Counting seats instead of customers

    Five colleagues signing up from one company is one paying customer and five conversions if attribution sits on the user. Cost per acquisition then reads as a fifth of reality.

  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.

Clerk → Microsoft Ads · the fix

What working looks like — Clerk → Microsoft Ads

  • The MSCLKID on every account

  • 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

Clerk → Microsoft Ads · architecture

How Clerk and Microsoft Ads actually connect

  1. 1

    Clerk holds the truth

    In B2B SaaS the subscription belongs to an organisation and several users belong to it. Attributing revenue per user counts one customer several times.

  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 Clerk user and organisation.

  4. 4

    The event source decides reliability

    Send paid conversions per organisation, deduplicated across its users.

  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.

Clerk → Microsoft Ads · normal or broken

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

Normal, not a fault

  • The MSCLKID present on the account

  • Sent from your billing system, keyed on the organisation

  • 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

    Several people from one company sign up separately, each carrying a different acquisition source.

  • Sent from the browser

    Five colleagues signing up from one company is one paying customer and five conversions if attribution sits on the user. Cost per acquisition then reads as a fifth of reality.

  • 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

Clerk → Microsoft Ads · diagnose

Diagnostic order — Clerk → Microsoft Ads

  1. 01

    Count accounts carrying the MSCLKID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare user signups against paying organisations

    The ratio is the size of the overcount, and in B2B products it is rarely close to one.

  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.

Clerk → Microsoft Ads · prove

How it gets proven — Clerk → Microsoft Ads

Source of truth

Your billing system, joined to the Clerk organisation rather than the user.

  • The MSCLKID confirmed present on a live account.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • Paid conversions reconciled per organisation against imported conversions, deduplicated across users.

Clerk → Microsoft Ads · free audit

What we check in the free audit

  • Count accounts carrying the MSCLKID
  • Follow one real conversion end to end
  • Compare user signups against paying organisations
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • Read the match rate, not the success message

Checked against

Your billing system, joined to the Clerk organisation rather than the user.

Get my free conversion tracking audit

Free30 minutesNo obligation

Clerk → Microsoft Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the MSCLKID.
  • Consumer products where one user is one customer do not have this distinction.
  • 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.

Clerk → Microsoft Ads · what we deliver

What gets built — Clerk → Microsoft Ads

  • Identifier capture into Clerk

    Store the identifier on the user and attribute at the organisation, using the first user's source with the others recorded as supporting.

  • Event source: your billing system, keyed on the organisation

    Send paid conversions per organisation, deduplicated across its users.

  • Dispatch to Microsoft Ads

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

  • Reversals where they exist

    Cancellations reverse against the organisation.

Written guarantee

95%+ tracking accuracy

Measured against Your billing system, joined to the Clerk organisation rather than the user.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Clerk → Microsoft Ads questions, answered

Usually each member of an organization was uploaded with their own MSCLKID. Upload one row per paid organization using the first member's click.

Free · 30 min

Get Clerk and Microsoft Ads joined properly

Free30 minutesNo obligation