We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb68fb1 commit a75f695Copy full SHA for a75f695
analytics/analytics_package/analytics/fields.py
@@ -0,0 +1,25 @@
1
+# Metric names
2
+METRIC_EVENT_COUNT = 'eventCount'
3
+METRIC_TOTAL_USERS = 'totalUsers'
4
+
5
+# DIMENSIONS
6
+DIMENSION_PAGE_PATH = {
7
+ 'id': 'pagePath',
8
+ 'alias': 'page_path',
9
+ 'remove_matches': None,
10
+}
11
+DIMENSION_BUILTIN_URL = {
12
+ 'id': 'linkUrl',
13
+ 'alias': 'builtin_url',
14
+ 'remove_matches': r"\s*",
15
16
+DIMENSION_EVENT_NAME = {
17
+ 'id': 'eventName',
18
+ 'alias': 'event_name',
19
20
21
+DIMENSION_CUSTOM_URL = {
22
+ 'id': 'customEvent:click_url',
23
+ 'alias': 'outbound_url',
24
+ 'remove_matches': r"\(not set\)",
25
0 commit comments