Fix "referrer" cookie management minds#3183
Ticket(s) / Related Merge Requests
Summary of Changes
We were using always preferring the set "referrer" cookie over request params. Which made it impossible to change the referrer (e.g. by openning a referral link) once it was initially set from a channel page. The fix includes always preferring the request params over cookie, but preferring cookie over the entity
Testing Considerations
Please follow the Steps to reproduce on the ticket
Deployment Considerations
N/A
Regression Scope
- referrals and referrer cookie
Platform Affected (web, mobile, etc)
all
Developer Testing Completed
yes
Screenshots / Screen Recording
https://www.loom.com/share/fec385ca66394e5084ddf4c5aa9f13ae
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 Manish