Below we summarize the steps that must be taken to integrate the HiJiffy script.
Two Markups must be added, as the script contains two parts.
Add script All pages
1) Go to Integrations > Mark up Manager.
2) Add the first script provided by the manual supplier in the Mark up field:
<script type="text/javascript">
window.HiJiffyWidget = window.HiJiffyWidget || {};
window.HiJiffyWidget.Token = 'p7IYr6VKItqlqR';
window.HiJiffyWidget.AppId = 'hj-' + Math.random().toString(36).substr(2, 16);
(function(doc, script, time, el) {
time = Math.floor(new Date().getTime() / 60000);
el = doc.createElement('div');
el.id = window.HiJiffyWidget.AppId;
doc.getElementsByTagName('body')[0].appendChild(el);
script = doc.createElement('script');
script.async = true;
script.type = 'text/javascript';
script.src = 'https://widget.hijiffy.com/build.js?t=' + time;
doc.getElementsByTagName('head')[0].appendChild(script);
}(document));
</script>
3) Configure the remaining parameters as in the following screenshot:
- Active: Yes
- printOneTime: No
- Position: After the opening tag
- Location: All pages
4) Click on save.
Add Confirmation script
1) Go to Integrations > Mark up Manager.
2) Add the second script in the Mark up field:
<img
src="https://messenger-services.com/trackredirect/pixel?step=Booking&accountID=363&amount
={{markup_amount}}¤cy={{markup_currency}}&property=hotel_demo&bookingid={{markup_reservationId}}&checkin=CHECKINDATE&check
out=CHECKOUTDATE" width="1" height="1">
3) Configure the remaining parameters as in the following screenshot:
- Active: Yes
- printOneTime: Yes
- Position: After the opening tag
- Location: Confirmation
Important: After completing the configuration, you must access the booking engine and perform a test booking to verify the system's functionality after implementing the widget.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article