Knowledge Base > Installing on Teachable
Platform Guide

Installing StructuredAF on Teachable

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.

Prerequisites

Before you start

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 Guide

How to install

Teachable's Head Code Snippets apply site-wide across your school. One paste covers all your pages.

1
Open Code Snippets
In your Teachable admin, go to Site in the left sidebar, then click Code Snippets.
2
Find Head Code Snippets
You'll see a section labelled Head Code Snippets. This is where code gets added to the <head> section of every page on your Teachable school.
3
Paste your code snippet
Paste your full StructuredAF code snippet into the Head Code Snippets field.
If you already have other scripts here (like Google Analytics or a Facebook Pixel), paste the StructuredAF snippet below them. Each script block sits independently.
4
Save
Click Save. Your structured data is now live across 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.

Verification

Check it's working

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.

Why this matters for your Teachable courses

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.

How updates work

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.

SEO Comparison

What Teachable gives you vs what AI needs

Teachable Built-in
Course hosting and delivery
Sales pages and checkout
Student management
Payment processing
No schema markup at all
No course structured data
No entity data for AI
No knowledge graph presence
+ StructuredAF
Complete business identity schema
Courses, programmes and coaching
Credentials and expertise
FAQ schema for AI answers
Professional profile and authority
Delivered to all AI crawlers
Updates when you regenerate
Zero maintenance required
Quick Answers

Common questions

Does this cover all my course pages?

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.

Will this slow down my Teachable school?

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.

Do I need to update the snippet when I launch a new course?

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.

I use Teachable for courses but have a separate website too. Do I need the snippet on both?

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.

Does this work with custom domains on Teachable?

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.

Can I add the snippet to specific pages only?

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.

What if I decide to move away from Teachable?

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.

Ready to make your Teachable courses visible to AI?

One snippet. Four steps. Your courses become findable.

Get Started
Need help? Get in touch