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.

LemonStand

An ecommerce platform for retailers who want to grow their business.

This is an integration method for LemonStand shopping cart. The integration code is maintained with ‘Partials’ inserted into Templates and Pages.

Click tracking

The first step is the click tracking integration. Here is a description where to insert the click tracking code, which is necessary for sale tracking.

First of all, navigate to your Store Design > Editor > Partials and click the ‘layout-footer‘ partial. Add the click tracking code to the end of the file:

{$TrackingScript}
<script type="text/javascript">
{$SetAccountJs}
try {
PostAffTracker.track();
} catch (err) { }
</script>

Save your code.

Sale tracking

The sale tracking integration is an easy process as well. Navigate to Store Design > Editor > Pages and click the Receipt page.

Add the following sale tracking code after this line:

{% if invoice %}

{$TrackingScript}
<script type="text/javascript">
{$SetAccountJs}
var sale = PostAffTracker.createSale();
sale.setTotalCost('{{ invoice.subtotal }}');
sale.setOrderID('{{ invoice.order.number }}');
PostAffTracker.register();
</script>

If you want to track customer email (for Lifetime Commissions) you can use this variable:

{{ customer.email }}

Save your code. If you want to track per product commissions, you should follow the next step instructions.

Product Id matching

In case you wanted to track per product information, use this sale tracking code, instead of the one in step 2.

Navigate to Store Design > Editor > Pages and click the Receipt page. Add the following sale tracking code after the line:

{% if invoice %}

{$TrackingScript}
<script type="text/javascript">
var i = 1;
{$SetAccountJs}
{% for shipment in invoice.shipments %}
    {% for item in shipment.shipmentItems %}
      var sale = PostAffTracker.createSale();
      sale.setTotalCost('{{ (item.quantity * item.pivot.price) }}');
      sale.setOrderID('{{ invoice.order.number }}(' + i + ')');
      sale.setProductID('{{ item.product.sku }}');
      PostAffTracker.register();
      i = i + 1;
    {% endfor %}
  {% endfor %}
</script>

That’s it, save your work and you can start tracking your orders

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