Skip to content

Commit f4447e4

Browse files
author
markzegarelli
authored
Merge pull request #1527 from segmentio/evanSegment-ga-mpp
document measurement protocol parameters
2 parents d23828d + 1a75520 commit f4447e4

File tree

1 file changed

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

1 file changed

+15
-1
lines changed

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,22 @@ If you want to send UTM parameters to Google Analytics using one of the Segment
621621

622622
Your UTM params need to be passed in the `context` object in `context.campaign`. For Google Analytics `campaign.name`, `campaign.source` and `campaign.medium` all need to be sent together for things to show up in reports. The other two params (`campaign.term` and `campaign.content`) are both optional, but will be forwarded to GA if you send them to Segment.
623623

624+
### Measurement Protocol Parameters
624625

625-
---
626+
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.
627+
628+
To include Measurement Protocol Parameters when sending server-side events to Google Analytics:
629+
630+
1. Collect the value of the parameter as a Segment trait or property
631+
2. Configure the Segment Google Analytics destination to [map the trait or property](#map-traits-or-properties-to-measurement-protocol-params) to a specific Measurement Protocol Parameter key
632+
633+
The following Measurement Protocol Parameters are supported:
634+
635+
- plt
636+
- pdt
637+
- gclid
638+
- dt
639+
- cid
626640

627641

628642
## Features

0 commit comments

Comments
 (0)