You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/actions-google-analytics-4-web/index.md
+37-16Lines changed: 37 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ The automatically collected and enhanced measurement events include parameters b
65
65
Some of Segment's prebuilt [Available Actions](/docs/connections/destinations/catalog/actions-google-analytics-4-web/#available-actions) which map to Google's recommended events are automatically marked as a conversion in your Analytics dashboard. For example, when you add a "Order Completed" event, it will show up in your Analytics dashboard as "purchase" with the **Mark as conversion** toggle toggled on by default. However, for other events, such as "Add to Cart", you will need to manually toggle the **Mark as conversion** setting on in your Analytics dashboard. If you don't mark the event as a conversion, it will not show up as a conversion in your built-in reports. You can read more [about conversion events](https://support.google.com/analytics/answer/9267568?sjid=1275909514202748631-NA){:target="_blank"} in Google's docs.
66
66
67
67
## Consent mode
68
-
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must be functioning for European Economic Area (EEA) users, otherwise data from EEA users won't process.
68
+
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must function for European Economic Area (EEA) users, otherwise data from EEA users won't process.
69
69
70
70
Consent mode in the Gtag library and Google Analytics is designed to help website owners comply with privacy regulations, such as the General Data Protection Regulation (GDPR) in the European Union. It allows website owners to adjust how these tools use and collect data based on user consent.
71
71
@@ -75,33 +75,54 @@ Consent mode may involve updates to your sources outside of Segment, such as inc
75
75
76
76
See [set up consent mode on websites](https://developers.google.com/tag-platform/security/guides/consent?consentmode=advanced#update_consent_state){:target="_blank"} for more information.
77
77
78
+
### Set up consent mode
79
+
78
80
To enable consent mode for your Google Analytics 4 Web destination:
79
81
1. Navigate to **Connections > Destinations** and select your Google Analytics 4 Web** destination.
80
82
2. Go to the **Settings** tab of the destination.
81
83
3. Click the toggle on for **Enable Consent Mode**.
82
84
4. Set the following fields with these values:
83
85
84
-
Field | Values
86
+
Field | Value
85
87
----- | ------
86
88
Default Ad Storage Consent State | Granted
87
89
Default Analytics Storage Consent State | Granted
88
90
Ad User Data Consent State | Granted
89
91
Wait Time to Update Consent State | 0
90
92
91
-
5.[Set the consent defaults](https://developers.google.com/tag-platform/security/guides/consent?consentmode=advanced#update_consent_state){:target="_blank"} as soon as the page loads.
92
-
6. Use your consent management platform to prompt the visitor. Ask the visitor to grant or deny consent for the applicable types.
93
-
7. Pass the udpated state as properties in the `page()` event after the next page load if you decide to change the consent defaults. For example,
94
-
95
-
```
96
-
analytics.page('Consent Update', {
97
-
'Ads Storage Consent State': 'false',
98
-
'Analytics Storage Consent State': 'false'
99
-
});
100
-
```
101
-
8. As soon as the page loads and the set configuration fires to the Google Analytics SDK, Segment issues a consent mode update command. Map the properties you defined to collect consent state changes to the Set Configurations Fields mapping. You have these 2 options to choose from:
102
-
103
-
***Option 1:** Manually select `Granted` or `Denied` from the dropdown menu for Advanced consent mode settings, and type in `granted` or `denied` for basic consent mode settings.
104
-
***Option 2:** Create an event variable to directly grab the value from the payload. Ensure it translates to `granted` or `denied`. You can use an insert function to translate to `granted` or `denied`. Use the replace function if it's a string.
93
+
5. Use your consent management platform to prompt the visitor. Ask the visitor to grant or deny consent for the applicable types.
94
+
6. Pass the updated state as properties in the `page()` event after the next page load if you decide to change the consent defaults. For example,
95
+
96
+
```
97
+
analytics.page('Consent Update', {
98
+
'Ads Storage Consent State': 'false',
99
+
'Analytics Storage Consent State': 'false'
100
+
});
101
+
```
102
+
7. As soon as the page loads and the set configuration fires to the Google Analytics SDK, Segment issues a consent mode update command. Map the properties you defined to collect consent state changes to the Set Configurations Fields mapping. You can choose to do this from these 2 options:
103
+
104
+
* **Option 1:**
105
+
1. Navigate to **Connections > Destinations** and select your Google Analytics 4 Web destination.
106
+
2. Go to the **mappings** tab of the destination.
107
+
3. Select the mapping you want to edit.'
108
+
4. Under the **Select mappings** section, select `Granted` for these fields:
109
+
* Ads Storage Consent State
110
+
* Analytics Storage Consent State
111
+
* Ad User Data Consent State
112
+
* Ad Personalization Consent State
113
+
You can manually select `Granted` or `Denied` from the dropdown menu for Advanced consent mode settings, and type in `granted` or `denied` for basic consent mode settings.
114
+
115
+
* **Option 2:**
116
+
Create an event variable to directly grab the value from the payload. To do this:
117
+
118
+
1. Navigate to **Connections > Destinations** and select your Google Analytics 4 Web destination.
119
+
2. Go to the **mappings** tab of the destination.
120
+
3. Select the mapping you want to edit.'
121
+
4. Under the **Select mappings** section, create an event variable to directly grab the value from the payload. Ensure it translates to `granted` or `denied`. You can use an insert function to translate to `granted` or `denied`. Use the replace function if it's a string. Do this for these fields:
122
+
* Ads Storage Consent State
123
+
* Analytics Storage Consent State
124
+
* Ad User Data Consent State
125
+
* Ad Personalization Consent State
105
126
106
127
When these properties are available, they send to the `update` command.
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/actions-google-analytics-4/index.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,17 +41,19 @@ To add the Google Analytics 4 Cloud destination:
41
41
6. Follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customizing-mappings).
42
42
43
43
## Consent mode
44
-
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must be functioning for European Economic Area (EEA) users, otherwise data from EEA users won't process.
44
+
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must function for European Economic Area (EEA) users, otherwise data from EEA users won't process.
45
45
46
46
Consent mode in the Gtag library and Google Analytics is designed to help website owners comply with privacy regulations, such as the General Data Protection Regulation (GDPR) in the European Union. It allows website owners to adjust how these tools use and collect data based on user consent.
47
47
48
48
With consent mode, you can configure your website to dynamically adjust the tracking behavior of the Gtag library and Google Analytics based on the user's consent status. If a user provides consent to data processing, both the Gtag library and Google Analytics can collect and use that data for analysis. If a user doesn't provide consent, both tools limit data collection to essential functions, helping businesses respect user privacy preferences.
49
49
50
50
Consent mode may involve updates to your sources outside of Segment, such as incorporating a consent management system for consent functionality.
51
51
52
-
To enable consent mode for your Google Analytics 4 Cloud destination, you must update the **Ad User Data Consent State** and **Ad Personalization Consent State** for all mappings you would like to send with consent. Consent mode supports all actions with Google Analytics 4 Cloud. You can choose from 2 options to to enable consent mode for your Google Analytics 4 Cloud destination.
52
+
### Set up consent mode
53
+
To enable consent mode for your Google Analytics 4 Cloud destination, you must update the **Ad User Data Consent State** and **Ad Personalization Consent State** for all mappings you want to send with consent. Consent mode supports all actions with Google Analytics 4 Cloud. You can choose from 2 options to enable consent mode for your Google Analytics 4 Cloud destination.
53
54
54
-
***Option 1:**
55
+
***Option 1**
56
+
55
57
To enable consent mode for Google Analytics 4 Cloud destination:
56
58
1. Navigate to **Connections > Destinations** and select your Google Analytics 4 Cloud destination.
57
59
2. Go to the **Mappings** tab of the destination.
@@ -60,14 +62,17 @@ To enable consent mode for your Google Analytics 4 Cloud destination, you must u
60
62
5. Select `GRANTED` in the dropdown that corresponds to **Ad User Data Consent State**.
61
63
6. Select `GRANTED` in the dropdown that corresponds to **Ad Personalization Consent State**.
62
64
63
-
***Option 2:** Create an event variable to directly grab the value from the payload. To do this:
65
+
***Option 2**
66
+
67
+
Create an event variable to directly grab the value from the payload. To do this:
64
68
1. Navigate to **Connections > Destinations** and select your Google Analytics 4 Cloud destination.
65
69
2. Go to the **Mappings** tab of the destination.
66
70
3. Select the mapping you want to edit.
67
71
4. Under the **Select mappings** section, find **Ad User Data Consent State**.
68
-
5. Select the **Event Variables** tab and create an event variable to directly grab the value from the payload. Ensure it translates to `GRANTED` or `DENIED`. You can use an insert function to translate to `GRANTED`, `DENIED` if your consent values are booleans. You can use the replace function if it's a string.
72
+
5. Select the **Event Variables** tab and create an event variable to directly grab the value from the payload. Ensure it translates to `GRANTED` or `DENIED`. You can use an insert function to translate to `GRANTED`or `DENIED` if your consent values are booleans. You can use the replace function if it's a string.
73
+
6. Repeat step 5 for **Ad Personalization Consent State**.
69
74
70
-
If you send `DENIED` for any of the two consent states, it will result in an error and the data will not be sent to Google.
75
+
If you send `DENIED` for any of the two consent states, it results in an error and the data won't send to Google.
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/actions-google-enhanced-conversions/index.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,21 +25,31 @@ The Google Ads Conversions destination enables you to upload offline conversions
25
25
> [Use these steps](#migrate-your-upload-enhanced-conversion-legacy-action) to migrate your Upload Enhanced Conversion (Legacy) Action subscriptions.
26
26
27
27
## Consent mode
28
-
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must be functioning for European Economic Area (EEA) users, otherwise data from EEA users won't process.
28
+
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must function for European Economic Area (EEA) users, otherwise data from EEA users won't process.
29
29
30
30
Consent mode in the Gtag library and Google Analytics is designed to help website owners comply with privacy regulations, such as the General Data Protection Regulation (GDPR) in the European Union. It allows website owners to adjust how these tools use and collect data based on user consent.
31
31
32
32
With consent mode, you can configure your website to dynamically adjust the tracking behavior of the Gtag library and Google Analytics based on the user's consent status. If a user provides consent to data processing, both the Gtag library and Google Analytics can collect and use that data for analysis. If a user doesn't provide consent, both tools limit data collection to essential functions, helping businesses respect user privacy preferences.
33
33
34
34
Consent mode may involve updates to your sources outside of Segment, such as incorporating a consent management system for consent functionality.
35
35
36
+
### Set up consent mode
37
+
36
38
To enable consent mode for your Google Ads Conversions destination, you must update the **Ad User Data Consent State** and **Ad Personalization Consent State** for all of your Upload Call Conversion and Upload Click Conversion actions. You can do this in 1 of 2 ways:
37
39
38
-
***Option 1:** Select `GRANTED` or `DENIED` from the dropdown menu for **Ad User Data Consent State** and **Ad Personalization Consent State**.
40
+
***Option 1:**
41
+
1. Navigate to **Connections > Destinations** and select your Google Ads Conversion destination.
42
+
2. Go to the **Mappings** tab of the destination.
43
+
3. Select the mapping you want to edit.
44
+
4. In the **Select mappings** section, select `GRANTED` from the dropdown menu for **Ad User Data Consent State** and **Ad Personalization Consent State**.
39
45
40
-
***Option 2:** Create an event variable to directly grab the value from the payload. Ensure it translates to `GRANTED`, `DENIED`, or `UNSPECIFIED`. You can use an insert function to translate to `GRANTED`, `DENIED`, or `UNSPECIFIED` if your consent values are booleans. You can use the replace function if it's a string.
46
+
***Option 2:**
47
+
1. Navigate to **Connections > Destinations** and select your Google Ads Conversion destination.
48
+
2. Go to the **Mappings** tab of the destination.
49
+
3. Select the mapping you want to edit.
50
+
4. In the **Select mappings** section, for **Ad User Data Consent State** and **Ad Personalization Consent State**, select the **Event Variables** tab and create an event variable to directly grab the value from the payload. Ensure it translates to `GRANTED`, `DENIED`, or `UNSPECIFIED`. You can use an insert function to translate to `GRANTED`, `DENIED`, or `UNSPECIFIED` if your consent values are booleans. You can use the replace function if it's a string.
41
51
42
-
If you send `DENIED` for any of the two consent states, it will result in an error and the data will not be sent to Google.
52
+
If you send `DENIED` for any of the two consent states, it results in an error and the data won't send to Google.
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/adwords-remarketing-lists/index.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,16 +104,18 @@ In Google Ads, go to **Tools & Settings** > **Shared Library** > **Audience mana
104
104
> **Note**: Google Ads can take 24+ hours to fully process initial audience uploads before they can be used for a campaign. If the audience is still processing, the list status appears as “Populating”.
105
105
106
106
## Consent mode
107
-
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must be functioning for European Economic Area (EEA) users, otherwise data from EEA users won't process.
107
+
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must function for European Economic Area (EEA) users, otherwise data from EEA users won't process.
108
108
109
109
Consent mode in the Gtag library and Google Analytics is designed to help website owners comply with privacy regulations, such as the General Data Protection Regulation (GDPR) in the European Union. It allows website owners to adjust how these tools use and collect data based on user consent.
110
110
111
111
With consent mode, you can configure your website to dynamically adjust the tracking behavior of the Gtag library and Google Analytics based on the user's consent status. If a user provides consent to data processing, both the Gtag library and Google Analytics can collect and use that data for analysis. If a user doesn't provide consent, both tools limit data collection to essential functions, helping businesses respect user privacy preferences.
112
112
113
113
Consent mode may involve updates to your sources outside of Segment, such as incorporating a consent management system for consent functionality.
114
114
115
+
### Set up consent mode
116
+
115
117
To enable consent mode for Google Adwords Remarketing Lists destination:
116
-
1. Navigate to **Connections > Destinations** and select your Google Ads Remarketing Lists** destination.
118
+
1. Navigate to **Connections > Destinations** and select your Google Ads Remarketing Lists destination.
117
119
2. Go to the **Settings** tab of the destination.
118
120
3. Under the **Connection Settings** section, select **Ad Personalization**.
119
121
4. Select `GRANTED` in the dropdown and click **Save**.
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/firebase/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,15 +107,15 @@ By default, Segment bundles only `Firebase/Core` which is [Firebase's mobile ana
107
107
By default, Segment only bundles `Firebase/Core` which is [Firebase's Analytics offering](https://firebase.google.com/docs/analytics/){:target="_blank"}. You can see the other available [Firebase pods and features here](https://firebase.google.com/docs/ios/setup){:target="_blank"}.
108
108
109
109
## Consent mode
110
-
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must be functioning for European Economic Area (EEA) users, otherwise data from EEA users won't process.
110
+
[Consent mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} is a feature provided by Google in the context of its products, particularly the Gtag library and Google Analytics. As of March 6, 2024, Google announced that consent mode must function for European Economic Area (EEA) users, otherwise data from EEA users won't process.
111
111
112
112
Consent mode in the Gtag library and Google Analytics is designed to help website owners comply with privacy regulations, such as the General Data Protection Regulation (GDPR) in the European Union. It allows website owners to adjust how these tools use and collect data based on user consent.
113
113
114
114
With consent mode, you can configure your website to dynamically adjust the tracking behavior of the Gtag library and Google Analytics based on the user's consent status. If a user provides consent to data processing, both the Gtag library and Google Analytics can collect and use that data for analysis. If a user doesn't provide consent, both tools limit data collection to essential functions, helping businesses respect user privacy preferences.
115
115
116
116
Consent mode may involve updates to your sources outside of Segment, such as incorporating a consent management system for consent functionality.
117
117
118
-
To set up consent mode for Google Ads Classic:
118
+
To set up consent mode for Google Firebase:
119
119
1. Update your app's SDK to a version that supports consent mode v2.
120
120
* Android apps must use F[irebase Android Analytics SDK version 21.5.0 or later](https://firebase.google.com/support/release-notes/android#analytics_v21-5-0){:target="_blank"}.
121
121
* iOS apps must use [Firebase Apple SDK version 10.17.0 or later](https://firebase.google.com/support/release-notes/ios#analytics){:target="_blank"}.
0 commit comments