Magento Commerce, 2.3.x

This is the 2.3 Beta release version of Magento documentation. Content in this version is subject to change. For additional versions, see Magento Documentation and Resources.

Google Tag Manager

Google Tag Manager helps you manage the many tags, or snippets of code, that are related to your marketing campaign events. Google Tag Manager gives you the ability to add tracking tags to your site to measure the audience, or to personalize, retarget, or conduct search engine marketing initiatives.

Google Tag Manager directly transfers data and events to Google Analytics, Enhanced Ecommerce and other third-party analytics solutions, to produce a clear picture of how well your site, products, and promotions are performing.

You should have a Google Analytics and Tag Manager account to continue this process. The following instructions walk you through the process of configuring your Google accounts, configuring your Magento store, and creating a tag.

To set up and prepare your Google accounts, see the Google guides for Google Analytics and Google Tag Manager guide.

  • Field Descriptions

    Field

    Scope

    Description

    Enable

    Store View

    Determines if Google Analytics Enhanced Ecommerce can be used to analyze activity in your store.

    Options include: Yes / No

    Account type

    Store View

    Determines the Google tracking code that is used to monitor store activity and traffic. Options include:

    Google Analytics

    Google Tag Manager

    Anonymize IP

    Store View

    Determines if identifying information is removed from IP addresses that appear in Google Analytics results.

    Enable Content Experiments

    Store View

    Activates Google Content Experiments, which can be used to test up to ten different versions of the same page. Options: Yes / No

    Container Id

    Store View

    If Google Tag manager is already installed and configured for your store, the Container ID appears automatically in this field.

    List property for the catalog page

    Store View

    Identifies the Tag Manager property associated with the catalog page. Default value: Catalog Page

    List property for the cross-sell block

    Store View

    Identifies the Tag Manager property associated with the cross-sell block. Default value:Cross-sell

    List property for the up-sell block

    Store View

    Identifies the Tag Manager property associated with the up-sell block. Default value: Up-sell

    List property for the related products block

    Store View

    Identifies the Tag Manager property associated with the related products block. Default value: Related Products

    List property for the search results page

    Store View

    Identifies the Tag Manager property associated with the search results page. Default value: Search Results

    “Internal Promotions” for promotions field “Label”

    Store View

    Identifies the Tag Manager property associated with the labels for internal promotions. Default value: Label