Skip to main content
Canvas → BigQueryIntegration guide

Connecting Canvas LMS to BigQuery

Canvas is institutional learning management, which means the commercial decision almost always happens in a separate admissions or ecommerce system. 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 Canvas enrolment 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

Canvas LMS to BigQuery: enrollment rows joined to ad clicks by SIS ID

Export Canvas Data 2 tables such as users and enrollments to BigQuery, possibly through a staging step or connector, and join on the SIS user ID, not email. Carry gclid, fbclid and UTMs onto the admissions record that gets the SIS ID at matriculation. Keep enrollment state history, so paid enrollments with an activation flag can feed offline conversions.

BigQuery is one of the better homes for Canvas data, because the question Canvas can answer, whether a paid student actually started, needs joining to records Canvas never holds. Instructure's Canvas Data 2 exports tables such as users, courses and enrollments; check which load targets your tooling supports, since BigQuery may need a staging step or a third-party connector rather than a direct load.

The join key is the SIS user ID, not email. A prospect fills the inquiry form with a personal Gmail address, then logs into Canvas as name@school.edu, so a hashed-email join quietly fails for most students. Carry the gclid, fbclid and UTM values onto the admissions record, give that record the SIS ID at matriculation, and join Canvas enrollments on it. Store the enrollment's workflow state history, not just the current value, because a student who goes active then inactive in week two looks identical to one who never started if you only keep today's snapshot.

Model withdrawals as a state change on the row and deferrals as a change of term, never as delete-and-reinsert, or your by-cohort counts move every time the export reloads. Canvas Data exports are periodic, so expect a lag of hours to a day. The payoff: a table of paid enrollments with their original click IDs and a Canvas activation flag, ready to upload as an offline conversion that excludes no-shows.

Canvas → BigQuery · what breaks

Why this join usually fails — Canvas → BigQuery

  1. 01

    Whatever join key you decide on never reaches Canvas

    Access is via institutional single sign-on, which severs any connection to the marketing session that produced the enquiry. The join has to happen in the admissions system, not in Canvas.

  2. 02

    The money is in another system

    Treating Canvas as the revenue source means measuring course access rather than payment, and the two diverge whenever anyone is enrolled without paying.

  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.

Canvas → BigQuery · the fix

What working looks like — Canvas → 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

    Canvas LMS's own records are the reference, not either dashboard.

Canvas → BigQuery · architecture

How Canvas and BigQuery actually connect

  1. 1

    Canvas LMS holds the truth

    Canvas is where teaching happens, not usually where money changes hands. Establish which system is authoritative for revenue before deciding what Canvas is for.

  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 Canvas enrolment.

  4. 4

    The event source decides reliability

    Send the paid enrolment from admissions. Canvas's own enrolment event confirms the student actually started, which is a useful second signal and not the money event.

  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.

Canvas → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the enrolment

    Visible on the record itself in Canvas LMS, not merely captured somewhere on the site.

  • Sent from your admissions system, with Canvas confirming activation

  • 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

    BigQuery's count and Canvas LMS's records agree within a few percent over a closed window.

Actually broken

  • Whatever join key you decide on missing on most records

    Access is via institutional single sign-on, which severs any connection to the marketing session that produced the enquiry. The join has to happen in the admissions system, not in Canvas.

  • Sent from the browser

    Treating Canvas as the revenue source means measuring course access rather than payment, and the two diverge whenever anyone is enrolled without paying.

  • 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

    The dashboard shows a number and no one has compared it to Canvas LMS.

Canvas → BigQuery · diagnose

Diagnostic order — Canvas → BigQuery

  1. 01

    Count enrolments carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Establish which system holds the payment

    In most Canvas deployments it is not Canvas, and building on the wrong one wastes the engagement.

  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.

Canvas → BigQuery · prove

How it gets proven — Canvas → BigQuery

Against Canvas LMS's own records, not against either platform's dashboard.

Source of truth

Your admissions or commerce system — Canvas records the enrolment and rarely the payment.

  • 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.
  • Paid enrolments reconciled against the admissions or commerce system rather than against Canvas.

Canvas → 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
  • Establish which system holds the payment
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Your admissions or commerce system — Canvas records the enrolment and rarely the payment.

Get my free conversion tracking audit

Free30 minutesNo obligation

Canvas → BigQuery · when not to buy

When you don't need this — Canvas → BigQuery

  • If BigQuery already reports conversions that reconcile against Canvas LMS's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry whatever join key you decide on.
  • If Canvas is purely internal or purely academic delivery, the conversion you care about is upstream of it entirely.
  • 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.

Canvas → BigQuery · what we deliver

What gets built — Canvas → BigQuery

  • Identifier capture into Canvas

    Carry the identifier through admissions onto the student record, and use Canvas only to confirm the enrolment actually activated.

  • Event source: your admissions system, with Canvas confirming activation

    Send the paid enrolment from admissions. Canvas's own enrolment event confirms the student actually started, which is a useful second signal and not the money event.

  • 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

    Withdrawals should reverse; deferrals should move rather than reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your admissions or commerce system — Canvas records the enrolment and rarely the payment.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Canvas → BigQuery questions, answered

Yes, through Canvas Data 2 exports or a third-party connector; check which load paths your institution has access to. Expect periodic snapshots rather than real-time rows.

Free · 30 min

Get Canvas and BigQuery joined properly

Free30 minutesNo obligation