Skip to main content
LifterLMS → BigQueryIntegration guide

Connecting LifterLMS to BigQuery

LifterLMS handles courses and memberships together with its own checkout, which means recurring access plans and one-off course sales share a single order table. 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 LifterLMS order 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

LifterLMS orders in BigQuery: first payments apart from renewals

Load LifterLMS orders and payment transactions as separate one-row-each tables, joined on the order ID with the WordPress user ID, so acquisition is the first successful transaction and renewals are the rest. Export click identifiers stored as order meta, cast post-meta string types explicitly, and append dated snapshots so cancellations and refunds are not overwritten.

LifterLMS keeps orders and the payment transactions under them as separate records, and that split is what BigQuery needs. Load orders at one row per order with the access plan, plan type and status, and transactions at one row per payment. Acquisition is then the first successful transaction per order, renewals are every later one, and nobody has to guess from amounts which payments were new money.

The join key is the order ID, with the WordPress user ID alongside it. Click identifiers captured at landing should be written to the order as meta when it is created, then exported with it. Expect the export to be awkward: WordPress stores this as key-value post meta, every value a string, so a price that loads as a string one day and a number the next is a real risk. Cast types explicitly in the load rather than trusting autodetect.

History is the other trap. LifterLMS updates an order's status in place, so a nightly snapshot that overwrites yesterday's table loses the moment a plan was cancelled inside its first period. Append snapshots with a load date, or load status changes as their own rows, and refunds and early cancellations can then reverse the right acquisition rather than vanishing.

LifterLMS → BigQuery · what breaks

Why this join usually fails — LifterLMS → BigQuery

  1. 01

    Whatever join key you decide on never reaches LifterLMS

    Its own checkout means the flow is self-contained, but recurring payments arrive with no session at all.

  2. 02

    Every recurring payment firing as a new sale

    A membership billing monthly produces twelve orders a year from one student. Counting them all makes retained revenue look like acquisition and inflates the count by your retention rate.

  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.

LifterLMS → BigQuery · the fix

What working looks like — LifterLMS → BigQuery

  • Whatever join key you decide on on every enrolment

  • 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

LifterLMS → BigQuery · architecture

How LifterLMS and BigQuery actually connect

  1. 1

    LifterLMS holds the truth

    A recurring plan bills every month against one acquisition. Sending each payment as a conversion turns one student into twelve.

  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 LifterLMS order.

  4. 4

    The event source decides reliability

    Send one-time purchases at value and first payments of recurring plans at a defensible plan value.

  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.

LifterLMS → BigQuery · normal or broken

Working vs. broken, side by side — LifterLMS → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the enrolment

  • Sent from the LifterLMS order 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

    Its own checkout means the flow is self-contained, but recurring payments arrive with no session at all.

  • Sent from the browser

    A membership billing monthly produces twelve orders a year from one student. Counting them all makes retained revenue look like acquisition and inflates the count by your retention rate.

  • 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

LifterLMS → BigQuery · diagnose

Diagnostic order — LifterLMS → BigQuery

  1. 01

    Count enrolments carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare order count against distinct new students

    If orders exceed students, renewals are being counted as acquisitions.

  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.

LifterLMS → BigQuery · prove

How it gets proven — LifterLMS → BigQuery

Source of truth

LifterLMS orders by date, split into one-time purchases and recurring access plans.

  • Whatever join key you decide on confirmed present on a live enrolment.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • New students reconciled against imported conversions for a settled month.

LifterLMS → BigQuery · free audit

What we check in the free audit

  • Count enrolments carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Compare order count against distinct new students
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

LifterLMS orders by date, split into one-time purchases and recurring access plans.

Get my free conversion tracking audit

Free30 minutesNo obligation

LifterLMS → BigQuery · when not to buy

When you don't need this — LifterLMS → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry whatever join key you decide on.
  • Sites selling only one-time courses have no renewal problem.
  • 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.

LifterLMS → BigQuery · what we deliver

What gets built — LifterLMS → BigQuery

  • Identifier capture into LifterLMS

    Capture at landing, persist to the student record, and send only the first payment of a recurring plan.

  • Event source: the LifterLMS order record

    Send one-time purchases at value and first payments of recurring plans at a defensible plan value.

  • 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

    Refunds and cancellations inside the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against LifterLMS orders by date, split into one-time purchases and recurring access plans.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LifterLMS → BigQuery questions, answered

Load transactions at one row per payment and treat the first successful transaction per order as acquisition; every later transaction on that order is a renewal.

Free · 30 min

Get LifterLMS and BigQuery joined properly

Free30 minutesNo obligation