TryBooking's new booking experience uses new page URLs. If you set up Google Analytics tracking events for the previous booking system, they'll stop recording data as your events move across. To keep your tracking going, create a new set of events using the details below.
Leave your existing events in place for now – they'll keep recording any bookings still made through the previous booking pages. Once those pages are no longer in use, the old events will stop receiving data and you can delete them.
This article focuses on updating your tracking events. For the full guide to connecting Google Analytics with your TryBooking events, see Track page views and sales with Google Analytics.
Create your new tracking events
Log in to Google Analytics and open the property you use for TryBooking.
Click Admin in the bottom left corner.
Under Data collection and modification, click Data Streams, then select your web data stream.
Under Events, click Create custom events, then click the Create button.
Set up each event in the table below, copying the names and values exactly as shown.
Every event uses the same first matching condition:
event_name · equals · page_view
Then add the extra condition shown for each event:
What it tracks | Custom event name | Extra matching condition |
Event page views |
| page_location · regex match · |
Ticket selection |
| page_location · contains · |
Checkout |
| page_location · ends with · |
Completed bookings |
| page_location · contains · |
Optional, depending on how your event is set up:
What it tracks | Custom event name | Extra matching condition |
Section selection |
| page_location · ends with · |
Session selection |
| page_location · ends with · |
Data collection forms |
| page_location · ends with · |
Running events on trybooking.com/nz or trybooking.com/uk? Replace /au/ with /nz/ or /uk/ in the first pattern.
If any of your old events are marked as key events (conversions), mark your new events as key events too.
Delete your old tracking events
Once all your events have moved to the new booking system, your old tracking events (such as event_landing_page and event_checkout_confirmation) will stop receiving data. When that happens you can, follow steps 2 to 4 above, select each old event and click the delete icon. Your past reports won't be affected.
