–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

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.


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.


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 = '//URL_TO_PostAffiliatePro/scripts/trackjs.js';
    script.onload = script.onreadystatechange = function() {
      var rs = this.readyState; if (rs && (rs != 'complete') && (rs != 'loaded')) return;
  })(document, 'script');

function papSale(totalCents, orderId, data1) {
  var sale = PostAffTracker.createSale();

   // 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