Update time: January 15, 2025
What are Google Tag: Configuration Settings?
Google Tag: Configuration Settings is a feature within Google Tag Manager (GTM) that allows users to define and reuse configuration settings across multiple Google Tags.
Why are there Google Tag: Configuration Settings?
This is particularly useful for maintaining consistency and reducing redundancy in tag management:
-
Efficiency: Reduces the need for repetitive setup for each tag.
-
Consistency: Ensures that all tags with the same configuration settings behave uniformly.
-
Flexibility: Allows for easy updates to settings across all tags that reference the variable.
Create a Google Tag: Configuration Settings variable
In GTM , click「Variables」——「New」——「Choose a variable type to begin set-up …」——「Google Tag: Configuration Settings」,Name it “Configuration Settings“:
The following table lists pre-defined parameters:
Name
|
Type
|
Default value
|
---|---|---|
ads_data_redaction
|
boolean
|
false
|
allow_ad_personalization_signals
|
boolean
|
true
|
allow_google_signals
|
boolean
|
true
|
allow_interest_groups
|
boolean
|
true
|
campaign_content
|
string
|
undefined
|
campaign_id
|
string
|
undefined
|
campaign_medium
|
string
|
undefined
|
campaign_name
|
string
|
undefined
|
campaign_source
|
string
|
undefined
|
campaign_term
|
string
|
undefined
|
client_id
|
string
|
A randomly generated value for each user.
|
content_group
|
string
|
undefined
|
conversion_linker
|
boolean
|
true
|
cookie_domain
|
string
|
‘auto’
|
cookie_expires
|
number
|
63072000
|
cookie_flags
|
string
|
undefined
|
cookie_path
|
string
|
‘/’
|
cookie_prefix
|
string
|
undefined
|
cookie_update
|
boolean
|
true
|
customer_lifetime_value
|
string
|
undefined
|
groups
|
string
|
undefined
|
ignore_referrer
|
boolean
|
false
|
language
|
string
|
navigator.language
|
new_customer
|
boolean
|
undefined
|
page_hostname
|
string
|
location.hostname
|
page_location
|
string
|
document.location
|
page_path
|
string
|
location.pathname
|
page_referrer
|
string
|
document.referrer
|
page_title
|
string
|
document.title
|
send_page_view
|
boolean
|
true
|
screen_resolution
|
string
|
window.screen
|
server_container_url
|
string
|
undefined
|
user_id
|
string
|
undefined
|
user_properties
|
object
|
undefined
|
content_group is to set page grouping, further reading: How to Set Up Content Groups in Google Analytics 4
How to use Google Tag: Configuration Settings?
Google Tag: Configuration Settings is only used in the tags tracked by GA4 basic pages. there are three ways to use it:
Entirely with Google Tag: Configuration Settings
Make settings in Configuration Settings Variable, and do not set the following Configuration Parameter, as follows:
All settings are derived from the Configuration Settings variables.
Not used Google Tag: Configuration Settings at all
Do not set it in Configuration Settings Variable, only set it in Configuration Parameter below, as follows:
All settings are derived from the Configuration Parameter.
Partially used
Configuration Settings Variable and Configuration Parameter are set, as follows:
Settings come from Configuration Settings Variable and Configuration Parameter.
If Configuration Settings Variable and Configuration Parameter set the same parameter at the same time, the Configuration Parameter will overwrite the Configuration Settings Variable.