Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e4f182

Browse files
authored
clarify nonInteraction flag behavior
1 parent 83db948 commit 7e4f182

File tree

1 file changed

+5
-4
lines changed
  • src/connections/destinations/catalog/google-analytics

1 file changed

+5
-4
lines changed

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

+5-4
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,13 @@ Unlike the device-mode destination which runs directly on the device, and which
150150
You can specify what the event action should be called in the Google Universal 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

152152
> info ""
153-
> **Note**: Segment marks enriched user trait events as a **Non Interaction** event. Non-interaction events are available if you're using Google Universal Analytics.
153+
> **Note**: Segment marks enriched user trait events as a **Non-interaction** event. Non-interaction events are available if you're using Google Universal Analytics.
154154
155155
### A/B Test Versions to Dimensions
156156

157157
Segment makes it simple to save your A/B testing versions to custom dimensions in Google Universal Analytics by mapping an experiment to a custom dimension in the Google Universal Analytics destination settings.
158158

159-
If you are using Cloud-mode or server-side Google Universal Analytics destinations, you can also send this data automatically using the `experiment_id`, `experiment_name`, `variation_id`, and `variation_name` properties. If both an experiment and variation are defined, then this is sent automatically. Segment uses the ids before using the names. If both an ID and a name exist, Segment sends the ID first. For example, if you an `experiment_id`, an `experiment_name`, and a `variation_name` in a call, only the `experiment_id` and `variation_name` are sent to Google Universal Analytics.
159+
If you are using cloud-mode or server-side Google Universal Analytics destinations, you can also send this data automatically using the `experiment_id`, `experiment_name`, `variation_id`, and `variation_name` properties. If both an experiment and variation are defined, then this is sent automatically. Segment uses the ids before using the names. If both an ID and a name exist, Segment sends the ID first. For example, if you an `experiment_id`, an `experiment_name`, and a `variation_name` in a call, only the `experiment_id` and `variation_name` are sent to Google Universal Analytics.
160160

161161
When you have an active A/B test on a page, Segment either sets that experiment as a property or a user trait, depending on how you choose to send experiment data to other tools on your A/B testing tool's Segment settings page. The property or trait for A/B test experiments are labeled like the following examples:
162162

@@ -254,7 +254,8 @@ Here's an example:
254254
}
255255
```
256256

257-
257+
> info ""
258+
> **Note**: Enhanced ecommerce events cannot be tagged using the `nonInteraction` flag or Advanced Options. Instead, when using device-mode, Segment automatically marks all enhanced ecommerce events as **Non-interaction** events. When using cloud-mode or server-side, the `Order Refunded`, `Promotion Viewed`, `Promotion Clicked`, `Product List Viewed`, and `Product List Filtered` enhanced ecommerce events are marked as **Non-interaction** events. All other enhanced ecommerce events will not include a non-interaction flag.
258259
259260
## Enabling E-Commerce tracking
260261

@@ -865,7 +866,7 @@ Using Segment won't affect your bounce rates in Google Universal Analytics.
865866

866867
If you see your bounce rates drop after installing Segment make sure you don't have multiple copies of the snippet on your page. Also be sure you're not calling `page` more than once when the page loads.
867868

868-
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) docs.
869+
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) docs.
869870

870871

871872
### Traffic from Boardman or Segmentio Browser

0 commit comments

Comments
 (0)