Bug Report: duplicate HttpContexts on reset & accept of cookies
Describe the bug When you reset the cookie consent, and then accept cookies again, all Events send duplicate HttpContexts.
Steps To Reproduce Steps to reproduce the behavior on our website:
- In incognito mode (or with cleared cookies), go to the Cookies page.
- Accept cookies.
- Reset your cookie preferences.
- Accept cookies again.
- See error in console about duplicate HttpContext for the SuccessEvent.
- Try clicking any tracked element and see the same error for every Event.
Expected behavior No duplicate HttpContext is sent.
Screenshots or Logs


Additional context See e2e test here: https://github.com/objectiv/objectiv.io/pull/540
This is fixed in the new experimental anonymous-mode tracker. Will give it some prio (experimental PR: https://github.com/objectiv/objectiv-analytics/pull/1164)
@sdirosa Think this is now fixed, right?
@ivarpruijn Yes, but not live yet. This is part of v0.0.26 currently sitting in the next branch.
Also fixed I think