Set up your website

Adding Flip.to to your website requires the following code snippet on every page of your website.

Before you begin

  • You'll need your unique IDs, which you should have received by email. If not, ask our Customer Success team.

If your website and booking engine are on the same domain, the instructions below apply only to your website pages. A different snippet is required for your booking engine pages.


Website code snippet

The following snippet should be added to the <head> tag of every page of the website. Make sure to include your unique Website ID in your snippet.

<!--Flip.to - Integration Start-->
<script async src="https://integration.flip.to/YOUR_WEBSITE_ID_HERE"></script>
<!--Flip.to - Integration End-->

For single-page applications, this snippet should only be loaded at application start, not on virtual pageviews.

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.

<!--Flip.to - Discovery Start-->
<script async src="https://components.flip.to/discovery/YOUR_DISCOVERY_ID_HERE"></script>
<!--Flip.to - Discovery End-->

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.

Last updated