Skip to content

Commit 80b9c8c

Browse files
authored
Add section about Ignoring duplicate instances of on-page configuration
1 parent aa06d87 commit 80b9c8c

File tree

1 file changed

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

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ In order for data to be sent downstream to Google Analytics, check your mappings
8787

8888
The **Set Configuration Fields** mapping is required for data to be sent downstream because it sets configuration to Measurement ID and establishes data flow using the `config` command. If you have no enabled mappings other than **Set Configuration Fields**, the GA4 destination does not send events downstream.
8989

90+
### Duplicate `page_view`s in GA4
91+
92+
If you are sending multiple `config` commands that your Google Tag has to account for, you may see duplicate `page_view`s in your Analytics workspace. If this is the case, please refer to Google's documentation on [Ignoring duplicate instances of on-page configuration](https://support.google.com/analytics/answer/9973999?hl=en#:~:text=as%20described%20below.-,Ignore%20duplicate%20instances%20of%20on%2Dpage%20configuration,Click%20Save.,-Give%20feedback%20about){:target="_blank"}.
93+
9094
### Manually send `page_view` events
9195

9296
If you prefer to keep the **Page Views** setting disabled and manually send a `page_view`, please see this Google Doc for more on [Manual Pageviews](https://developers.google.com/analytics/devguides/collection/ga4/views?client_type=gtag#manually_send_page_view_events).
@@ -103,3 +107,5 @@ Without any further configuration, traffic-source data for `campaign`, `campaign
103107
### Differences between Google Analytics 4 Cloud and Google Analytics 4 Web destinations
104108

105109
Segment's [Google Analytics 4 Cloud](/docs/connections/destinations/catalog/actions-google-analytics-4/) server-side destination uses Google's Measurement Protocol API to send event data server to server, whereas Segment's [Google Analytics 4 Web](/docs/connections/destinations/catalog/actions-google-analytics-4-web/) device-mode destination loads the gtag.js library client-side and uses Segment's event data to map to gtag.js events directly. Each destination has its own advantages and disadvantages. Your choice between the two will depend on your specific use case, technical expertise, and the platforms from which you want to track data.
110+
111+

0 commit comments

Comments
 (0)