Provides Commerce integration for Enhanced Ecommerce via Google Tag Manager.
The module tracks the following Enhanced Ecommerce events:
All events are tracked server-side and stored in the session. The next "regular" page view loads all stored events via ajax and pushes them to Google Tag Manager via data layer.
The module offers a service to track other Enhanced Ecommerce events such as Product Impressions.
The module does (currently) not offer any configuration options. The configuration is handled inside Google Analytics and Google Tag Manager.
Ecommerce
and Enhanced Ecommerce Reporting
in the settings of your propertyCheckout Labeling
(optional)You need to create separate tags and triggers for each of the tracked Enhanced Ecommerce events.
First of all, create triggers of event type Custom Event
with the following event
names:
addToCart
removeFromCart
productDetailViews
checkout
purchase
Next, create tags for each trigger:
Google Analytics - Universal Analytics
Event
Ecommerce
Add to Cart
Enable Enhanced Ecommerce Features
and Use data layer
addToCart