Skip to main content

How to setup Google Tag Manager on Rentlio Booking engine?

Nataša Lakić avatar
Written by Nataša Lakić
Updated over 2 weeks ago

To connect Rentlio Booking engine with Google Tag Manager all you have to do is to paste the GTM code in the Google Tag Manager Tracking ID field.

Events that the Rentlio Booking Engine sends

Search

This event is sent every time a user clicks "Search now" in the main search bar or clicks date recommendations next to an unavailable unit.

{
event: 'rbe.search',
trackingData: {
currency: 'EUR',
language: 'en',
checkIn: '26-02-2021',
checkOut: '28-02-2021',
numberOfAdults: 1,
numberOfChildren: 0,
childrenAges: [],
numberOfUnits: 1
}
}

Unit Modal opened

This event is sent every time when a user opens More information about unit type.

{
event: 'rbe.viewUnitTypeDetails',
trackingData: {
currency: 'EUR',
language: 'en',
checkIn: '26-02-2021',
checkOut: '28-02-2021',
numberOfAdults: 1,
numberOfChildren: 0,
childrenAges: [],
numberOfUnits: 1,
unitType: 'Rentlio Unit name',
unitTypeId: 41
}
}

User added unit to cart

This event is sent every time a user selecta unit/s by any rate plan

{
event: 'rbe.addToCart',
trackingData: {
currency: 'EUR', la
guage: 'en',
checkIn: '04-03-2021',
checkOut: '06-03-2021',
numberOfAdults: 1,
numberOfChildren: 0,
childrenAges: [],
numberOfUnits: 1,
isLoadedFromSession: false,
cart: [{
numberOfAdults: 1,
numberOfChildren: 0,
childrenAges: [],
numberOfUnits: 1,
unitType: 'Rentlio Unit name',
unitTypeId: 41,
rate: 'Booking Engine Rate',
price: 180
}]
}
}

Guest entered something in the confirmation form

{
event: 'rbe.checkoutInput',
trackingData: {
currency: 'EUR',
language: 'en',
checkIn: '26-02-2021',
checkOut: '28-02-2021',
numberOfAdults: 1,
numberOfChildren: 0,
childrenAges: [],
numberOfUnits: 1
}
}

Reservation booked/confirmed

{
event: 'rbe.purchase',
trackingData: {
transactionId: 123456,
currency: 'EUR',
language: 'en',
checkIn: '04-03-2021',
checkOut: '06-03-2021',
numberOfAdults: 1,
numberOfChildren: 0,
childrenAges: [],
numberOfUnits: 1,
country: 'Croatia',
timeOfArrival: '0:00'
purchased: [{
unitType: 'Rentlio Unit name',
unitTypeId: 41,
rate: 'Booking Engine Rate',
price: 180,
numberOfUnits: 1,
numberOfAdults: 1,
numberOfChildren: 0,
childrenAges: [],
}]
}
}

Additional information about configuration:

Please add a new page view trigger within the Google Tag Manager.
The setup should look like this:


Then, create a Tag and connect it to the trigger. The setup should look like this:

After the implementation, please check the debug view in GA4 and the page view event should be there.


​
​
​

Did this answer your question?