Skip to main content
Paid Memberships Pro → BigQueryIntegration guide

Connecting Paid Memberships Pro to BigQuery

Paid Memberships Pro supports multiple membership levels with upgrade and downgrade paths, which means a member's value changes over time without any new acquisition happening. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the PMPro membership level change before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Paid Memberships Pro to BigQuery: members, orders and level history

Load PMPro's membership and order tables into BigQuery with click IDs stored as user meta, joined on the WordPress user ID. Model acquisitions, level changes and cash separately, filter order statuses for refunds and failed payments, and load membership rows incrementally with a snapshot date so history survives. Judge campaigns on first-year revenue per acquired member, excluding upgrades.

PMPro keeps its records in WordPress database tables: membership level assignments with start and end dates and a status, and an orders table with one row per payment, recurring ones included. Loading those into BigQuery, next to a table of click IDs captured at first landing and stored as user meta, gives you what ad platforms never see: revenue per acquired member over months.

Model three things separately. Acquisitions: the first membership row per user, joined to that user's stored gclid, fbclid or UTMs. Expansion and contraction: later level changes, compared by level price. Cash: orders by payment date, with their status. The join key across all three is the WordPress user ID. Check which order status values your payment gateway writes; refunds and failed recurring payments land as statuses, and a query that sums every order row overstates revenue.

The failure this pair produces is lost history. Membership rows change status and end date when members cancel, expire or switch levels, and a nightly load that copies current state erases what happened. Load membership rows incrementally with a snapshot date, and report campaign value as first-year revenue per acquired member excluding upgrades, which is what the acquisition campaign actually earned.

Paid Memberships Pro → BigQuery · what breaks

Why this join usually fails — Paid Memberships Pro → BigQuery

  1. 01

    Whatever join key you decide on never reaches Paid Memberships Pro

    Level changes happen inside the member account with no acquisition journey at all.

  2. 02

    Upgrades credited to the original acquisition campaign

    A member who joined on a basic plan and upgraded a year later generates revenue the campaign did not produce. Attributing it to the original click makes that campaign look far better than it was.

  3. 03

    The warehouse quietly disagreeing with every platform

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  4. 04

    Nothing reconciles afterwards

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Paid Memberships Pro → BigQuery · the fix

What working looks like — Paid Memberships Pro → BigQuery

  • Whatever join key you decide on on every membership

  • Conversions arriving in BigQuery

    The row lands in a table you own, joinable to every other table you own, with no window and no expiry.

  • Reconciled against the source

Paid Memberships Pro → BigQuery · architecture

How Paid Memberships Pro and BigQuery actually connect

  1. 1

    Paid Memberships Pro holds the truth

    An existing member upgrading from a basic to a premium level is expansion revenue. It was produced by the content, not by an advertisement.

  2. 2

    BigQuery needs a click to match

    BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.

  3. 3

    The identifier is the bridge

    Whatever join key you decide on, captured at the visit and carried into the PMPro membership level change.

  4. 4

    The event source decides reliability

    Send new memberships at level value as acquisition; upgrades and downgrades as expansion and contraction.

  5. 5

    Deduplication at the destination

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

Paid Memberships Pro → BigQuery · normal or broken

Working vs. broken, side by side — Paid Memberships Pro → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the membership

  • Sent from the PMPro membership record

  • Deduplicated correctly

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

  • Reconciles with the source

Actually broken

  • Whatever join key you decide on missing on most records

    Level changes happen inside the member account with no acquisition journey at all.

  • Sent from the browser

    A member who joined on a basic plan and upgraded a year later generates revenue the campaign did not produce. Attributing it to the original click makes that campaign look far better than it was.

  • Counted twice, or not at all

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  • Nobody has reconciled it

Paid Memberships Pro → BigQuery · diagnose

Diagnostic order — Paid Memberships Pro → BigQuery

  1. 01

    Count memberships carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Separate new signups from level changes

    One field, and it stops expansion revenue quietly inflating acquisition performance.

  4. 04

    Reconcile warehouse order counts against each platform for one closed window

    The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.

  5. 05

    Read the match rate, not the success message

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Paid Memberships Pro → BigQuery · prove

How it gets proven — Paid Memberships Pro → BigQuery

Source of truth

PMPro memberships by date, with level changes tracked separately from new signups.

  • Whatever join key you decide on confirmed present on a live membership.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • New memberships reconciled at level value against imported conversions, with upgrades reported separately.

Paid Memberships Pro → BigQuery · free audit

What we check in the free audit

  • Count memberships carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Separate new signups from level changes
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

PMPro memberships by date, with level changes tracked separately from new signups.

Get my free conversion tracking audit

Free30 minutesNo obligation

Paid Memberships Pro → BigQuery · when not to buy

When you don't need this — Paid Memberships Pro → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry whatever join key you decide on.
  • Single-level membership sites have no upgrade path and no expansion to separate.
  • If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.

Paid Memberships Pro → BigQuery · what we deliver

What gets built — Paid Memberships Pro → BigQuery

  • Identifier capture into Paid Memberships Pro

    Store the identifier at first signup and report upgrades as expansion against the same member.

  • Event source: the PMPro membership record

    Send new memberships at level value as acquisition; upgrades and downgrades as expansion and contraction.

  • Dispatch to BigQuery

    Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.

  • Reversals where they exist

    Cancellations and downgrades reverse or reduce.

Written guarantee

95%+ tracking accuracy

Measured against PMPro memberships by date, with level changes tracked separately from new signups.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Paid Memberships Pro → BigQuery questions, answered

Replicate or export the PMPro membership and orders tables plus the relevant user meta on a schedule, with the WordPress user ID as the join key. Keep snapshots so level history survives.

Free · 30 min

Get Paid Memberships Pro and BigQuery joined properly

Free30 minutesNo obligation