Language switcher

#languages]

–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

Example:
europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.

Integrations

Maximize the value of your existing affiliate marketing software and extend its possibilities with a wide range of integrations, plugins and apps. All built to improve the strong foundations of Post Affiliate Pro.

SimpleShop

SimpleShop integration is about adding the integration code to thank you page and setting up a plugin to track payments (automatic approval).

Sale tracking code

Log in to your SimpleShop admin panel and navigate to Settings section and click Conversion Tools link in the Selling section.

Insert the following code to the Custom conversion codes:

{$TrackingScript}
<script type="text/javascript">
{$SetAccountJs}
var orderId = '{id}';
var callBack = false;

function getVisitorId() {
	return PostAffTracker._getAccountId() + PostAffTracker._cmanager.getVisitorIdOrSaleCookieValue();
}

function visitorCallBack() {
  if (callBack == false && "null" != getVisitorId()) {
    callBack = true;
    var pixel = document.createElement("img");pixel.width=1;pixel.height=1;
    pixel.src = 'https://{$PluginsUrl}SimpleShop/webhook.php?visitorId='
    +getVisitorId()+'&id='+orderId+'&ac=sale';
    document.body.appendChild(pixel);
  }
}

PostAffTracker._cmanager.loadHttpCookies();
if (getVisitorId().indexOf('null') != -1) {
	PostAffTracker._cmanager.readAllFlashCookies();
	setTimeout(function() {visitorCallBack();}, 1800);
	PostAffTracker.executeOnResponce.push(function() {visitorCallBack();});
}
else {
	visitorCallBack();
}

try {
  PostAffTracker.track();
}
catch(e){}
</script>

Save your changes. This will track a commission which should be pending (setup your campaign to manual status approval).

Setup SimpleShop plugin in merchant panel

To automatically approve commissions after orders were paid you have to enable the SimpleShop plugin. Login to your merchant panel and navigate to Plugins section. Find and enable SimpleShop plugin.

When enabled configure it – you will need your SimpleShop username (the one you use to login to your admin panel) and an API key. You can get your API key in your SimpleShop Settings section in Integration section after clicking the API link.

Add webhook for automatic approval

With the plugin active you have to take one last step to finish the integration. You have to add the plugin URL to each product you want to track for automatic commissions approval. Navigate to Products in your SimpleShop admin and edit each. Navigate to Various tab and add the following URL to the URL webhook field:

https://{$PluginsUrl}SimpleShop/webhook.php?ac=webhook&id={id}

Click tracking code

The click tracking code has to be implemented in the website where you host your SimpeShop order forms.

Back to Integrations Create account for FREE

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.

×

Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call