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

Give an option to reuse the anonymus user id between user changes instead of creating a new anonId every time #319

Open
Legion2 opened this issue Mar 18, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@Legion2
Copy link

Legion2 commented Mar 18, 2025

Problem Statement

This is a copy of the issue from android: PostHog/posthog-android#224

Solution Brainstorm

See PostHog/posthog-android#224 for how it is implemented in android

@Legion2 Legion2 added the enhancement New feature or request label Mar 18, 2025
@ioannisj
Copy link
Contributor

@marandaneto I see that Android opted for a config option. A flag on reset() may have been more flexible approach though?

@marandaneto
Copy link
Member

@marandaneto I see that Android opted for a config option. A flag on reset() may have been more flexible approach though?

see the linked PR, there's some comments/context on why just reset wouldn't work

@ioannisj
Copy link
Contributor

Ah right I see now. Config options seems simpler in that case

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

No branches or pull requests

3 participants