chore(analytics): track theme switch and start search events

This commit is contained in:
KostyaDanovsky 2017-09-20 15:48:30 +03:00
parent 6ef5f90f7c
commit c28cf8f2d4
4 changed files with 17 additions and 3 deletions

View file

@ -22,4 +22,10 @@ export class AnalyticsService {
});
}
}
trackEvent(eventName: string) {
if (this._enabled) {
ga('send', 'event', eventName);
}
}
}