Integration with Hotelinking

Modified on Wed, 20 May at 4:42 PM

Below are the steps to integrate the booking engine with the Hotelinking marketing tool.


1) Go to Integrations>Mark up manager and create a new entry by filling in the fields as follows:


Active: Yes

printOneTime: No

Name: Hotelinking V2

Markup: 


<!-- Google Tag Manager -->
<script>
window.dataLayer=window.dataLayer||[];
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5WPXXBM');
</script>
<!-- End Google Tag Manager -->



Position: Before closing tag  

Location: All pages /helpdesk/attachments/101014517103

 

2) Back in Integration>Mark up manager, create a new entry by filling in the fields as follows:


Active: Yes

printOneTime: Yes

Name: Hotelinking V2

Markup: 

<!-- Google Tag Manager -->

<script>

window.dataLayer = window.dataLayer || [];

dataLayer.push({

"event": "onThankYouPageEvent",

"configuration": configuration,

"booking": transactionObject.items[0]

});

</script>

<!--End Google Tag Manager -->


Position: After opening tag  

Location: Confirmation

/helpdesk/attachments/101014517108


3) Insert Hotelinking on the client's website:


For Hotelinking to function correctly, the following code must be present throughout the client's website at the footer level, as when we redirect a potential client to the hotel, the hotel itself must be able to specify which section of the website it wants its future client to access.


 Code to insert: 


 

NOTE: It is possible that Hotelinking will ask you for the engine's identifier ticket to complete the integration.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article