Skip to main content
Teachable → GA4Integration guide

Connecting Teachable to GA4

Teachable hosts courses and their checkout, so the sale happens inside the platform and the creator's own site is usually just a front door. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the Teachable transaction before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Teachable to GA4: purchases with plan type intact

Teachable checkout starts a new GA4 session unless cross-domain measurement is set up. Either fire a browser purchase on the thank-you page or send Measurement Protocol from the transaction webhook, not both. Append the client_id to the checkout URL, use the transaction ID as transaction_id, mark plan type, skip later instalments, and send refunds with the original ID.

Teachable checkout runs on your Teachable school domain, so a buyer who lands on your marketing site and clicks Enroll starts a new GA4 session unless both domains share cross-domain measurement. Check whether your Teachable plan lets you add a GA4 ID or custom code to the thank-you page; if so, it fires a browser purchase, and a Measurement Protocol event from the transaction webhook on top of it will double count.

For server-side sends, append the client_id to the checkout URL, confirm Teachable keeps it on the transaction, and send purchase with the transaction ID as transaction_id. Use item_variant or a custom parameter for one-time, payment plan and subscription, so GA4 reports can separate them; a three-payment plan sent at its first instalment makes it look like the cheapest offer.

Payment plan instalments after the first should not be new purchases in GA4, since they are not new acquisitions, and Measurement Protocol only takes timestamps up to 72 hours old anyway. Refunds inside the course refund window go back as refund events with the original transaction_id.

Teachable → GA4 · what breaks

Why this join usually fails — Teachable → GA4

  1. 01

    The GA4 client_id never reaches Teachable

    Checkout is hosted on Teachable, so an identifier captured on your own marketing site does not automatically reach the enrolment. It has to be carried through the checkout URL and read back from the transaction.

  2. 02

    A hosted checkout on another domain

    Your marketing site and the checkout are separate origins, so nothing carries across on its own and the enrolment arrives with no trace of the campaign.

  3. 03

    Everything lands under (direct)/(none)

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  4. 04

    Nothing reconciles afterwards

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Teachable → GA4 · the fix

What working looks like — Teachable → GA4

  • The GA4 client_id on every enrolment

  • Conversions arriving in GA4

    Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.

  • Reconciled against the source

Teachable → GA4 · architecture

How Teachable and GA4 actually connect

  1. 1

    Teachable holds the truth

    Teachable distinguishes one-time purchases, payment plans and subscriptions. As with any course platform, valuing a payment plan at its first instalment is the standard mistake.

  2. 2

    GA4 needs a click to match

    GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.

  3. 3

    The identifier is the bridge

    The GA4 client_id, captured at the visit and carried into the Teachable transaction.

  4. 4

    The event source decides reliability

    Send from the webhook on completed transactions, distinguishing plan types so each carries an appropriate value.

  5. 5

    Deduplication at the destination

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

Teachable → GA4 · normal or broken

Working vs. broken, side by side — Teachable → GA4

Normal, not a fault

  • The GA4 client_id present on the enrolment

  • Sent from the Teachable transaction webhook

  • Deduplicated correctly

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

  • Reconciles with the source

Actually broken

  • The GA4 client_id missing on most records

    Checkout is hosted on Teachable, so an identifier captured on your own marketing site does not automatically reach the enrolment. It has to be carried through the checkout URL and read back from the transaction.

  • Sent from the browser

    Your marketing site and the checkout are separate origins, so nothing carries across on its own and the enrolment arrives with no trace of the campaign.

  • Counted twice, or not at all

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  • Nobody has reconciled it

Teachable → GA4 · diagnose

Diagnostic order — Teachable → GA4

  1. 01

    Count enrolments carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a recent transaction and look for the identifier

    Absent means the checkout URL is not carrying it, which is the usual cause.

  4. 04

    Check whether server events carry a session and a source

    In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.

  5. 05

    Read the match rate, not the success message

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Teachable → GA4 · prove

How it gets proven — Teachable → GA4

Source of truth

Teachable's transaction records for the same window, net of refunds.

  • The GA4 client_id confirmed present on a live enrolment.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • An enrolment confirmed to carry both the identifier and the correct plan value.

Teachable → GA4 · free audit

What we check in the free audit

  • Count enrolments carrying the GA4 client_id
  • Follow one real conversion end to end
  • Open a recent transaction and look for the identifier
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Teachable's transaction records for the same window, net of refunds.

Get my free conversion tracking audit

Free30 minutesNo obligation

Teachable → GA4 · when not to buy

When you don't need this — Teachable → GA4

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the GA4 client_id.
  • For a single course at modest volume, Teachable's own reporting is adequate.
  • GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.

Teachable → GA4 · what we deliver

What gets built — Teachable → GA4

  • Identifier capture into Teachable

    Append the identifier to the course checkout URL and verify it is retrievable from the resulting transaction before building anything downstream.

  • Event source: the Teachable transaction webhook

    Send from the webhook on completed transactions, distinguishing plan types so each carries an appropriate value.

  • Dispatch to GA4

    Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.

  • Reversals where they exist

    Refunds are recorded, and course refund windows generate a real volume of them.

Written guarantee

95%+ tracking accuracy

Measured against Teachable's transaction records for the same window, net of refunds.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Teachable → GA4 questions, answered

Either use Teachable's thank-you page code or GA settings, or send purchase from the transaction webhook with your client_id. Not both.

Free · 30 min

Get Teachable and GA4 joined properly

Free30 minutesNo obligation