Skip to content

Commit 2b243d0

Browse files
Add section covering tracking UTM parameters
1 parent 91c62cc commit 2b243d0

File tree

1 file changed

+7
-0
lines changed
  • src/connections/destinations/catalog/actions-google-analytics-4-web

1 file changed

+7
-0
lines changed

src/connections/destinations/catalog/actions-google-analytics-4-web/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,10 @@ The **Page Views** advanced setting prevents sending the `page_view` included in
6868

6969
1. Disable the **Page Views** advanced setting (set it to *False*) so only Segment's `analytics.page()` sends to the GA4 SDK. Or,
7070
2. Edit or disable the preset **Set Configuration Fields** mapping so only the `page_view` included in the gtag.js snippet sends to the GA4 SDK.
71+
72+
### Tracking UTM Parameters
73+
74+
UTM Parameters are automatically tracked and sent to Google when they are present in the URL. For example, with the following URL:
75+
`https://www.example.com/?utm_content=email_variation1&utm_medium=email&utm_source=email_promo&utm_campaign=summer_sale&utm_id=abcd`
76+
77+
Without any further configuration, traffic-source data for `campaign`, `campaign_id`, `content`, `medium`, and `source` will populate in GA4. This can be observed on Google's side by triggering a `Page` call with UTM parameters present in the URL and navigating to the **Realtime overview** report in GA4 to see the resulting `page_view` event under the _Event count by Event name_ card.

0 commit comments

Comments
 (0)