Set up your website

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.

<script async src="https://integration.flip.to"></script>

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.

<script async src="https://components.flip.to/discovery/YOUR_DISCOVERY_ID_HERE"></script>
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.

Last updated