Skip to content

Updating marketing cookie

Miracle Banks requested to merge update-marketing-cookie into master

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

Before image
After image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Ensure that Saas is simulated prior to testing
  2. Spin up GDK locally
  3. Open Devtools > Application > Cookies
  4. gitlab_user cookie's value will change to true when user logins in and expiration is set for 2 weeks from now
  5. 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.

Edited by Miracle Banks

Merge request reports

Loading