Configuration
Last updated
Last updated
Once you have successfully installed the extension and created an account in Google Analytics and Google Tag Manager, go to Stores -> Configuration to configure the extension for use.
Google Tag Manager
Enable GTM - Enable or disable extension from here.
GTM and GA4 Regular Code - Paste the GTM <head> code and GA4 script you received and the time of account creation respectively.
GTM No-Script Code - Paste the GTM <body> code.
Container Import
GTM: Account ID - Enter the GTM Account ID received at the time of account creation from the URL.
GTM: Container ID - Enter the GTM Account ID received at the time of account creation from the URL.
GA4: Measurement ID - Enter the GA4 Measurement ID received at the time of account creation from the URL.
Download File for Google Analytics 4 - Click this button to download the predefined JSON file that you need to upload to the Google Tag Manager dashboard.
Attribute Mapping
Product Identifier - Select the product identifier as ID or SKU.
Brand - Select the product attribute from the dropdown menu.
Custom Dimensions and Metrics - Set the dimensions and attributes for configurable products.
Identifier Resolution - Select the identifier as parent or child.