To set up Flip.to, add the following code snippet to the <head> tag of every page of your website and take a peek below at any additional configurations.
The user experience and tracking on the website can be impacted if the tag is delayed on page load. To ensure it loads asynchronously, we recommend adding it directly to the <head> tag over GTM.
Configurations
Implementing Discovery
If you're implementing Discovery, you'll also need to add the following snippet. Make sure to include your unique Discovery ID in your snippet.
You'll need your unique Discovery ID, which you should have received by email. If not, ask our Customer Success team.
Setting up Consent Management
Flip.to supports consent signals out-of-the box for CookieBot, OneTrust, and Google Tag Manager—see the guide for Consent management for your website.
Supporting JavaScript navigation
If you use JavaScript to navigate users from your website to your booking engine, there's one extra step—see the guide for Cross-domain tracking.
Configuring single-page applications
For single-page applications, this snippet should only be loaded at application start, not on virtual pageviews.
If your website and booking engine are on the same domain, the instructions above apply only to your website pages. A different snippet is required for your booking engine pages.