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.

Booqable

When you need to plan rentals, receive online orders, keep track of inventory, accept payments, view product availability, send out invoices, and more, Booqable has you covered.

To integrate your Booqable store login to its admin panel and navigate to Settings> Online checkout> Additional scripts.

Code

The sale tracking code to be used in Additional scripts section:

(function(d,t) {
    var script = d.createElement(t); script.id= 'pap_x2s6df8d'; script.async = true;
    script.src = '{$ScriptsUrl}trackjs.js';
    script.onload = script.onreadystatechange = function() {
      var rs = this.readyState; if (rs && (rs != 'complete') && (rs != 'loaded')) return;
    };
    d.getElementsByTagName('body')[0].appendChild(script);
  })(document, 'script');


function papSale(totalCents, orderId, data1) {
  {$SetAccountJs}
  {$CreateSaleJs}
    sale.setTotalCost(totalCents/100);
    sale.setOrderID(orderId);
    sale.setData1(data1);
    PostAffTracker.register();
}

setTimeout(function(){
   // Booqable completed event
    Booqable.on('completed', function (e) {
        var state = store.getState();
        var cart = state.orm.carts.getById(state.checkout.cartId);
        var subtotal = Number(cart.price_in_cents);
        var discount = Number(cart.coupon_discount_in_cents);
        papSale(subtotal-discount, cart.created_at + '('+cart.id+')', state.form.CheckoutForm.email.value);
    });

}, 2500);

That’s it. The store has been integrated. Do not forget to integrate your site with the click tracking code.

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