Skip to content

Commit 9803ae3

Browse files
authored
Add note on track category used for UA
Adds a note about the device-mode logic for setting category to track calls for Google Analytics UA. https://github.com/segmentio/analytics.js-integrations/blob/master/integrations/google-analytics/lib/index.js#L313
1 parent e6b55a7 commit 9803ae3

File tree

1 file changed

+2
-0
lines changed
  • src/connections/destinations/catalog/google-analytics

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ For this example these event attributes are sent to Google Universal Analytics:
195195
| **Event Category** | All |
196196
| **Event Action** | Logged In |
197197

198+
> info ""
199+
> **Note**: In device-mode only, if you pass `category` to the [`page`](https://segment.com/docs/connections/destinations/catalog/google-analytics/#page-and-screen) call, we will use the `category` from `page` instead of setting default **Event Category** to `All`.
198200
199201
And another Track call example, this time with all Google Universal Analytics event parameters:
200202

0 commit comments

Comments
 (0)