How to add tracking code to Teachable
Teachable takes a header snippet, so you can see humans arriving from AI apps. It's hosted, so there's no server hook for bot-level tracking.
Code snippets are available on higher plans, sitewide, which is where JSON-LD goes.
Step by step
- Sign in to Teachable and open the header-code setting shown above.
- Copy your tracking snippet from IndexerNow → AI Search → Install (each tracked site has its own).
- Paste the snippet into the header field and save.
- Publish or republish the site so the change goes live.
- Visit any page of your own site once, then check IndexerNow — the pageview should appear within a minute.
What each install level can see
Nothing to install
Available on TeachableWhether ChatGPT, Claude and Perplexity name your business when asked for one like yours, and whether your pages are retrievable at all.
Enter your domain. No code, no account, no plugin.
Can't see: Traffic. It tells you whether AI would recommend you, not whether anyone arrived because it did.
One snippet in your header
Available on TeachableReal humans landing on your site from ChatGPT, Perplexity, Copilot and other AI apps — which page they hit and which app sent them.
Paste a single <script> tag into your site's header/custom-code field and save. No developer, no deploy.
Can't see: AI crawlers. Bots fetch your HTML without running JavaScript, so no browser snippet can see them. That needs Tier 3.
Server or edge install
Not available on TeachableEverything in Tier 2, plus every AI bot that crawls you — GPTBot, ClaudeBot, PerplexityBot, Google-Extended — and exactly which pages they fetch.
Add a request hook (edge middleware, CDN worker, or server middleware). Paste our prompt into an AI coding assistant and it writes the integration for your stack.
Questions
Where do I put custom code in Teachable?
Code snippets are available on higher plans, sitewide, which is where JSON-LD goes.
Will this slow my site down?
No. The snippet is a few hundred bytes, sets no cookies, blocks nothing, and fires once per pageview using sendBeacon, which the browser sends in the background after the page has already rendered.
Does it track AI crawlers like GPTBot?
No — and no header snippet can. AI crawlers fetch your HTML without ever running JavaScript, so a browser snippet is invisible to them. Seeing bot-level crawls needs a server or edge install, which hosted builders don't allow. The snippet shows you the humans those crawlers send you.
Do I need an account?
For the snippet, yes — each tracked site gets its own ingestion token. The citation check that tells you whether AI search names your business needs no account at all.