Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Handling Anon users #12

Closed
craigmulligan opened this issue Apr 19, 2017 · 1 comment
Closed

Handling Anon users #12

craigmulligan opened this issue Apr 19, 2017 · 1 comment

Comments

@craigmulligan
Copy link
Contributor

I want to use this module for our websites to track page views and other events, but currently .start() requires a user obj.

I'm thinking we generate a uuid if no user object is passed, and then not run the login event. I see a lot methods depend on the properties that are set in the login method like distinctId so we will may have to have an alternative like anonLogin for add a conditional to the login so to not create a new Person in mixpanel for every new page visit.

What do you think? @pimterry @emirotin

@emirotin
Copy link
Contributor

Makes sense to have a separate method
In general, mixpanel is already capable of handling anons, we just need to relax the assumptions this module puts on the authentication model.

craigmulligan pushed a commit that referenced this issue Apr 25, 2017
connects to #12

Change-Type: minor
craigmulligan pushed a commit that referenced this issue May 17, 2017
connects to #12

Change-Type: minor
craigmulligan pushed a commit that referenced this issue Jun 22, 2017
connects to #12

Change-Type: minor
craigmulligan pushed a commit that referenced this issue Jun 22, 2017
connects to #12

Change-Type: minor
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants