Google Analytics Ecommerce Datalayer
BEX CMS has a Google Analytics Ecommerce Datalayer. This collects extensive information about the shopping behavior of website visitors, for example how often an accommodation has been viewed and which additional costs are often booked.
To activate this Ecommerce Datalayer and forward the data to Google Analytics, you need Google Tag Manager.
Read more: Google Tag Manager koppelen
Use a datalayer extension in Google Chrome or use the preview mode (Tag Assistant) of Google Tag Manager to view the datalayer on your website.
Ecommerce events
Ecommerce events are actions that can be counted and tracked for statistics. A number of these are interesting for you, and you can link them to Google Analytics for data processing.
Viewed accommodations (view_item)
With 'view_item' you track how often and which accommodations are viewed on your website, i.e. your accommodation pages.
Recommended settings and variables:
GA4 Event > view_item
Trigger > Custom Event > Event name = productDetail
Parameters: variables|
item_name > ecommerce.detail.products.0.name
item_id > ecommerce.detail.products.0.id
price > ecommerce.detail.products.0.price
currency > EUR
Accommodations added to cart (add_to_cart)
With 'add_to_cart' you track which accommodations website visitors put in their shopping cart, and how often.
Recommended settings and variables:
GA4 Event > add_to_cart
Trigger > Custom Event > Event name = addToCart
Parameters: variables
item_name > ecommerce.add.products.0.name
item_id > ecommerce.add.products.0.id
price > ecommerce.add.products.0.price
currency > EUR
Steps in the booking process (visit_checkout_step)
With 'visit_checkout_step' you follow website visitors through the entire booking process. See how often website visitors start booking, and at which step the booking is most often abandoned.
Recommended settings and variables:
GA4 Event > visit_checkout_step
Trigger > Custom Event > Event name = visit_checkout_step
Parameters: variables
step_name > ecommerce.checkout_step_name
step_value > ecommerce.checkout_step_value
items > ecommerce.items
value > ecommerce.value
currency > ecommerce.currency
Reservations made (purchase)
With 'purchase' you track how many reservations are successfully made via your website. This event is usually activated on the thank you page.
Recommended settings and variables:
GA4 Event > purchase
Trigger > Custom Event > Event name = ga4purchase
Parameters: variables
transaction_id > ecommerce.transaction_id
items > ecommerce.items
value > ecommerce.value
currency > ecommerce.currency