Skip to content

Commit 6daa508

Browse files
committed
1 parent eec592c commit 6daa508

File tree

1 file changed

+15
-10
lines changed
  • src/connections/destinations/catalog/google-analytics

1 file changed

+15
-10
lines changed

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

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ Unlike the device-mode destination which runs directly on the device, and which
149149

150150
You can specify what the event action should be called in the Google Analytics settings. If you don't specify a name, Segment uses a default of event **'User Enriched'**. Since an event category is also required, you can specify which `trait` you want Segment to set this value to. For example, if you send a trait such as `type`, Segment sets the value of `traits.type` as the event category if defined, and if it is not, sets it to the default value **'All'**.
151151

152-
> note ""
153-
> **Note**: Segment always marks this event as a **Non Interaction** event. This is _only_ available if you are using Universal GA.
152+
> info ""
153+
> **Note**: Segment always marks this event as a **Non Interaction** event. This is only available if you are using Universal GA.
154154
155155
### A/B Test Versions to Dimensions
156156

@@ -174,8 +174,8 @@ To record that property or trait as a custom dimension you would map **Experimen
174174

175175
![a b test custom dimension mapping screenshot](images/ab-mapping.png)
176176

177-
> tip ""
178-
> **Tip!** Remember to set up `dimension13` in your Google Analytics Admin first, as described above.
177+
> success ""
178+
> Remember to set up `dimension13` in your Google Analytics Admin first, as described above.
179179
180180
## Track
181181

@@ -493,8 +493,8 @@ analytics.track('Product List Filtered', {
493493
});
494494
```
495495

496-
> tip ""
497-
> **Tip!** To tie product clicks and views to the same Product List Name in Google Analytics, include a `list` property in your 'Product Viewed' and 'Product Clicked' events. The value in the `list` property should match the value in the `list_id` property for the corresponding 'Product List Viewed' and 'Product List Filtered' events.
496+
> success ""
497+
> **Tip:** To tie product clicks and views to the same Product List Name in Google Analytics, include a `list` property in your 'Product Viewed' and 'Product Clicked' events. The value in the `list` property should match the value in the `list_id` property for the corresponding 'Product List Viewed' and 'Product List Filtered' events.
498498
499499
### Refunds
500500

@@ -628,7 +628,7 @@ Your UTM params need to be passed in the `context` object in `context.campaign`.
628628

629629
### Measurement Protocol Parameters
630630

631-
Google Analytics uses a reserved set of [Measurement Protocol Parameters](https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters) which are automatically collected by the device-mode Google Analytics tracker.
631+
Google Analytics uses a reserved set of [Measurement Protocol Parameters](https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters) which are automatically collected by the device-mode Google Analytics tracker.
632632

633633
To include Measurement Protocol Parameters when sending server-side events to Google Analytics:
634634

@@ -807,9 +807,13 @@ Segment tracks the canonical URL and automatically sends it to Google Analytics
807807

808808
### Optimize
809809

810-
To integrate with Google Analytics' [Optimize plugin](https://support.google.com/360suite/optimize/answer/6262084#optimize-ga-plugin), insert your Optimize **Container ID** in your destination settings and Segment adds the plugin when Analytics.js next initializes the Google Analytics snippet.
810+
> info ""
811+
> You can only use this feature in device-mode.
811812
812-
*Note*: Make sure your Container ID is spelled correctly and that your Optimize container is ENABLED in Google. If you don't enable this, your GA destination silently errors out every time you make a call.
813+
To integrate with the Google Analytics [Optimize plugin](https://support.google.com/360suite/optimize/answer/6262084#optimize-ga-plugin), insert your Optimize **Container ID** in your destination settings. Segment adds the plugin when Analytics.js next initializes the Google Analytics snippet.
814+
815+
> warning ""
816+
> Make sure your Container ID is spelled correctly and that your Optimize container is ENABLED in Google. If you don't enable this, your GA destination silently errors out every time you make a call.
813817
814818
Google recommends that you deploy [page hiding](https://support.google.com/360suite/optimize/answer/6262084#page-hiding) to prevent the page from flashing or flickering when an A/B test loads. You must add this code manually, since it needs to load synchronously. Note that you must include the Optimize container ID in the page hiding snippet too.
815819

@@ -821,7 +825,8 @@ To enable user deletion for Google Analytics:
821825
1. Navigate to the the **User Deletion** setting in your Segment Google Analytics destination settings
822826
2. Authenticate your Google Analytics account using OAuth.
823827

824-
> **Note**: User deletion for Google Analytics is currently only supported for Universal Analytics and not Classic Analytics. You also can only send user deletion requests using a `userId` through the Privacy Tool. This means you must have the User-Id feature enable in your Google Analytics Property within the your Google Analytics dashboard and have Segment sending your Property `userIds` by enabling the setting **Send User-ID to GA**.
828+
> info ""
829+
> **NOTE:** User deletion for Google Analytics is currently supported for Universal Analytics and not Classic Analytics. You can send user deletion requests using a `userId` through the Privacy Tool. This means you must have the User-Id feature enabled in your Google Analytics Property within the your Google Analytics dashboard and have Segment sending your Property `userIds` by enabling the setting **Send User-ID to GA**.
825830
826831
- - -
827832

0 commit comments

Comments
 (0)