I'm trying to track time (duration between events).
Based on mixpanel documentation there is a method 'mixpanel.time_event' which in angulartics-mixpanel is 'registerUserTimings'. I would like to use it as '$angulartics.registerUserTimings' however I'm getting an error that registerUserTimings is unkown.
If I used in in config I'm not getting any error but is not tracking anything.
`app.config(['$analyticsProvider', function ($analyticsProvider) {
$analyticsProvider.registerUserTimings('page viewed');
$analyticsProvider.registerUserTimings('Some event');
}]);`
I put some debuggers in angulartics-mixpanel.min.js and angulartics-mixpanel.js in for 'registerUserTimings' put is not coming at all there.
I'm trying to track time (duration between events). Based on mixpanel documentation there is a method 'mixpanel.time_event' which in angulartics-mixpanel is 'registerUserTimings'. I would like to use it as '$angulartics.registerUserTimings' however I'm getting an error that registerUserTimings is unkown. If I used in in config I'm not getting any error but is not tracking anything. `app.config(['$analyticsProvider', function ($analyticsProvider) { $analyticsProvider.registerUserTimings('page viewed'); $analyticsProvider.registerUserTimings('Some event');
}]);`
I put some debuggers in angulartics-mixpanel.min.js and angulartics-mixpanel.js in for 'registerUserTimings' put is not coming at all there.
Any idea what could be wrong?