E-commerce events sent to Google Analytics
Once Google Tag Manager is integrated into your booking module, YoPlanning automatically triggers the following e-commerce events if you activate them in your back office.
📦 view_item
view_item
Triggered when clicking on a product detail.
Data sent:
item_name
(product name)
🛒 add_to_cart
add_to_cart
Triggered when adding a session or gift voucher (GBV) to the cart.
Data sent:
💳 begin_checkout
begin_checkout
Triggered when clicking "Pay" on the last page.
Data sent:
✅ purchase
purchase
Triggered at the end of payment. Two modes exist depending on the type of booking module integration.
🔗 Direct Access Mode
The event is automatically triggered at the end of the payment.
No additional configuration is required.
🧩 iframe mode
If the module is integrated via an iframe on your site:
You must define a success URL in your module configuration in YoPlanning.
This URL must be:
on the same domain as your site (eg:
example.com/merci
)and include the YoPlanning integration script (even if no module is displayed on this page)
Thanks to this redirection, the purchase
event is successfully sent in the background.
🧾 Data sent with the purchase
event
purchase
eventLast updated