Revenue Attribution
Kajabi
Set up revenue attribution when using Faurya with Kajabi. Track course sales, coaching programs, and subscription revenue.
Attribute revenue with Kajabi
Make sure you've added Faurya tracking to your Kajabi site and connected your Stripe account first.
1. Access your Kajabi thank you page
- Log in to your Kajabi dashboard
- Go to Products and select the product you want to track
- Click Edit > Checkout > Thank You Page
2. Add the Faurya tracking code
Add this JavaScript code to your thank you page:
<script id="Faurya-queue">
window.Faurya =
window.faurya ||
function () {
window.faurya.q = window.faurya.q || [];
window.faurya.q.push(arguments);
};
</script>
<script>
try {
// Get customer email from Kajabi's checkout data
// Kajabi usually stores 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.faurya("payment", { email: customerEmail });
}
} catch (e) {
console.error("Faurya tracking error:", e);
}
</script>3. Save and test
- Save your thank you page
- Make a test purchase to verify the tracking works
- Check your Faurya dashboard for revenue data
Alternative: Use Kajabi's custom code section
If you have access to Kajabi's theme editor:
- Go to Website > Themes > Customize
- Find the Custom Code or Footer Code section
- Add the tracking code there instead
After a successful purchase, you should see revenue data in your Faurya dashboard.