Newbook
Adding Flip.to to your booking engine requires two snippets of code:
The first is added to every page of your booking engine.
The second is added to the confirmation page.
Before you begin:
You'll need your unique IDs, which you should have received by email. If not, ask our Customer Success team.
You'll also need to sign a Newbook + Flip.to data share agreement. Ask your Newbook point person for the agreement to sign. This will allow our platform to retrieve information about bookings directly from Newbook, while ensuring the integration is stable, secure and compliant.
Every page snippet
The following snippet should be modified to pass in the appropriate values, and should be included in the <head> tag of every page of the booking engine, including the confirmation page.
bookingEngine
The Flip.to string to define the booking engine used.
companyCode
The internal Flip.to company code.
code
Internal property code used by the booking engine. Set your own internal code used by the engine, and let your account manager know this code.
language
Confirmation page snippet
The following snippet should be modified to pass in the appropriate values and should be included in the <head> tag of the confirmation page to run once the guest has completed their reservation.
The confirmation page should include both the Every page snippet and the Confirmation page snippet (the order doesn't matter).
bookingEngine
The Flip.to string to define the booking engine used.
companyCode
The internal Flip.to company code.
code
Internal property code used by the booking engine. Set your own internal code used by the engine, and let your account manager know this code.
language
Last updated