Updating marketing cookie
What does this MR do and why?
this updates the current marketing cookie to track if a user has a gitlab account vs if they're currently have a active user session,renames the cookie, and changes its expiration to 2 weeks instead of expiring with the user session
related to: gitlab-com/marketing/digital-experience/buyer-experience#1919 (closed)
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Ensure that Saas is simulated prior to testing
- Spin up GDK locally
- Open Devtools > Application > Cookies
-
gitlab_user
cookie's value will change to true when user logins in and expiration is set for 2 weeks from now - cookie's expiration resets everytime a user logs in
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Miracle Banks