Skip to main content

Kajabi Affiliate Program: Native Setup or Stripe Tracking

Know what must work before you launch

Choose the tracking system that actually owns your course checkout

Best fit
Teams evaluating AffiliateBase for a Kajabi 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

  1. Referred visit

    ?via=partner

    AffiliateBase captures the visit and generates a referral record.

  2. Checkout handoff

    referral ID

    The checkout must carry the generated identifier into Stripe.

  3. Paid event

    $99 paid

    A supported Stripe event confirms the attributed payment.

  4. Commission

    $19.80 due

    An eligible attributed sale creates the commission record.

  5. Payout prep

    Payout ready

    Review the commission and prepare the next step with your payout provider.

This guide is for creators running an affiliate program for their own Kajabi offers. Kajabi documents a built-in Affiliates feature on eligible plans, with Share Links, coupons, commissions, reporting, and an affiliate portal.

For a Kajabi-hosted Offer checkout, start with Kajabi’s official Affiliates overview. A script that stores a referral in localStorage does not pass that value into Kajabi checkout, so this page does not claim native Kajabi checkout compatibility.

AffiliateBase is relevant when your marketing page leads to a separate Stripe Payment Link or merchant-controlled Checkout Session. Connect the same Stripe account, follow the Stripe setup, and verify the complete path with the checkout checklist.

Follow these steps to integrate AffiliateBase with Kajabi:

1

Add the Tracking Script

Add the AffiliateBase tracking script to your Kajabi site. Go to **Settings > Site Details > Header Tracking Code** and paste this script. Use the pinned jsDelivr tracking URL for the latest published AffiliateBase release.
html
<script async src="https://app.affiliatebase.io/track.js" data-account-id="YOUR_ACCOUNT_ID"></script>
2

Use Stripe Payment Links or Buttons (If Using)

If you use Stripe Payment Links or Buy Buttons on your Kajabi site, add the tracking script on the same page so AffiliateBase can pass the generated referral ID.
html
<!-- 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>
3

Connect Your Stripe Account

Pass the generated referral ID as client_reference_id to Stripe for accurate conversion tracking. Do not use the public ?via token. Connect the Stripe account used by the separate supported checkout. A webhook is only pipe evidence until it matches a referral and creates the expected records.
4

Keep Kajabi Checkout on Kajabi Tracking

If buyers use Kajabi-hosted Offer checkout, configure Kajabi Affiliates instead. Browser storage does not hand AffiliateBase attribution to Kajabi checkout.
5

Test Your Integration

For an external Stripe checkout, open AffiliateBase’s generated setup-test link, complete checkout, and verify the Stripe referral ID, sale, and commission.
javascript
// 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 Kajabi?

Match the affiliate system to Kajabi-hosted checkout or a separate Stripe checkout.

Simple Script Installation

Install the account-specific script only on pages where custom code is supported and confirm it loads after publication.

Multi-Product Support

Kajabi’s native affiliate feature covers eligible Offers; AffiliateBase coverage depends on the separate Stripe path you test.

Stripe Integration

Supported Stripe events can create sales after the checkout carries a valid generated referral ID.

Subscription Support

Tracks membership subscriptions, including monthly and annual plans.

Affiliate Dashboard

Give your affiliates a professional dashboard to track their performance and generate links.

Real-Time Tracking

Track conversions in real-time as customers purchase or enroll.

Frequently Asked Questions

Does AffiliateBase work with Kajabi?
Kajabi provides its own Affiliates feature for hosted Offers. AffiliateBase is only established here for a separate supported Stripe checkout you can verify.
Can I track all Kajabi product types?
Yes! AffiliateBase tracks online courses, digital products, and membership subscriptions through Stripe webhooks.
How are course enrollments tracked?
The generated referral ID must reach Stripe checkout. Capturing or storing it on a Kajabi page does not by itself attribute a purchase.
Can I track subscription-based memberships?
Yes! AffiliateBase tracks Kajabi membership subscriptions through Stripe webhooks. Affiliates receive commissions for subscription sign-ups and renewals.
What tracking parameters does AffiliateBase support?
AffiliateBase automatically detects ?via= URL parameters by default. You can add custom token keys with data-affiliatebase-params.
Do affiliates get their own dashboard?
Yes! Affiliates get access to a professional dashboard where they can view conversions, commissions, and generate affiliate links.

Related Platform Guides

Ready to Launch Your Kajabi Affiliate Program?

Get started with AffiliateBase today and start growing your Kajabi business through affiliate marketing.