Skip to content

Google Tag Manager

@storefront-x/google-tag-manager

This module provides https://tagmanager.google.com/ integration.

Create account, and get your Google Tag ID.

GOOGLE_TAG_MANAGER_ID config

You can find Google Tag Manager ID in your Tag Manager dashboard. You need to override it by adding config/GOOGLE_TAG_MANAGER_ID.ts to your module. To see how overriding works, click here.

WARNING

This config variable needs to be overrided, because it doesn't contain any value by default!

ts
// config/GOOGLE_TAG_MANAGER_ID.ts

export default 'YOUR ID HERE'