Teachable supports head code snippets that load across your entire school. One paste makes your courses, credentials, and services visible to AI.
Teachable is one of the most popular platforms for selling online courses. But like most course platforms, it doesn't generate the structured data that AI engines need to understand who you are, what your courses teach, or why your expertise matters.
StructuredAF fills that gap. You paste a single code snippet into Teachable's Head Code Snippets area, and your courses, services, and credentials become machine-readable entities that AI can cite and recommend.
You'll need your StructuredAF code snippet ready. In your StructuredAF dashboard, go to Add to Site. If you haven't already, click Generate Schema and then Deploy. Copy the full code snippet provided.
New to StructuredAF? Start with our Getting Started guide to build your business identity and generate your schema first.
Setup GuideTeachable's Head Code Snippets apply site-wide across your school. One paste covers all your pages.
<head> section of every page on your Teachable school.Good to know: Teachable's Head Code Snippets apply to all pages on your school except SSO login pages and checkout pages. This is fine because neither of those page types are typically indexed by search engines.
After saving, visit your Teachable school in your browser. Right-click anywhere, select View Page Source, and search for ld+json. If you can see the StructuredAF code block in your page source, it's working.
Having trouble? Check our Troubleshooting guide for common issues and fixes.
When someone asks AI "what's the best online course on [your topic]?", AI doesn't browse Teachable. It reads structured data to find entities that match the query: courses with defined curricula, instructors with credentials, programmes with clear outcomes.
StructuredAF structures all of that. Your courses become defined products with pricing, descriptions, and learning outcomes. Your coaching becomes a described service. Your credentials become machine-readable authority signals. That's the difference between AI knowing you exist and AI recommending you.
Want to understand what gets structured? See What You Get for the full picture.
When you update anything in the StructuredAF app (new course, updated pricing, refined bio), just click Generate Schema and Deploy again. Then re-copy the updated code snippet and replace the old one in your Teachable Head Code Snippets.
The snippet itself changes when your data changes, so replacing it is the key step. Full details in our Updating Your Schema guide.
A note on custom code in Teachable: Teachable considers custom code snippets an advanced modification. While the StructuredAF snippet is a standard JSON-LD block that works reliably, Teachable doesn't guarantee compatibility with future platform updates. If Teachable changes how code snippets work, you may need to re-add the snippet. We'll update this guide if anything changes.
Yes. Head Code Snippets in Teachable apply across your entire school, including your homepage, course pages, and sales pages. The only exceptions are SSO login pages and checkout pages, which aren't indexed by search engines anyway.
No. The snippet is a small block of structured data in your page header. It's lighter than the Facebook Pixel or Google Analytics scripts you probably already have installed. Zero performance impact.
Yes, but it's straightforward. Add the new course as an offer in the StructuredAF app, click Generate Schema, then Deploy. Copy the new code snippet and replace the old one in Teachable's Head Code Snippets. Takes about a minute. See Updating Your Schema for the full process.
Great question. If your main website is on WordPress, use the StructuredAF plugin there. Then add the code snippet to Teachable so your course platform is covered too. Install on every platform where your business lives.
Yes. Whether you're using a Teachable subdomain or your own custom domain, the Head Code Snippets work identically. Your structured data loads regardless of how your domain is configured.
Teachable's Head Code Snippets apply site-wide. There's no built-in per-page option. For most users this is ideal because it means one paste covers everything. If you need per-page control, consider platforms like Systeme.io or Webflow which offer both options.
Your data lives in your StructuredAF account, not on Teachable. If you move to another platform, just install the code snippet (or WordPress plugin) on your new site. Nothing is lost. See our Switching Platforms guide for more.
One snippet. Four steps. Your courses become findable.
Get Started