feat(analytics): track existing features (#5448) [EE-1076]

This commit is contained in:
Chaim Lev-Ari
2021-09-05 13:03:48 +03:00
committed by GitHub
parent b8e6c5ea91
commit 4ffee27a4b
25 changed files with 361 additions and 55 deletions

View File

@@ -163,5 +163,19 @@
"// @failure 500 \"Server error\"",
"// @router /{id} [get]"
]
},
"analytics": {
"prefix": "nlt",
"body": ["analytics-on", "analytics-category=\"$1\"", "analytics-event=\"$2\""],
"description": "analytics"
},
"analytics-if": {
"prefix": "nltf",
"body": ["analytics-if=\"$1\""],
"description": "analytics"
},
"analytics-metadata": {
"prefix": "nltm",
"body": "analytics-properties=\"{ metadata: { $1 } }\""
}
}