Google Tag Manager
Loads your Google Tag Manager container on the public storefront pages and pushes shopper events to the data layer, so you can manage tags (analytics, ads, remarketing) in GTM.
Setting it up
- In Google Tag Manager, create a container for your website and copy its id (
GTM-XXXXXXX). - Add-ons: install and enable Google Tag Manager, then open its Settings.
- Enter the Google Tag Manager container id.
- Optionally change the Data Layer name (default
dataLayer). - Choose which events to send and their names:
- Add to cart, Remove from cart, Wish list, Comparison list, Call request.
- Save.
Check in your browser (Tag Assistant or the console) that the data layer receives the events after the matching actions.
Where it runs
Only on public storefront pages. Private pages (account, checkout, payment, order tracking, sign-in) never load the container; moving from a public page to a private one reloads the page. Events carry product data (id, name, SKU, price, quantity, currency), never personal data.
When the GDPR Cookies add-on is enabled, the container loads only after the visitor consents.