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
Note: This integration is meant for custom-made websites (no platform) that use Paypal as the sole payment provider. If you’re using WordPress and PayPal together, please follow the WordPress guide with the PayPal-specific steps located at the end of the guide.
Add the following 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'); function tapGetQueryParams(){var r={},t=function(r){return decodeURIComponent(r.replace(/\+/g," "))},n=location.search.substring(1).split("&");for(var e in n){var a=n[e].toString().split("=");a.length>1&&(r[t(a[0])]=t(a[1]))}return r} var params = tapGetQueryParams(); tap('create', '((((YOUR ACCOUNT ID))))', { integration: "paypal" }); if (params.st == 'Completed') { var amt = params.amt || 1; var tx = params.tx || null; tap('conversion', tx, amt); } else { tap('detect'); } </script>
{{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}
This code has to be added to both your landing page, as your thank you page.Next you will have to configure Paypal:
- Login to your paypal account.
- Click on the Settings gear on the upper right > Account Settings.
- On the left-side navigation column, select Website Payments.
- Locate Website Prefernces and click on Update.
- Switch Auto return “On” and enter your desired Return url.
- Switch Payment data transfer “On”.
- Login to your paypal account.
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.