Skip to content

Commit 81816fb

Browse files
authored
Merge pull request #4498 from segmentio/ashton-huxtable-patch-1
Add info about GA4 web page views
2 parents 2ffc84b + 3255d72 commit 81816fb

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
@@ -61,3 +61,10 @@ Google may take [24-48 hours](https://support.google.com/analytics/answer/933379
6161
### Data is not sent to Google
6262

6363
Ensure that at least one mapping has been configured and enabled in the destination mappings for an event you want to send to Google Analytics. If no mappings are enabled, the destination does not send events.
64+
65+
### Page Views
66+
67+
The **Page Views** advanced setting prevents sending the `page_view` included in the gtag.js snippet, not Segment's `analytics.page()` event available in the Analytics.js snippet by default. If you enable this setting, once the page loads, two `page_view` events will still send to the GA4 SDK, one from the Segment snippet and one from the gtag.js snippet. If you see duplicate `page_view` events in your GA4 dashboard, you need to either:
68+
69+
1. Disable the **Page Views** advanced setting (set it to *False*) so only Segment's `analytics.page()` sends to the GA4 SDK. Or,
70+
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.

0 commit comments

Comments
 (0)