Documents

Google tags manager

When using Google Tag Manager, the reservation form will trigger two different events in your system.

Below are the two types of events sent during the reservation process:

Reservation Initialization This event is triggered when a booking is initiated:


gtag('event', 'reserve_init', {
        'event_category': 'Booking',
        'event_label': eventData.booking_uuid,
        'event_value': 0,
        'date': eventData.date,
        'guests': eventData.guests,
        'time': eventData.time
      });
    }

Reservation Completion This event is triggered once the booking is completed:


gtag('event', 'reserve_complete', {
        'event_category': 'Booking',
        'event_label': eventData.booking_uuid,
        'event_value': 1,
        'date': eventData.date,
        'guests': eventData.guests,
        'time': eventData.time
      });
    }
  }

We've added a section in the widget settings where you can enter up to 3 webhook URLs to send these notifications.