- Conversion tracking
- Commission based on order amount
- Track affiliate coupon code conversions
- Supports lifetime commissions
- Auto-handle recurring commissions
- Auto-handle refunds and disputes
If you are using Chargebee this guide is for you. If you want to award your affiliates with a recurring commissions you can do so with Zapier. This guide assumes that you have a Zapier account. Alternatively, you could use Chargebee’s webhooks feature to take care of recurring commissions.
In-app Checkout users
- Place the following code just after the - <head>tag of every page of your website- <script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script> <script type="text/javascript"> (function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){ (t[a].q=t[a].q||[]).push(arguments)}})(window,'tap'); tap('create', '((((YOUR ACCOUNT ID))))', { integration: "chargebee" }); tap('detect'); var setupCb = function() { if (typeof Chargebee === 'undefined') return; var cbInstance = Chargebee.getInstance(); cbInstance.setCheckoutCallbacks(function(cart) { return { success: function(hostedPageId, data) { tap('trial', data.subscription.customer_id); } }; }); }; "complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?setupCb():document.addEventListener("DOMContentLoaded",setupCb); </script>
- Next, go to Settings > Configure Chargebee > Customer facings Essentials > Checkout & self serve portal, then navigate to the Advanced Settings and add the domain this code will be hosted on the “Add domains” section. 
- Save the changes you’ve made, and you’re done! 
Recurring commissions
To setup recurring commissions, you can use our Zapier app.
Important
Please remember to test a conversion before starting your program. This way you can verify that tracking has been set up correctly. You can create a test conversion by following the steps described here.