Table of Contents
What are Google Analytics settings?
Google Analytics settings are custom variables in Google Tag Manager. The Google Analytics Settings variable is used in Universal Analytics tags for web and mobile (Firebase) containers to centrally configure and share common Google Analytics settings across multiple tags. When you create a Universal Analytics tag, Google Tag Manager will prompt you to select or create a Google Analytics Settings variable.
Why are there Google Analytics settings?
Google Analytics settings can be directly imported, which greatly provides high efficiency, because the previous tags configuration has a lot of information, which may take several screens, and each time you set the event, you need to fill in a lot of the same information from the beginning, which is very inefficient.
Google Analytics settings are used to increase efficiency and reduce error rates.
Create a Google Analytics settings variable
Click Variables> New> Choose a variable type to begin set-up …> Google Analytics settings in Google Tag Manager, you can see the following setting interface:
The Tracking ID is the Tracking ID in Google Analytics. The structure is like UA-XXXXXXX-X. The function is to send data to. If you send data to multiple Tracking IDs, you need to use different trackers.
Cookie Domain：Specifying ‘auto’ as the Cookie Domain enables Google Analytics to automatically determine the best cookie domain to use. This is the default configuration recommended for new implementations.
Fields to Set: Set the property information. Many optimization settings need to be configured here.
Custom Dimensions: Set custom dimensions, free version can set 20
Custom Metrics: Set metrics. Free version can set 20.
Content Groups: Set up content groups. The free version can set up to 5.
Advertising: Checked by default to enable data in user attribute reports in Google Analytics.
Ecommerce: Needed for enhanced e-commerce, you can customize the data layer to pass relevant e-commerce transaction data.
Cross Domain Tracking: cross-site related settings
Advanced Configuration: Set up global functions and trackers.
Generally I would do the following settings:
How to use Google Analytics settings?
Google Analytics settings are only used for tags settings. there are three ways to use Google Analytics settings: One is entirely with Google Analytics settings、One is not used at all, and the other is partially used. In Google Tag Manager, click Tags-New-Choose a tag type to begin set-up …-
Google Analytics: Universal Analytics, you can see the following settings interface:
Use Google Analytics settings and Enable overriding settings in this tag to achieve different types of use.
1、Entirely with Google Analytics settings
Set only Google Analytics settings, and do not set Enable overriding settings in this tag, as follows:
2、Not used Google Analytics settings at all
Without setting Google Analytics settings, check Enable overriding settings in this tag, as follows:
Then set the information in the red box.
Both Google Analytics settings and Enable overriding settings in this tag are set. The information set below will override the information in Google Analytics settings:
This method is usually used when there is a very different setting.