Know what must work before you launch
Use Teachable attribution for school checkout or prove a separate Stripe path
- Best fit
- Teams evaluating AffiliateBase for a Teachable affiliate workflow.
- Checkout handoff
- The checkout path must receive the generated AffiliateBase referral ID.
- Proof required
- Complete one referred checkout and confirm the attributed sale and commission.
Follow the attribution evidence
Illustrative scenario · fictional values
-
Referred visit
?via=partner
AffiliateBase captures the visit and generates a referral record.
-
Checkout handoff
referral ID
The checkout must carry the generated identifier into Stripe.
-
Paid event
$99 paid
A supported Stripe event confirms the attributed payment.
-
Commission
$19.80 due
An eligible attributed sale creates the commission record.
-
Payout prep
Payout ready
Review the commission and prepare the next step with your payout provider.
This guide is for school owners creating a program for their own courses. Teachable provides school affiliate tools on eligible plans, including affiliate accounts, link generation, attribution settings, earnings, and resources.
Teachable states that attribution for its checkout is tracked through Teachable-hosted pages. Use the official school affiliates overview for that path. Saving an AffiliateBase referral in browser storage does not establish Teachable checkout attribution.
AffiliateBase can be evaluated for a separate Stripe Payment Link or custom Checkout Session launched from a page you control. Use the Stripe guide and verify the resulting sale and commission.
Follow these steps to integrate AffiliateBase with Teachable:
Add the Tracking Script
<script async src="https://app.affiliatebase.io/track.js" data-account-id="YOUR_ACCOUNT_ID"></script>
Use Stripe Payment Links or Buttons (If Using)
<!-- Keep Stripe checkout elements on the same page as the AffiliateBase script. -->
<a href="https://buy.stripe.com/xxxxx">Buy now</a>
<stripe-pricing-table
pricing-table-id="prctbl_xxx"
publishable-key="pk_live_xxx"
></stripe-pricing-table>
<!-- For custom or redirected Stripe-hosted links, opt in explicitly. -->
<a data-affiliatebase href="https://link.payment/xxxxx">Buy now</a>
Connect Your Stripe Account
Use Teachable Tracking for School Checkout
Test Your Integration
// Visit your site with a test affiliate link:
// Open the exact setup-test link shown in AffiliateBase.
// Open browser console and check:
console.log(window.AffiliateBase?.referral); // Should show a generated referral ID
Why Use AffiliateBase with Teachable?
Use Teachable affiliate attribution for school checkout or verify a separate Stripe path.
Simple Script Installation
Capture referrals on a customizable page, then confirm the script is present on the published route.
Stripe Integration
Supported Stripe events can be attributed only after a compatible checkout receives the generated referral ID.
Subscription Support
Tracks subscription-based course access, including monthly and annual subscriptions.
Multiple Course Support
Support for different commission rates based on course type, price, or category.
Affiliate Dashboard
Give your affiliates a professional dashboard to track their performance and generate links.
Real-Time Tracking
Track conversions in real-time as students enroll or purchase courses.
Frequently Asked Questions
Does AffiliateBase work with Teachable?
How are course enrollments tracked?
Can I track subscription-based courses?
Can I set different commission rates for different courses?
What tracking parameters does AffiliateBase support?
Do affiliates get their own dashboard?
Related Platform Guides
Create an Affiliate Program with Thinkific
Use Thinkific’s affiliate feature for Thinkific checkout, or verify AffiliateBase with a separate Stripe checkout you control. Review setup boundaries.
Create an Affiliate Program with Podia
Use Podia’s built-in affiliate program for Podia checkout, or verify AffiliateBase with a separate supported Stripe checkout. See prerequisites and tests.
Create an Affiliate Program with Kajabi
Compare Kajabi’s built-in Affiliates feature with AffiliateBase for a separate Stripe checkout. Review plan, checkout, and verification requirements.
Add an Affiliate Program to Next.js
Install affiliate tracking in Next.js, hand the generated referral ID to a server-created Stripe Checkout Session, and verify attribution.
Add an Affiliate Program to Nuxt
Load affiliate tracking in Nuxt, pass the generated referral ID to a server route, and verify a Stripe sale and commission.
Ready to Launch Your Teachable Affiliate Program?
Get started with AffiliateBase today and start growing your Teachable school through affiliate marketing.