Related Github Documents
Document Properties
Last Modified
Added to KB
Public Access
Doc Type
Guidelines, Concepts & Cookbooks
Intershop Progressive Web App

Guide - Intershop Progressive Web App - Google Tag Manager

Google Tag Manager

To enable user tracking and setting it up with Google Tag Manager, the popular library Angulartics2 is used.

To activate GTM tracking, set the Tag Manager Token either in the used Angular CLI environment file with the property gtmToken or via the environment variable GTM_TOKEN.
Additionally, the feature toggle tracking has to be added to the enabled feature list.
This feature only works in Universal Rendering mode.
Prefer configuration via system environment variables.

Please refer to the angulartics2 documentation for information on how to enable tracking for additional events.

For GDPR compliance the tracked IPs have to be anonymized.
See How to turn on IP anonymization in Google Analytics and Google Tag Manager.


The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources