Skip to content

Experiment cookie #2561

Ben requested to merge feat/experiment-cookie-e2561 into master

Ticket(s) / Related Merge Requests

Summary of Changes

Changes the way the experiment cookie works such that it is now used as the device ID rather than the user ID, and it is persisted between sessions so that we can track logged out and in states effectively.

Testing Considerations

Check for the experiment_id cookie, log in and out and check the cookie value doesn't change. Delete it and check it comes back on refresh with a new ID.

Experiment assignments should remain consistent.

Deployment Considerations

We need to make sure to adjust existing experiments to partition based on device id rather than user ID. Other than that standard deployment.

Regression Scope

Effects tracking and assignment of experiments.

Platform Affected (web, mobile, etc)

Engine

Developer Testing Completed

Manual

Screenshots / Screen Recording

N/A

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports