This article covers
How to identify the affiliate id for my visitor?
Where can I retrieve the affiliate id?
Summary
If you are using Chargebee’s API to create a new customer and subscription you have to pass the affiliate_token field in the create subscription setup to complete the integration.
Info: Input LeadDyno Affiliate ID can be retrieved from LeadDyno's Javascript API as a parameter
Following are the steps to identify the affiliate id for the visitor:
Add drop-in script to set up visitor and conversion tracking
Identify the Affiliate ID for the visitor using LeadDyno's Javascript library
Pass the affiliate id to Chargebee Create subscription API
While calling Create Subscription API, pass the Affiliate ID as "affiliate_token"
Configure webhooks to track any lead conversions or cancellations
To know more about LeadDyno <> Chargebee integration click here.