This module provides API to work with analytic services.
Each of the analytic services should define its own engine within the core/analytics/engines folder.
Notice, there is no implementation for any analytic services.
You have to create it by yourself.
core/analytics
This module provides API to work with analytic services. Each of the analytic services should define its own engine within the
core/analytics/engines
folder.Notice, there is no implementation for any analytic services. You have to create it by yourself.
Creating a new analytics engine
Create a new file within the
engines
folder and expose it from theindex
file. Let's create a simple engine for Google Analytics.core/analytics/engines/ga.ts
core/analytics/engines