Vendor-agnostic analytics for Angular2 applications.
These are important! Update your code to call startTracking()
or suffer the sadness of not collecting your analytics.
startTracking()
will be necessary to maintain functionality - for more details/example see step 2 [in the updated install instructions in the readme] or the before/after below (https://github.com/angulartics/angulartics2#include-it-in-your-application)constructor(angulartics2GoogleAnalytics: Angulartics2GoogleAnalytics) {
// nothing
}
constructor(angulartics2GoogleAnalytics: Angulartics2GoogleAnalytics) {
// start tracking!
angulartics2GoogleAnalytics.startTracking();
}
shoutout to @rossedfort