Integrating with Paddle

  1. 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))))');
        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}}}}

  2. 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.

Start a 14-day free trial with all our features enabled

Start now