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.

PayU

PayU is the main online payments processor in Romania and it offers a secure, fast and simple way to accept online payments for any type of products and services for online shops.

With the integration method you can track product IDs (per product integration), total cost, order ID, currency and coupons.

Insert the sale tracking code

The only step is to place the sale tracking code to Marketing > After Sale Messages > After Sale Messages.

There is a section Text where you are supposed to place the sale tracking code. If you already have some code/message there, just add the sale tracking code to the end of the section:

{$TrackingScript}
<script type="text/javascript">
var sale = PostAffTracker.createSale();
sale.setTotalCost(myOrder.totalPrice - myOrder.tax - myOrder.shipping);
sale.setOrderID(myOrder.refNo);
sale.setCurrency(myOrder.currency);
PostAffTracker.register();
</script>

Save your work and you are done.

Per product tracking

If you want to track per product commissions, please use the following code instead the one from the first step.

{$TrackingScript}
<script type="text/javascript">
for (i=0; i< myOrder.productsInOrder.length; i++){
var sale = PostAffTracker.createSale();
sale.setTotalCost(myOrder.productsInOrder[i].quantity * myOrder.productsInOrder[i].price);
sale.setOrderID(myOrder.refNo + '(' + (i + 1) + ')');
sale.setProductID(myOrder.productsInOrder[i].id);
sale.setCurrency(myOrder.currency);
PostAffTracker.register();
}
</script>

In case you want to track also coupon codes, add this line to your sale tracking code (e.g. under the line with setCurrency):

sale.setCoupon(myOrder.productsInOrder[i].coupon);

Do not forget to integrate your site with the click tracking code to make it working.

Notice: Make sure your Post Affiliate Pro is installed on a server with an SSL support (https). PayU requires all scripts to be called in a secure way, so your Post Affiliate Pro has to be behind an SSL.

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