Partner
A dropship service that offers plans to help you sell through the platform of your choosing.
This integration method integrates all in one solution Wholesale2b with Post Affiliate Pro.
Click tracking code placement
Login to your W2B admin panel, navigate to Customize your site > Template design and then click the lower link “Bottom special announcement” in left panel. Now place your click tracking code into the HTML code section:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript"><!--
PostAffTracker.setAccountId('default1');
try {
PostAffTracker.track();
} catch (err) { }
//-->
</script>
Save your changes.
Sale tracking code placement
Now, navigate to Customize your site > Order confirmation and place the sale tracking code there:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');
var sale = PostAffTracker.createSale();
sale.setTotalCost(cart_value);
sale.setOrderID(cart_id);
PostAffTracker.register();
</script>
Unfortunately only order ID and total cost can be used, no product information is available.