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.

Shop-Script 5 (Webasyst)

A next generation CMS which combines web publishing tools, blogging, and ecommerce with enterprise collaboration platform.

Emerging PHP ecommerce framework that helps you increase sales. Feature-rich PHP shopping cart solution & ecommerce framework developed in 2013—2014. One of the leading shopping cart solutions of Russia.

The integration is done by a tracking script directly placed into the store design section. You can track total cost, order ID, per product items and currency.

per order tracking

Login to your admin area of Shop-Script 5 and navigate to Shop (the top icon) and then to Storefronts tab.

In the list of files find checkout.success.html and place the tracking code above this line ‘{if !empty($payment)}’:

{$TrackingScript}
<script type="text/javascript">
	{$SetAccountJs}
	var sale = PostAffTracker.createSale();
	sale.setTotalCost('{$order.total}');
	sale.setOrderID('{$order.id}');
	sale.setCurrency('{$order.currency}');
	{if empty($payment_success)}
		sale{$smarty.foreach.pap.iteration}.setStatus('P');
	{/if}
	PostAffTracker.register();
</script>

Save your work and you are done. Order will be tracked now.

per product tracking

In case you want to track orders per product (into different campaigns) you have to use the following code instead of the one from the first step.

{$TrackingScript}
<script type="text/javascript">
{$SetAccountJs}
{foreach $order.items as $item name=pap}
    var sale{$smarty.foreach.pap.iteration} = PostAffTracker.createSale();
    sale{$smarty.foreach.pap.iteration}.setTotalCost('{$item.price * $item.quantity}');
    sale{$smarty.foreach.pap.iteration}.setOrderID('{$order.id}({$smarty.foreach.pap.iteration})');
    sale{$smarty.foreach.pap.iteration}.setProductID('{$item.product_id}');
    sale{$smarty.foreach.pap.iteration}.setCurrency('{$order.currency}');
    {if empty($payment_success)}
        sale{$smarty.foreach.pap.iteration}.setStatus('P');
    {/if}
    PostAffTracker.register();
{/foreach}
</script>

That’s it. Your store has been integrated.

Do not forget to integrate your cart with the click tracking code – you can use the design section again, place the click tracking code to the index.html file.

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