Skip to content

Commit 287e366

Browse files
jenskenemarkzegarellipwsegkdaswanistayseesong
authored
Update Google Universal Analytics with information about Consent Mode (#2287)
* Hotfix: Republish Google Tag Manager (#2284) * remove sample warehouse * Personas Overview fixes [DOC-394] * Update develop branch to also unhide GEC * Add GEC to Google strat Adds Google Enhanced Conversions to the Google navigation * Update index.md * FB CAPI (Actions) updates for Public Beta (#2276) * FB CAPI (Actions) updates for Public Beta * add to strat Co-authored-by: markzegarelli <[email protected]> * Add note to classic FB CAPI destination doc (#2277) * Getting Started Guide (#157) * [netlify-build] * Apply suggestions from code review Co-authored-by: markzegarelli <[email protected]> Co-authored-by: markzegarelli <[email protected]> * fix braze maintenance links (#2282) * fixes 2279 (#2281) * Facebook Conversions API, Google Enhanced Conversions, and Google Analytics 4 destinations (#2278) * this should be visible * Update GEC doc to match new UI experience (#2269) * Update GEC doc to match new UI experience * Update src/connections/destinations/catalog/actions-google-enhanced-conversions/index.md Co-authored-by: markzegarelli <[email protected]> * fix slug, pull data [netlify-build] * fix typo Co-authored-by: markzegarelli <[email protected]> * GA4 destination doc updates (#2273) * GA4 destination doc updates Updates to GA4 docs ahead of Public Beta on 12/14: * Unhide GA4 doc * Add GA4 doc to "strat: google" * Remove private beta instructions * Add more details to the docs * fix hyperlink * fix typo * Add GA4 to strat * add mappings from api Co-authored-by: markzegarelli <[email protected]> * Update GA4 links in GA UA docs (#2272) * Hide or delete GA4-plans doc (#2270) * Hide or delete GA4-plans doc We would like to delete this doc if possible. Otherwise, I have hidden it here because we do not need it anymore as it is outdated and we have a new destination doc for GA4. * unpublish this Co-authored-by: markzegarelli <[email protected]> * catalog [netlify-build] * automate available actions table * fix side nav * fix side nav * google strat * unhide tiktok conversions * catalog update * Apply suggestions from code review Co-authored-by: rchinn-segment <[email protected]> Co-authored-by: forstisabella <[email protected]> Co-authored-by: kdaswani <[email protected]> Co-authored-by: rchinn-segment <[email protected]> * catalog update * republish Google Tag Manager Co-authored-by: pwseg <[email protected]> Co-authored-by: kdaswani <[email protected]> Co-authored-by: pwseg <[email protected]> Co-authored-by: stayseesong <[email protected]> Co-authored-by: forstisabella <[email protected]> Co-authored-by: rchinn-segment <[email protected]> * fix netlify toml * fix strat * unhide * google search console verification * Update Google Universal Analytics doc Add a section on Consent Mode, to explain that we do not support it and why. Google partners requested we add this. * Update src/connections/destinations/catalog/google-analytics/index.md * Update netlify.toml Co-authored-by: markzegarelli <[email protected]> Co-authored-by: pwseg <[email protected]> Co-authored-by: kdaswani <[email protected]> Co-authored-by: pwseg <[email protected]> Co-authored-by: stayseesong <[email protected]> Co-authored-by: forstisabella <[email protected]> Co-authored-by: rchinn-segment <[email protected]>
1 parent a9a31c1 commit 287e366

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

netlify.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
[context.develop]
1919
command = "yarn develop"
2020

21-
[[plugins]]
22-
package = "netlify-plugin-jekyll-cache"
23-
24-
[plugins.inputs]
25-
jekyllSource = "/src"
2621

2722
[[redirects]]
2823
from = "/docs/*"
@@ -34,3 +29,8 @@
3429
to = "/assets/docs.bundle.js"
3530
status = 200
3631

32+
[[plugins]]
33+
package = "netlify-plugin-jekyll-cache"
34+
35+
[plugins.inputs]
36+
jekyllSource = "/src"

src/_data/sidenav/strat.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@ sections:
5151
title: Google Universal Analytics destination
5252
- path: /connections/destinations/catalog/actions-google-analytics-4
5353
title: Google Analytics 4 destination
54-
<<<<<<< HEAD
5554
- path: /connections/destinations/catalog/google-tag-manager
5655
title: Google Tag Manager
57-
=======
58-
>>>>>>> master
5956
- path: /connections/destinations/catalog/actions-google-enhanced-conversions
6057
title: Google Enhanced Conversions
6158
- path: /connections/destinations/catalog/doubleclick-floodlight

src/_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<head>
2828
<base href="{{ basehref }}" />
2929
<title> {{page.title}} | Segment Documentation</title>
30+
<meta name="google-site-verification" content="I5QdtZs88X7r-YLPogE9bzdouqud3IPONxht2CBFIOQ" />
3031
<meta property="og:type" content="website" />
3132
<meta property="og:site_name" content="Segment" />
3233
<meta property="og:title" content="{{page.title}} {%- unless landing -%}Documentation{%- endunless -%} - Segment" />

src/connections/destinations/catalog/google-analytics/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ Segment supports the following Google Universal Analytics features.
648648

649649
- [Client-side (Analytics.js) library methods](#client-side-library-methods)
650650
- [Anonymize IP Address](#anonymize-ip-address)
651+
- [Consent Mode](#consent-mode)
651652
- [Cookie Domain Name](#cookie-domain-name)
652653
- [Custom Dimensions](#custom-dimensions)
653654
- [Cross-domain Tracking](#cross-domain-tracking)
@@ -738,6 +739,10 @@ To do this server side, you can create a separate [source](/docs/connections/sou
738739

739740
This source can be your server-side source. From there, its easy to send data to multiple projects server-side, as you can see in this [Node example](/docs/connections/sources/catalog/libraries/server/node/#multiple-clients) you can initialize multiple instances of the library.
740741

742+
### Consent Mode
743+
744+
Segment does not support Google’s [Consent Mode](https://support.google.com/analytics/answer/9976101?hl=en){:target="_blank"} feature. Consent Mode enables you to adjust how Google’s tags load on your site, based on whether users consent to your use of cookies. This feature requires Google’s gtag.js library, and does not work when you use Segment’s Google Universal Analytics destination, because it loads [Google’s analytics.js library](https://support.google.com/analytics/answer/7476135?hl=en#zippy=%2Cin-this-article){:target="blank"} instead of the gtag.js library. As an alternative, you can use Segment’s [Consent Manager](https://github.com/segmentio/consent-manager){:target="blank"} .
745+
741746
### Cookie Domain Name
742747

743748
The Google Universal Analytics **Cookie Domain Name** setting allows you to specify the domain that the `_ga` cookie will be set on. By default the cookie is placed on the top level domain: `domain.com`.

src/connections/destinations/catalog/google-tag-manager/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Google Tag Manager Destination
33
hide-cmodes: true
44
strat: google
5-
published: false
65
---
76

87
[Google Tag Manager](https://support.google.com/tagmanager) (GTM) is a tag management system that allows you to quickly and easily update tags and code snippets on your website or mobile apps. Once you add the Tag Manager snippet to your website or mobile app, you can configure tags using a web-based user interface without having to alter and deploy additional code. This reduces errors and frees you from having to involve a developer whenever you need to make changes. The Google Tag Manager Destination is open-source. You can browse the code [on GitHub](https://github.com/segment-integrations/analytics.js-integration-google-tag-manager).

0 commit comments

Comments
 (0)