Third Party Affiliates (TPA)

To pass third party affiliate IDs to Explodely, you need to update your product payment links to send an extra GET parameter “tpa” along with the payment link.

So for example, if your payment link is this:

https://explodely.com/p/1234

then when you pass any third party affiliate ID to it, say “test” then the product payment link should be this:

https://explodely.com/p/1234?tpa=test

Please note that this third party affiliate ID will show as “tpa_test” on checkout page as well as on all recorded data including clicks, sales, etc.

To get the affiliate ID from your 3rd party affiliate network on your sales page and then for passing it to Explodely payment links, you can use any server side language like PHP or if your sales page code can only have HTML/JS code then you can use that as well. Please find example code below for both scenarios.

#1 PHP

If the sales page URL gets affiliate ID value in “subid” parameter like https://yoursaleswebsite.com/index.html?subid=AFFILIATEID then the Explodely link can be written like this:

<a href=”https://explodely.com/p/PRODUCTID?tpa=<?php echo $_GET[‘subid’]; ?>”>Click Here To Pay</a>

#2 HTML/JS

For above same example:

<a onclick=’explinkclick(event);’ href=””>Click Here To Pay</a><br/>

<script type=”text/javascript”> var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = window.location.search.substring(1), sURLVariables = sPageURL.split(‘&’), sParameterName, i;

for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split(‘=’);

if (sParameterName[0] === sParam) { return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]); } } return false; };

var affid = getUrlParameter(‘subid’); function explinkclick(event) { event.preventDefault(); window.location=’http://explodely.com/p/PRODUCTID?tpa=’ + affid; } </script>

Please don’t forget to replace subid with whatever URL parameter name your sales page gets the affiliate ID with.

Also keep in mind that if you pass third party affiliate ID to your payment links then the product commission is automatically set as zero percent which means for the traffic and sales coming through third party affiliates, you cannot use Explodely affiliate system.

For any queries, please contact Explodely vendor support or your account manager.

Last updated