Peek Pro integration
Booking software and marketplace for delightful things to do.
The integration is done thanks to tracking option of booking flows.
The sale tracking
The first step would be to login to your Peek Pro admin panel and navigate to Configuration> Analytics. There are tabs you can choose from, the one we are going to work right now is ‘Tracking’.
Each of existing flows has an option to edit – choose those you want to integrate (repeat the step for each) and edit it. The popup window will offer you the tracking variables and a place for your code. Place there the following sale tracking code:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');var sale = PostAffTracker.createSale();
sale.setTotalCost('{REVENUE}');
sale.setOrderID('{ID}');
sale.setProductID('{PRODUCT_NAME}');
sale.setData1('{EMAIL}');
sale.setData2('{DATE}');
sale.setCurrency('{CURRENCY}');
PostAffTracker.register();
</script>
That is it. Save (submit) the code and you are all set.
To make sure all the tracking works correctly do not forget to integrate your website with the click tracking code.