Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking time is not working. #33

Open
Kosmonaft opened this issue Jan 23, 2018 · 0 comments
Open

Tracking time is not working. #33

Kosmonaft opened this issue Jan 23, 2018 · 0 comments

Comments

@Kosmonaft
Copy link

Kosmonaft commented Jan 23, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant