Skip to main content
MemberPress → Microsoft AdsIntegration guide

Connecting MemberPress to Microsoft Ads

MemberPress runs memberships inside WordPress, which means you own the database and inherit every WordPress problem alongside it. 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 MemberPress subscription 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

MemberPress to Microsoft Ads: one upload per member, not per renewal

Store the msclkid in subscription metadata through a MemberPress hook, then upload the first paid transaction as an offline conversion to an import goal with its timestamp and expected membership value. Never upload renewals under the same goal, because each new timestamp counts as a new conversion. Late trial conversions may fall outside Microsoft's import window, so check it.

Read the msclkid from the landing URL and write it to subscription metadata through a MemberPress hook, so it sits in your WordPress database rather than in a page your cache might replay. When the first paid transaction completes, upload it as an offline conversion against a Microsoft goal created for import, using that transaction's timestamp as the conversion time and the expected membership value.

Renewals are where this pair overcounts. Microsoft deduplicates on click, conversion name and conversion time, so a monthly renewal uploaded under the same goal with a new timestamp is a new conversion. Twelve renewals on one click becomes twelve conversions for a keyword that produced one member. Filter your upload to first payments, and send lifetime value on that single conversion instead.

Free trials need a rule too. If a member starts a free trial on the click and converts to paid three weeks later, upload the paid transaction with the original msclkid; if that falls outside Microsoft's import window, it will be rejected. Check the current window in your account and, if many trials convert late, upload the trial start as a separate, lower-value goal. Refunds within the guarantee period should be retracted or excluded before upload.

MemberPress → Microsoft Ads · what breaks

Why this join usually fails — MemberPress → Microsoft Ads

  1. 01

    The MSCLKID never reaches MemberPress

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  2. 02

    Caching between the visitor and your code

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  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.

MemberPress → Microsoft Ads · the fix

What working looks like — MemberPress → Microsoft Ads

  • The MSCLKID on every membership

  • 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

MemberPress → Microsoft Ads · architecture

How MemberPress and Microsoft Ads actually connect

  1. 1

    MemberPress holds the truth

    Owning the database is the advantage — you can query it directly and reconcile without depending on anyone. The disadvantage is that caching, plugin conflicts and optimisation tools sit between your visitor and your code.

  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 MemberPress subscription.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  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.

MemberPress → Microsoft Ads · normal or broken

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

Normal, not a fault

  • The MSCLKID present on the membership

  • Sent from the MemberPress transaction-completed 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

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  • Sent from the browser

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  • 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

MemberPress → Microsoft Ads · diagnose

Diagnostic order — MemberPress → Microsoft Ads

  1. 01

    Count memberships carrying the MSCLKID

  2. 02

    Follow one real conversion end to end

  3. 03

    Submit a test signup through a fully cached page

    Not as a logged-in admin, which bypasses the cache. If the metadata is empty on the cached path, caching is your cause.

  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.

MemberPress → Microsoft Ads · prove

How it gets proven — MemberPress → Microsoft Ads

Source of truth

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

  • The MSCLKID confirmed present on a live membership.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • Subscription metadata confirmed populated on a signup made as an anonymous visitor through cache.

MemberPress → Microsoft Ads · free audit

What we check in the free audit

  • Count memberships carrying the MSCLKID
  • Follow one real conversion end to end
  • Submit a test signup through a fully cached page
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • Read the match rate, not the success message

Checked against

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

MemberPress → Microsoft Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the MSCLKID.
  • If you run no caching layer and a single membership tier, a developer can wire this in an afternoon.
  • 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.

MemberPress → Microsoft Ads · what we deliver

What gets built — MemberPress → Microsoft Ads

  • Identifier capture into MemberPress

    Capture the identifier and write it to subscription metadata through a MemberPress or WordPress hook, so it lives in your database rather than in a page that might be cached.

  • Event source: the MemberPress transaction-completed hook

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  • Dispatch to Microsoft Ads

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

  • Reversals where they exist

    Cancellations and refunds are recorded against the subscription and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against MemberPress transactions and subscriptions in your own WordPress database, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

MemberPress → Microsoft Ads questions, answered

Store the msclkid in subscription metadata at signup, then upload first paid transactions as offline conversions to a Microsoft goal set up for import.

Free · 30 min

Get MemberPress and Microsoft Ads joined properly

Free30 minutesNo obligation