Simplify/clarify Analytics API types and naming.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-09-16 14:16:16 +02:00
parent 83c163a234
commit 1ff7386291
25 changed files with 305 additions and 344 deletions
+10 -10
View File
@@ -52,8 +52,8 @@ app:
customDimensionsMetrics:
- type: dimension
index: 1
source: domain
attribute: pluginId
source: context
key: pluginId
```
You can configure additional custom dimension and metric collection by adding
@@ -66,16 +66,16 @@ app:
customDimensionsMetrics:
- type: dimension
index: 1
source: domain
attribute: pluginId
source: context
key: pluginId
- type: dimension
index: 2
source: domain
attribute: routeRef
source: context
key: routeRef
- type: metric
index: 1
source: context
attribute: someEventContextAttr
source: attributes
key: someEventContextAttr
```
### Debugging and Testing
@@ -125,8 +125,8 @@ app:
customDimensionsMetrics:
- type: dimension
index: 1
source: domain
attribute: pluginId
source: context
key: pluginId
```
[configure-custom-dimension]: https://support.google.com/analytics/answer/2709828?hl=en#configuration