[!TIP]
This is a package that is used internally in various tools (model-accelerator
,migration-toolkit
) to store events in db for further analytics
# Install package in project
npm @kontent-ai-consulting/tools-analytics
And use such as
const response = await getTrackingService().trackEventAsync({
action: 'x',
tool: 'x'
version: 'x.y.z',
details: undefined,
result: 'success'
});