Tag Manager Template Gallery
Google Tag Manager helps you manage the many tags, or snippets of code, that are related to lớn your marketing chiến dịch events. Google Tag Manager gives you the ability to lớn add tracking tags lớn your site lớn measure the audience, or to lớn personalize, retarget, or conduct search engine sale initiatives.
Bạn đang xem: Tag manager template gallery
Google Tag Manager directly transfers data và events to lớn Google Analytics, Enhanced Ecommerce & other third-party analytics solutions, khổng lồ produce a clear picture of how well your site, products, and promotions are performing.
You should have sầu a Google Analytics & Tag Manager trương mục to lớn continue this process. The following instructions walk you through the process of configuring your Google accounts, configuring your zerovn.net store, and creating a tag.
If your business is subject lớn privacy regulations such as the General Data Protection Regulation and/or the California Consumer Privacy Act, see Google Privacy Settings.
Step 1. Configure Your Google Analytics Account
See Google’s Set up Site Search for the basics you need to get started. Also see the Google guides for Google Analytics và Google Tag Manager.
Sign in to your Google Analytics tài khoản.
To enable Internal Site Search Tracking, vị the following:
Navigate khổng lồ Select View > View Settings.
Set Site Search Tracking lớn On.
Set Query parameter to lớn q.
When complete, Save the settings.
To enable display features, bởi vì the following:
Choose Property Settings.
Under Advertising Features, mix Enable Demographics & Interest Reports to On.
Save the settings.
To enable Ecommerce Tracking, vì chưng the following:
Navigate to Select View > Ecommerce Settings.
Set Enable Ecommerce to On.
Set Enable Enhanced Ecommerce Reporting to lớn On.
Save the settings.
Reload the page to lớn verify that all the settings remain On.
If not all settings are On, repeat the previous steps, save sầu, và reload the page. Repeat this process until all settings are phối khổng lồ On.
Step 2. Configure Your Google Tag Manager Account
The following instructions show how to lớn configure a new container with the basic settings. A sample Composer configuration (.json) tệp tin is used khổng lồ simplify the process, importing khổng lồ generate a tag in a new container. For this example, we recommover that you create a new container, rather than modify an existing container.
For additional information, see Google’s Container export và import. These instructions walk-through importing a sample JSON lớn a new container.
Download the linked file GTM_M2_Config_json.txt and vì the following:
xuất hiện the file in an editor, và save as GTM_M2_Config.json.
Zip the file to lớn produce an archive called GTM_M2_Config.zip.
The zipped tệp tin will be uploaded directly to Google Tag Manager, and does not need to lớn be copied to lớn your VPS.
Navigate to lớn Admin > Container > Import Container.
Xem thêm: Hướng Dẫn Cách Đăng Nhập Viber Trên Máy Tính Không Cần Điện Thoại
Cliông xã Choose container file & select the json file.
Under Choose workspace, clichồng New.
Enter a title and mô tả tìm kiếm, then cliông chồng Save.
Select one of the following actions to import the file:
The Overwrite option should be selected for a new container.
The Merge option should be selected if you are using an existing container.
Clichồng Preview khổng lồ Reviews the tags, triggers, & variables.
To edit the Google Analytics ID that is referenced in variables, vị the following:
Navigate to Variables > User-Defined Variables.
Choose Google Analytics. Then, update the placeholder (UA-xxxxxx-x) with your own GA ID.
Follow Google’s instructions khổng lồ add tags, triggers, và variables to the new container.
If you have settings in another container that you want to use, they can be moved lớn the new container.
Clichồng Confirm when complete.
Follow Google’s instructions lớn publish the new container.
Step 3. Configure Your Store
Log in khổng lồ the Admin of your Magenkhổng lồ store.
On the Admin sidebar, go to lớn Stores > Settings > Configuration.
In the left panel, expvà Sales and choose Google API.
Expand


Set Enable lớn Yes.
Set Account type khổng lồ Google Tag Manager.
In the Container ID field, enter your GTM ID (GTM-xxxxxx).
If you are also using Google Analytics khổng lồ content experiments, mix Enable Content Experiments to lớn Yes.
Use the default values for the remaining fields.
When complete, clichồng Save Config.
Test your Google Tag Manager settings khổng lồ verify that everything works correctly.
Field Descriptions
