All Collections
Integrations
Integrating with Paddle
Integrating with Paddle

Learn how to integrate Tapfiliate with Paddle.

Maria avatar
Written by Maria
Updated over a week ago

This integration allows you to track conversions and manage commissions based on order amount of your products or services made through your Paddle platform.
​
To commence the process:

  1. Insert 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>
​
Don't forget to replace 'YOUR ACCOUNT ID' with your actual account ID, which can be found in your Tapfiliate account Profile settings.

2. Following that, within your Paddle code, add the successCallback:

<script type="text/javascript">

// ...

Paddle.Checkout.open({

product: 123, // Your product or plan ID

successCallback: trackConversion

});

</script>
​


Feel free to explore our Paddle integration guide to ensure smooth integration between these two platforms and successfully set up your affiliate program.

Keep in mind to perform a conversion test before launching your program. This allows you to confirm an accurate tracking setup. To create a test conversion, follow the instructions provided in this guide.

Did this answer your question?