Skip to content

Commit 6e79ef7

Browse files
authored
Merge pull request #5446 from segmentio/sarahrudy-patch-14
GA4 Web: Add more details about event naming
2 parents e0b55a1 + 15f8bb3 commit 6e79ef7

File tree

1 file changed

+5
-3
lines changed
  • src/connections/destinations/catalog/actions-google-analytics-4-web

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ The automatically collected and enhanced measurement events include parameters b
4444

4545
## FAQ & Troubleshooting
4646

47-
### Custom Event Naming
47+
### Custom Events
4848

49-
Google Analytics 4 does not accept custom event names that include spaces. Segment replaces spaces in the Event Name in the Custom Event action with an underscore. As a result, you will see custom events snake cased in Google Analytics 4.
49+
Google Analytics 4 has strict rules for event naming and requires you to adhere to those requirements in order to successfully send events. Segment will replace all spaces with underscores to ensure the event name adheres to Google's [event naming rules](https://support.google.com/analytics/answer/13316687?hl=en&ref_topic=13367860&sjid=2167389739796023681-NA#zippy=%2Cweb){:target="_blank"}. As a result, you will see custom events snake cased in Google Analytics 4.
5050

51-
Event names are case-sensitive in Google Analytics 4. If you would like all event names to be lowercase, use the **Lowercase Event Name** setting when you create a Custom Event mapping and select `Yes` from the dropdown. If this setting is set to `No` (`false`), Google treats event names with different casing as distinct events. For more information, see [Google Analytics 4 Event name rules](https://support.google.com/analytics/answer/13316687?hl=en&ref_topic=13367860&sjid=2167389739796023681-NA#zippy=%2Cweb){:target="_blank"}.
51+
Event names are case-sensitive in Google Analytics 4. If you would like all event names to be lowercase, use the **Lowercase Event Name** setting when you create a Custom Event mapping and select `Yes` from the dropdown. If this setting is disabled, Google will treat event names with different casing as distinct events.
52+
53+
Keep in mind that custom events will not appear in Google's standard reports; you will need to set up custom reports for meaningful analysis.
5254

5355
### Custom Dimensions and Metrics
5456

0 commit comments

Comments
 (0)