Skip to content

Commit 9ae1919

Browse files
authored
Fix section on custom events
1 parent 694eeb6 commit 9ae1919

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ 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 has strict rules for event naming and require you to adhere to those requirements in order to successfully send events.
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-
Per Google's documentation on [event naming](https://support.google.com/analytics/answer/13316687?hl=en&ref_topic=13367860&sjid=2167389739796023681-NA#zippy=%2Cweb){:target="_blank"}, follow these rules when choosing a name for your event:
51+
Per Google's documentation, follow these rules when choosing a name for your event:
5252

5353
- Event names are case sensitive. For example, my_event and My_Event are distinct events.
5454
- Event names can include English and non-English words and letters.
5555
- Do not use reserved prefixes and event names.
5656
- Event names must start with a letter. Use only letters, numbers, and underscores. Don't use spaces.
5757

58-
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.
58+
Google Analytics 4 is also case sensitive. If you would like all event names to be lowercase, use the `Lowercase Event Name` setting in the Custom Event mapping. If this setting is disabled, Google will treat event names with different casing as distinct events.
5959

60-
Google Analytics 4 is also case sensitive. If you would like all event names to be lowercase, use the `Lowercase Event Name` setting in the Custom Event action. If this setting is disabled, Google will treat event names with different casing as distinct events.
60+
Custom events do not appear in most standard reports; you will need to set up custom reports for meaningful analysis.
6161

6262
### Custom Dimensions and Metrics
6363

0 commit comments

Comments
 (0)