SynXis

Adding Flip.to to your SynXis booking engine is done in just three steps.

Before you begin

  • First, you'll need your Flip.to companyCode, which you should have received by email. If not, ask our Customer Success team.


Step 1: Whitelisting Flip.to

To whitelist Flip.to on SynXis:

  • After you sign in to SynXis, click SetupChannelsBE Designer

  • Then click ManageAllow Domains

  • Click Add Domain and enter https://*.flip.to into the Domain Field

  • Again, click Add Domain and enter https://*.ft-clarity.com into the Domain Field

  • Click Save at the top of the page to publish the change


Step 2: Every page snippet

This is the first of two snippets to add to your SynXis booking engine.

  • Click SetupChannelsBE Designer

  • Go to Manage -> Manage Configuration -> Edit Active Config -> General -> Tracking Hooks

  • Click the pencil icon to edit the Head Tracking Hook

  • Copy and paste the snippet below into the black field in the center of the page

  • Replace XX with your Flip.to companyCode (be sure to keep the single quotes)

  • Then click SAVE at the top right of the page

<!-- Flip.to - Booking Engine Integration -->
<script>
!function(b,e,i){(b[e]=b[e]||[]).push({flipto:i, event: 'flipto.configuration.load'})}(window,'fliptoDataLayer',{
	bookingEngine: 'Synxis',
	companyCode: 'XX',
	code: (window.location.search.match(/[\?&]hotel=([^&]+)/i) || ['',window._globalTracking.HOTEL_ID])[1],
        language: window._globalTracking.LangCode
});
</script>
<script async src='https://integration.flip.to/K2X4KDP'></script>
<!-- Flip.to - End Booking Engine Integration -->


Step 3: Confirmation page snippet

This is the second snippet to add to your SynXis booking engine.

  • Click the pencil icon to edit the Confirm Reservations Success Tracking Hook

  • Copy and paste the snippet below into the black field in the center of the page

  • Replace XX with your Flip.to companyCode (be sure to keep the single quotes)

  • Then click SAVE at the top right of the page

  • And the last click is SAVE at the top of the page to publish these changes to the engine

<!-- Flip.to - Confirmation Page -->
<script> 
!function(n,e,w){ 
w.eventData={category:'Booking_Engine',action:'Load',value:w.amount}; 
(n[e]=n[e]||[]).push({flipto:w,event:'flipto.confirmation.load'}); 
}(window,'fliptoDataLayer', 
{ 
bookingEngine: 'Synxis',
companyCode: 'XX', 
code: (window.location.search.match(/[\?&]hotel=([^&]+)/i) || ['',window._globalTracking.HOTEL_ID])[1],
confirmation: window._globalTracking.Cart[0].ConfirmNo, 
startDate: window._globalTracking.ArrivalDt, 
endDate: window._globalTracking.DepartDt, 
type: window._globalTracking.AddedRoomList[0].RoomCode, 
rateCode: window._globalTracking.AddedRoomList[0].RateCode, 
language: window._globalTracking.LangCode, 
amount: window._globalTracking.TotalCost 
}); 
</script> 
<!-- Flip.to - End Confirmation Page -->

Last updated