Set up your website
Last updated
Last updated
Adding Flip.to to your website requires the following code snippet on every page of your website.
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.
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.
The user experience and tracking on the website can be impacted if the tags are delayed on page load. So it loads asynchronously, we recommend using the <head> tags over GTM.
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.
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.