Attribute revenue with Kajabi
Before proceeding, confirm that you have set up Flowsery Analytics tracking on your Kajabi site and linked your Stripe account.
1. Navigate to your Kajabi thank you page
- Sign in to your Kajabi dashboard
- Go to Products and select the product you want to track
- Click Edit > Checkout > Thank You Page
2. Insert the Flowsery Analytics tracking snippet
Add the following JavaScript to your thank you page:
<script id="flowsery-queue">
window.flowsery = window.flowsery || function() {
window.flowsery.q = window.flowsery.q || [];
window.flowsery.q.push(arguments);
};
</script>
<script>
try {
// Retrieve the customer email from Kajabi checkout data
// Kajabi typically stores the customer email in the URL or page data
const urlParams = new URLSearchParams(window.location.search);
const customerEmail = urlParams.get('email') ||
document.querySelector('[data-customer-email]')?.textContent ||
document.querySelector('input[name="email"]')?.value;
if (customerEmail) {
window.flowsery("payment", { email: customerEmail });
}
} catch (e) {
console.error("Flowsery Analytics tracking error:", e);
}
</script>
3. Save and verify
- Save your thank you page
- Complete a test purchase to confirm tracking is working
- Check your Flowsery Analytics dashboard for revenue data
Alternative: Use Kajabi's theme code editor
If you have access to Kajabi's theme editor:
- Go to Website > Themes > Customize
- Locate the Custom Code or Footer Code section
- Paste the tracking snippet there instead
Following a successful purchase, revenue data will appear in your Flowsery Analytics dashboard.