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

Register new method for logout #9

Open
marbiano opened this issue Feb 17, 2016 · 12 comments
Open

Register new method for logout #9

marbiano opened this issue Feb 17, 2016 · 12 comments

Comments

@marbiano
Copy link

It's a good technique clear mixpanel cookies when you have a user logging out. That can be done with mixpanel.cookie.clear();. Now, I tried to add a new method to the waitForVendorApi callback, but I just got an error that I'm sure comes from the method not being defined in the original Angulartics library.

I would be happy to provide a PR for this functionality, but I need some guidelines whether I should first create a PR in the original library. Could you help me?

@GMoHughes
Copy link
Contributor

Any updates on this? Also happy to create a pull request. mbavio did you solve your issue?

@marbiano
Copy link
Author

marbiano commented Jun 21, 2016

@GMoHughes I did this update on my fork but then couldnt find time to take care of this main repo, I'm too busy getting into React and trying to not get back to Angular again! 😂

@GMoHughes
Copy link
Contributor

@mbavio This is the worst news - you have the best (one of the only) libraries for SPA so far! If I pull request for cookies clear will you merge and bump it? :)

A final treat for angular haha

@marbiano
Copy link
Author

@GMoHughes For sure!

@marbiano
Copy link
Author

@GMoHughes Ups, I have no idea why but I made a mistake and thought we were talking about another project. I'm not a maintainer of this repo so I can't merge your PR!

@timelf123
Copy link
Contributor

I can merge your PR when you publish it

@GMoHughes
Copy link
Contributor

@timelf123 Need write permissions?

@timelf123
Copy link
Contributor

Hi there @GMoHughes - I'm happy to review your PR after you post it

@GMoHughes
Copy link
Contributor

I don't have permissions to write - have tried pushing to remote. Or is it something on my side?

@timelf123
Copy link
Contributor

@GMoHughes you should push your changes to a branch of your fork (click fork button above), then a PR button will come up https://help.github.com/articles/creating-a-pull-request/

@GMoHughes
Copy link
Contributor

Have made two pull requests. The first is correcting the current userTimings function, i've tested it on my side and the parameters only work with action, properties. Else the time does not record.

This also works with current implementation in angulartics-google-analytics

The second is for the cookies.clear method

Thanks! Can you let me know when the version is bumped too?

@GMoHughes
Copy link
Contributor

@timelf123 Hi. I have made a couple of pull requests just over a fortnight ago, could you have a look?

If we can't merge and bump version anytime soon could you let me know as i'll write the library up in-house

Thanks G

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

3 participants