Thinkific is a leading online course platform that helps course creators build, market, and sell online courses. If you're using Thinkific to sell courses and want to grow your student base through affiliate marketing, AffiliateBase provides seamless integration.
This comprehensive guide will walk you through everything you need to know about setting up an affiliate program with Thinkific, from adding the tracking script to tracking conversions through Stripe webhooks.
Whether you're selling single courses, course bundles, or subscription-based access, an affiliate program can help you acquire new students while rewarding your partners for successful referrals.
Follow these steps to integrate AffiliateBase with Thinkific:
Add the Tracking Script
<script>(function(w,r){w._abq=w._abq||[];w[r]=w[r]||function(){(w[r].q=w[r].q||[]).push(arguments)}})(window,'affiliatebase');</script>
<script async src="https://cdn.jsdelivr.net/npm/affiliatebase-tracking@1/src/index.js" data-org-id='YOUR_ORG_ID'></script>
Add Stripe Payment Links Support (If Using)
<!-- Add to your site alongside the tracking script -->
<script>
document.addEventListener('DOMContentLoaded', function() {
setTimeout(function() {
const referralId = window.affiliatebase_referral || '';
if (!referralId) return;
// Update Stripe Payment Links
document.querySelectorAll('a[href^="https://buy.stripe.com/"]').forEach(link => {
const url = new URL(link.href);
if (!url.searchParams.has('client_reference_id')) {
url.searchParams.set('client_reference_id', referralId);
link.href = url.toString();
}
});
// Update Stripe Pricing Tables
document.querySelectorAll('stripe-pricing-table').forEach(table => {
table.setAttribute('client-reference-id', referralId);
});
// Update Stripe Buy Buttons
document.querySelectorAll('stripe-buy-button').forEach(button => {
button.setAttribute('client-reference-id', referralId);
});
}, 1500);
});
</script>
Connect Your Stripe Account
Pass Referral ID to Checkout
<!-- Add to Site Footer Code -->
<script>
// Store referral ID for checkout
if (window.affiliatebase_referral) {
// Store in localStorage for use at checkout
localStorage.setItem('affiliatebase_referral', window.affiliatebase_referral);
}
</script>
Test Your Integration
// Visit your site with a test affiliate link:
// https://yourschool.thinkific.com?via=test123
// Open browser console and check:
console.log(window.affiliatebase_referral); // Should show "test123"
Why Use AffiliateBase with Thinkific?
AffiliateBase is the perfect solution for Thinkific course creators who want powerful affiliate tracking without complexity.
Simple Script Installation
Add a single script tag to your Thinkific site. No complex webhook configuration required.
Stripe Integration
Automatic conversion tracking through Stripe webhooks. Every payment is attributed correctly.
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 Thinkific?
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 Teachable
Complete guide to setting up an affiliate program with Teachable. Track course enrollments, subscriptions, and student purchases using AffiliateBase and webhooks.
Create an Affiliate Program with Podia
Complete guide to setting up an affiliate program with Podia. Track course enrollments, digital product sales, and membership subscriptions using AffiliateBase.
Create an Affiliate Program with Kajabi
Complete guide to setting up an affiliate program with Kajabi. Track course enrollments, product sales, and membership subscriptions using AffiliateBase and webhooks.
Create an Affiliate Program with Next.js
Complete guide to setting up an affiliate program in Next.js. Step-by-step integration with code examples and best practices for Next.js developers.
Create an Affiliate Program with Nuxt
Complete guide to setting up an affiliate program in Nuxt. Step-by-step integration with Nuxt 3, server routes, and composables for Vue developers.
Ready to Launch Your Thinkific Affiliate Program?
Get started with AffiliateBase today and start growing your Thinkific school through affiliate marketing.