The Meta Pixel (formerly the Facebook Pixel) lets you measure the results of Facebook and Instagram ads, build audiences, and retarget people who visited your course but did not buy. Here is how to add it to Teachable.
Step 1 — Get your Pixel ID
In Meta Events Manager, select your pixel (or create one), and copy the Pixel ID — a long number like 1234567890.
Step 2 — Add the pixel to Teachable
- In your Teachable admin, go to Site → Code Snippets (or the head-code area).
- Paste the Meta Pixel base code into the head section.
- Swap in your Pixel ID where shown.
- Save and publish.
The base code looks like this (simplified — replace YOUR_PIXEL_ID):
Step 3 — Verify with the Meta Pixel Helper
Install the free Meta Pixel Helper Chrome extension, open your Teachable site, and the extension will confirm the pixel is firing and show the PageView event.
Generate it in one click
Our free code generator builds a paste-ready tracking snippet for Teachable and 15 other platforms — pick your platform, drop in your ID, copy the code. Want everything? The Creator Code Vault has 140 drop-in integrations for one payment.
Get the free Meta Pixel snippet → See the VaultCommon questions
Is the Meta Pixel the same as the Facebook Pixel?
Yes — Meta renamed it. Same tool, same base code, same Pixel ID.
Do I need this if I am not running ads yet?
It is worth installing early. The pixel starts building your audience data now, so your ads perform better when you do launch them.
Can I track purchases, not just pageviews?
Yes — that needs an extra event on your checkout or thank-you page. The Vault tracking package includes ready-made purchase-event snippets.