You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/actions-google-analytics-4-web/index.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,9 +46,18 @@ The automatically collected and enhanced measurement events include parameters b
46
46
47
47
###Custom Event Naming
48
48
49
+
Google Analytics 4 has strict rules for event naming and require you to adhere to those requirements in order to successfully send events.
50
+
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:
52
+
53
+
- Event names are case sensitive. For example, my_event and My_Event are distinct events.
54
+
- Event names can include English and non-English words and letters.
55
+
- Do not use reserved prefixes and event names.
56
+
- Event names must start with a letter. Use only letters, numbers, and underscores. Don't use spaces.
57
+
49
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.
50
59
51
-
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.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"}.
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.