How do I make sure my cookie banner works correctly in the booking engine?

Make your cookie banner show at every step of the booking process — not just on the first page.

Our booking engine is built as a Single Page Application (SPA). That means when a guest moves through the booking process (selecting dates, rooms, entering details), the page doesn't fully reload.

Because of this, your cookie banner (Consent Management Platform or CMP) needs to show and work not just once — but after every step in the booking process.


How the booking engine helps

Each time a guest moves to the next step, the booking engine sends a signal to Google Tag Manager:
🔹 Event name: virtualPageview (this is case-sensitive — it must be typed exactly)


What to do in Google Tag Manager

✅ Step 1: Add your cookie banner (CMP)

  • Go to GTM → Tags

  • Add your cookie banner script (like Cookiebot) as a Custom HTML tag or using a GTM template.

✅ Step 2: Create a trigger for each booking step

  • Go to Triggers → click New

  • Set Trigger Type to: Custom Event

  • Type the Event name exactly as: virtualPageview

  • Name the trigger something clear, like: Trigger - virtualPageview

  • Click Save

✅ Step 3: Connect the trigger to your CMP tag

  • Go back to your cookie banner (CMP) tag

  • Under Triggering, add the new trigger you just created

  • Keep any existing triggers so your banner also shows on the first page

  • Click Save


✅ The result

Now your cookie banner will show correctly:

  • On the first pageview, and

  • After every booking step (thanks to the virtualPageview event).

This helps you stay compliant and ensures your users see the banner at the right times.