LeadDyno is one of the major players in affiliate marketing.
The integration between Chargebee and LeadDyno allows automated tracking of lead conversion, cancellation and affiliate compensation for purchases made via Chargebee.
The integration is seamless. To know how, read through LeadDyno's Chargebee Integration Guide .
How do I enable Chargebee - LeadDyno integration if I am using Chargebee's hosted pages for checkout flow?
If you are using the drop in script, pass the tracking ID as shown below.
//get tracking id from LeadDyno var trackingId = LeadDyno.devTools.getTrackingId(); //pass this to Chargebee var cbInstance = Chargebee.getInstance(); var cart = cbInstance.getCart(); cart.setAffiliateToken(trackingId);
If you are using Chargebee's API, pass the tracking ID as a value to subscription[affiliate_token].
Please refer to this documentation.
How do I get the LeadDyno affiliate id from LeadDyno cookie?
How do I enable Chargebee - LeadDyno Integration, if I am using Chargebee's complete API integration?