GA4 ecommerce demo

This is a demo page of the recommended implementation of my custom variable template to map the GA4 ecommerce datalayer object to UA enhanced ecommerce format.

Template documentation

The buttons below will provide ecommerce datalayer pushes following ga4 developer documentation. Note that the buttons for purchase, checkout and cart view and remove events will only work if there is something in the cart.

Quantity in cart

0

Ecommerce pushes