Out-of-the-box features:
- Conversion tracking
- Commission based on order amount
- Track affiliate coupon code conversions
- Supports lifetime commissions
- Auto-handle recurring commissions
- Auto-handle refunds and disputes
Place the code just after the
<body>
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: "paddle" }); tap('detect'); function trackConversion(data) { var order_amount = (data.checkout.prices.vendor.total - data.checkout.prices.vendor.total_tax).toFixed(2); tap('conversion', data.checkout.id, order_amount ); } </script>
{{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}
Next, in your Paddle code add the
successCallback
:<script type="text/javascript"> // ... Paddle.Checkout.open({ product: 123, // Your product or plan ID (**successCallback: trackConversion**) }); </script>
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.