Skip to content

Commit 1ee031a

Browse files
authored
Merge branch 'master' into 519-github-side-links
2 parents 2fe0967 + 5fc40cd commit 1ee031a

File tree

1 file changed

+15
-15
lines changed
  • src/connections/destinations/catalog/gtag

1 file changed

+15
-15
lines changed

src/connections/destinations/catalog/gtag/index.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ Google Analytics Universal tracking method allows you to set a user ID for your
5555

5656
To use this feature you must enable User-ID in your Google Analytics property and create a User-ID view, [read more here](https://support.google.com/analytics/answer/3123666).
5757

58-
If you want to pass the `id` from your [Identify](/docs/connections/spec/identify) calls to the Gtag destination settings and - enable
58+
To pass the `id` from your [Identify calls](/docs/connections/spec/identify) to the Gtag destination, go to **Other Settings** and set **Send User-ID to GA** to "on" to enable this setting.
5959

6060
### Send user ID
61-
The example below represents Segment sending a User ID value in an identify call:
61+
The example below represents Segment sending a User-ID value in an identify call:
6262

6363
```js
6464
analytics.identify('12345', {
@@ -70,7 +70,7 @@ analytics.identify('12345', {
7070
In this example the `User-ID` is `12345` for Google Analytics, but Segment won't share the `email` or `name` traits with Google.
7171

7272
> warning ""
73-
> If you pass an **email**, **phone number**, **full name** or other PII as the `id` in [Identify](/docs/connections/spec/identify) do not use this feature. That is against the Google Analytics terms of service and your Google may suspend your service.
73+
> If you pass an **email**, **phone number**, **full name** or other PII as the `id` in [Identify](/docs/connections/spec/identify) do not use this feature. That is against the Google Analytics terms of service and Google may suspend your service.
7474
7575
### Custom dimensions
7676
Google Analytics has several scopes for each custom dimension:
@@ -174,7 +174,7 @@ For example:
174174

175175
## Ecommerce
176176

177-
Segment supports Google Analytics basic e-commerce tracking across all libraries. All you have to do is adhere to the [Ecommerce tracking API](/docs/connections/spec/ecommerce/v2/) and Segment sends the appropriate data to Google Analytics.
177+
Segment supports Google Analytics basic ecommerce tracking across all libraries. All you have to do is adhere to the [Ecommerce tracking API](/docs/connections/spec/ecommerce/v2/) and Segment sends the appropriate data to Google Analytics.
178178

179179
### Required steps
180180

@@ -191,7 +191,7 @@ Segment supports Google Analytics Enhanced Ecommerce tracking in the Gtag destin
191191

192192
To get started, enable Enhanced Ecommerce and adhere to the standard [Ecommerce tracking API](/docs/connections/spec/ecommerce/v2/). Segment sends necessary data to Google Analytics with the Google Analytics enhanced ecommerce API
193193

194-
To see Enhanced E-Commerce data in your reports, you must be using Google Analytics Universal and enable Enhanced E-Commerce in your Google Analytics view.
194+
To see Enhanced Ecommerce data in your reports, you must be using Google Analytics Universal and enable Enhanced Ecommerce in your Google Analytics view.
195195

196196
### Required steps (enhanced)
197197

@@ -267,8 +267,8 @@ You can have any number of steps in the checkout funnel as you'd like. The 4 ste
267267

268268
For client-side integrations, to use the ability to track Checkout Steps and Options, Segment uses Google Analytics' ProductAction class. You can read Google's developer docs for information on specific methods:
269269

270-
- [Analytics.js - Enhanced E-Commerce](https://developers.google.com/analytics/devguides/collection/gtagjs/enhanced-ecommerce)
271-
- [Analytics.js - E-Commerce](https://developers.google.com/analytics/devguides/collection/gtagjs/ecommerce)
270+
- [Analytics.js - Enhanced Ecommerce](https://developers.google.com/analytics/devguides/collection/gtagjs/enhanced-ecommerce)
271+
- [Analytics.js - Ecommerce](https://developers.google.com/analytics/devguides/collection/gtagjs/ecommerce)
272272

273273
### Measuring promotions
274274

@@ -291,7 +291,7 @@ analytics.track('Clicked Promotion', {
291291

292292
### Coupons
293293

294-
If you want to send coupon data to your `Order Completed` event when using Enhanced E-commerce, you can add the `coupon` property on the order level or the product level or both. In the below example, note that the Gtag destination accepts `total` *or* `revenue`, but not both. Segment recommends using `revenue` because several other destinations use `revenue`. For better flexibility and total control over tracking, you can decide how to calculate the way in which coupons and discounts apply. For example:
294+
If you want to send coupon data to your `Order Completed` event when using Enhanced Ecommerce, you can add the `coupon` property on the order level or the product level or both. In the below example, note that the Gtag destination accepts `total` *or* `revenue`, but not both. Segment recommends using `revenue` because several other destinations use `revenue`. For better flexibility and total control over tracking, you can decide how to calculate the way in which coupons and discounts apply. For example:
295295

296296
```js
297297
analytics.track({
@@ -414,11 +414,11 @@ analytics.ready(function(){
414414
To anonymize the IP addresses of all hits sent to Google, enable the **Anonymize IP** setting in the destination settings.
415415

416416
### Remarketing
417-
Segment uses Google's remarketing (The remarketing tag formerly known as Doubleclick) to tag visitors for remarketing campaigns and to identify demographic and interest data on visitors that displays in Demographic & Interest reports inside of Google Analytics.
417+
Segment uses Google's remarketing (the remarketing tag formerly known as Doubleclick) to tag visitors for remarketing campaigns and to identify demographic and interest data on visitors that displays in Demographic & Interest reports inside of Google Analytics.
418418

419419
Enable the **Remarketing, Display Ads, and Demographic Settings** in the Google Analytics destination to access these features.
420420

421-
Since remarketing loads through Segment, Google Analytics will cannot validate that the code is present on the page. Click **Skip validation** and your data will start showing up within a few hours.
421+
Since remarketing loads through Segment, Google Analytics cannot validate that the code is present on the page. Click **Skip validation** and your data will start showing up within a few hours.
422422

423423
### Multiple trackers
424424

@@ -433,7 +433,7 @@ analytics.ready(function(){
433433
```
434434

435435
> note ""
436-
> **Important**: Keep in mind you will need to do the data translation/properties mapping inside this `.on()` function before you send the event to Google Analytics. See the[destination code](https://github.com/segment-integrations/analytics.js-integration-google-analytics/blob/master/lib/index.js#L161-L207) for more information.
436+
> **Important**: Keep in mind you will need to do the data translation/properties mapping inside this `.on()` function before you send the event to Google Analytics. See the [destination code](https://github.com/segment-integrations/analytics.js-integration-google-analytics/blob/master/lib/index.js#L161-L207) for more information.
437437
438438
To do this server side, you can create a separate [source](/docs/connections/sources/) in Segment, and within this source enter your Google Analytics credentials for the second tracker.
439439

@@ -496,7 +496,7 @@ To populate the Site Search report in Google Analytics, complete the following s
496496

497497
When you use Segment to load Gtag, the Segment script loads the gtag.js script. If you use [Google Analytics as the verification option](https://support.google.com/webmasters/answer/9008080?hl=en) in Google Webmaster Tools, you'll need to switch to the [Meta tags verification option](https://support.google.com/webmasters/answer/79812?hl=en) instead. This will require you to find the `<meta name=google-site-verification" ..>` tag in Webmaster Tools and place it in your master HTML template.
498498

499-
### Cannonical Urls
499+
### Cannonical urls
500500

501501
Segment handles tracking the canonical URL to Google Analytics for you automatically. As long as there is a `<meta rel="canonical">` tag on your page, Segment ensures Google Analytics gets the right canonical URL from it.
502502

@@ -517,9 +517,9 @@ You may want to deploy Google's [anti-flickering snippet](https://support.google
517517
They both allow you to track custom data properties in Google Analytics. Metrics are for event properties with a numeric data type and Dimensions are for event properties with a string data type.
518518

519519
### Real-time reports
520-
Google Analytics doesn't process data in real-time in most of the Google Analytics reports. The easiest way to see if the data is streaming in is to check the Real-Time reports inside Google Analytics.
520+
Google Analytics doesn't process data in real time in most of the Google Analytics reports. The easiest way to see if the data is streaming in is to check the Realtime reports in Google Analytics.
521521

522-
If you see events in your real-time reports, but they never show up in other reports that is due to a filter you have applied. You can see your active filters inside Google Analytics by clicking on **Admin** then under your View on the right click on **Filters**.
522+
If you see events in your Realtime reports and those events never show up in other reports, that is due to a filter you have applied. You can see your active filters inside Google Analytics by clicking **Admin** then under your View on the right click **Filters**.
523523

524524
### Self referrals
525525

@@ -536,4 +536,4 @@ If your site uses `https://`, please go to your Google Analytics property settin
536536
Using Segment won't affect your bounce rates in Google Analytics.
537537
If you see your bounce rates drop after installing Segment make sure you don't have multiple copies of Segment's snippet on your page. Also be sure you're not calling `page` more than once when the page loads.
538538

539-
If you call `track` on page load make sure to set `nonInteraction` to `1`. You can also set all events to be non-interactive by default in `Advanced Options`. Read more in the [non-interaction events](#non-interaction-events)) section.
539+
If you call `track` on page load make sure to set `nonInteraction` to `1`. You can also set all events to be non-interactive by default in `Advanced Options`. Read more in the [non-interaction events](#non-interaction-events) section.

0 commit comments

Comments
 (0)