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

Unexpected Behavior from analytics.reset() in Chrome Extensions #770

Open
WeaponXII opened this issue Jan 14, 2023 · 1 comment
Open

Unexpected Behavior from analytics.reset() in Chrome Extensions #770

WeaponXII opened this issue Jan 14, 2023 · 1 comment

Comments

@WeaponXII
Copy link

We have been using analytics-next in our Chrome Extension for the last 2 or so months, and recently added an analytics.reset() call on user sign out. For users that sign out of our extension but keep our chrome extension installed this has been creating a new anonymousId for every tab our users visit, it seems to break client persistence and might be a bug unique to chrome extensions.

@zikaari
Copy link
Contributor

zikaari commented Feb 7, 2023

What context is the analytics-next loaded in? background, content script, devtools panel?

Is the expected behaviour to NOT create an anonymous ID once they sign out, and keep it null until they sign back in?

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

2 participants