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

Sets userId to nil on reset #44

Merged
merged 1 commit into from
Oct 25, 2017
Merged

Sets userId to nil on reset #44

merged 1 commit into from
Oct 25, 2017

Conversation

ladanazita
Copy link
Contributor

According to Amplitude, if a user logs out or you want to log the events under an anonymous user, you will need to:

  1. Set the userId to nil.
  2. Regenerate a new deviceId.

@SegmentBot
Copy link

By analyzing the blame information on this pull request, we identified and undefined to be a potential reviewer.

@ladanazita ladanazita merged commit dc63a40 into master Oct 25, 2017
@ladanazita ladanazita deleted the fix/reset branch October 25, 2017 05:02
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

Successfully merging this pull request may close these issues.

3 participants