LCreator Code Vault Home →
Home › Guides › Google Analytics on Teachable
Teachable guide

How to add Google Analytics (GA4) to Teachable

Two ways to track your Teachable traffic properly with Google Analytics 4 — the built-in integration field, and a snippet method. No developer required.

If you're running ads, writing content, or just trying to understand where your students come from, Google Analytics 4 (GA4) is the free tool that shows you. Teachable makes it straightforward to connect.

First: get your GA4 Measurement ID

In Google Analytics, create a GA4 property (or open your existing one), then go to Admin → Data Streams → your web stream. You'll see a Measurement ID that starts with G- (for example, G-XXXXXXX). That's the ID Teachable needs.

Option 1 — Teachable's built-in integration field

Teachable has a dedicated field for Google Analytics. In your school admin, go to Site → Settings → Integrations (labels vary slightly by version), find the Google Analytics field, paste your G- Measurement ID, and save. Teachable then loads GA4 across your pages for you.

Quick tip: Older instructions mention a "UA-" tracking ID — that's the retired Universal Analytics. Use the newer G- GA4 Measurement ID instead; UA properties no longer collect data.

Option 2 — The snippet method (more control)

If you'd rather install the tag yourself, or you want to add GA4 alongside other tracking, you can paste the standard Google tag (gtag.js) into Teachable's custom head-code area. The snippet looks like this (with your ID swapped in):

<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XXXXXXX'); </script>

Paste it into the site-wide header/code-injection area so it loads on every page. Use this method if the native field isn't available on your plan or you're managing several tags.

Confirm it's working

  1. Open your live Teachable site in a normal browser tab.
  2. In Google Analytics, go to Reports → Realtime.
  3. You should see yourself counted as an active user within a minute or two.

Want it done in seconds?

The Creator Code Vault's free generator builds a clean, ready-to-paste GA4 snippet with your ID already inserted — plus 140 drop-in integrations for Thinkific, Teachable, and Kajabi. One payment, yours forever.

Try the free code generator See the Vault →

Common questions

Do I need the paid version to add GA4?

No. GA4 itself is free, and the free generator produces the snippet at no cost. The Vault simply bundles this with many other integrations.

GA4 vs. the old Universal Analytics?

Use GA4 — the G- ID. Universal Analytics (UA-) has been retired and no longer collects data.

Why don't I see any data yet?

New GA4 properties can take up to 24–48 hours to show full reports, though Realtime should register visits almost immediately.

← Back to the Creator Code Vault