Skip to main content
Cognito Forms → Microsoft AdsIntegration guide

Connecting Cognito Forms to Microsoft Ads

Cognito Forms supports conditional logic and payments, which means one form can be a survey, a registration and a checkout depending on which branch the visitor takes. 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 Cognito Forms entry 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

Cognito Forms to Microsoft Ads: one goal per branch, no double counts

Store msclkid in a first-party cookie and a hidden Cognito Forms field, after confirming auto-tagging is on. Create one Microsoft Ads offline conversion goal per commercial branch and upload each entry to exactly one goal, since deduplication is per goal. Upload paid entries when the payment status clears, at the amount charged, and never re-upload edits.

The msclkid goes into a hidden Cognito field, read from the landing URL and kept in a first-party cookie so it survives a visitor who browses other pages before opening the form. Confirm auto-tagging is on before anything else; without it the field is blank on every entry and the offline import silently matches nothing. Then pull twenty entries from Microsoft traffic and count how many actually carry the value.

Create one offline conversion goal per branch that matters commercially, for example an enquiry goal and a paid-registration goal with different values. The trap with Microsoft's deduplication is that it works per goal: an entry uploaded as an enquiry and again as a paid registration counts twice. Upload each entry to exactly one goal, chosen by the branch it ended on.

Upload paid entries when the payment clears, not at submit. Cognito hands payment to the processor you connected, so an entry can exist with a failed or pending payment; use the payment status on the entry as the gate and upload the amount actually charged. If the entry is edited later, do not upload it again, because Microsoft treats a new conversion time as a new conversion.

Cognito Forms → Microsoft Ads · what breaks

Why this join usually fails — Cognito Forms → Microsoft Ads

  1. 01

    The MSCLKID never reaches Cognito Forms

    Forms are embedded and payments may hand off to a processor, breaking the session twice.

  2. 02

    One form, several outcomes, one conversion action

    Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.

  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.

Cognito Forms → Microsoft Ads · the fix

What working looks like — Cognito Forms → Microsoft Ads

  • The MSCLKID on every submission

  • 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

Cognito Forms → Microsoft Ads · architecture

How Cognito Forms and Microsoft Ads actually connect

  1. 1

    Cognito Forms holds the truth

    A form that sometimes takes payment and sometimes does not produces two completely different conversions from one submission event.

  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 Cognito Forms entry.

  4. 4

    The event source decides reliability

    Send paid submissions at their amount and unpaid ones as a separate lower-value action.

  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.

Cognito Forms → Microsoft Ads · normal or broken

Working vs. broken, side by side — Cognito Forms → Microsoft Ads

Normal, not a fault

  • The MSCLKID present on the submission

  • Sent from your CRM or payment record

  • 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

    Forms are embedded and payments may hand off to a processor, breaking the session twice.

  • Sent from the browser

    Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.

  • 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

Cognito Forms → Microsoft Ads · diagnose

Diagnostic order — Cognito Forms → Microsoft Ads

  1. 01

    Count submissions carrying the MSCLKID

  2. 02

    Follow one real conversion end to end

  3. 03

    List the branches your form can produce and their values

    Usually the first time anyone has, and it is normally the whole fix.

  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.

Cognito Forms → Microsoft Ads · prove

How it gets proven — Cognito Forms → Microsoft Ads

Source of truth

Your CRM or payment record, with the form branch recorded.

  • The MSCLKID confirmed present on a live submission.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • Submissions reconciled by branch against imported conversions.

Cognito Forms → Microsoft Ads · free audit

What we check in the free audit

  • Count submissions carrying the MSCLKID
  • Follow one real conversion end to end
  • List the branches your form can produce and their values
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • Read the match rate, not the success message

Checked against

Your CRM or payment record, with the form branch recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cognito Forms → Microsoft Ads · when not to buy

When you don't need this — Cognito Forms → Microsoft Ads

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the MSCLKID.
  • A single-path form with no payment needs one action and nothing else.
  • 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.

Cognito Forms → Microsoft Ads · what we deliver

What gets built — Cognito Forms → Microsoft Ads

  • Identifier capture into Cognito Forms

    Pass the identifier into a hidden field and carry it through to the payment where one occurs.

  • Event source: your CRM or payment record

    Send paid submissions at their amount and unpaid ones as a separate lower-value action.

  • Dispatch to Microsoft Ads

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

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM or payment record, with the form branch recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cognito Forms → Microsoft Ads questions, answered

Capture msclkid from the landing URL into a cookie, then fill a hidden field on the form from it when the form loads. Check how your embed type supports prefilling fields.

Free · 30 min

Get Cognito Forms and Microsoft Ads joined properly

Free30 minutesNo obligation