mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-22 02:10:12 +01:00
chore(analytics): track theme switch and start search events
This commit is contained in:
parent
6ef5f90f7c
commit
c28cf8f2d4
4 changed files with 17 additions and 3 deletions
|
|
@ -22,4 +22,10 @@ export class AnalyticsService {
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
trackEvent(eventName: string) {
|
||||
if (this._enabled) {
|
||||
ga('send', 'event', eventName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue