Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of cookies #56

Closed
alexgibson opened this issue Jan 2, 2024 · 3 comments
Closed

Remove use of cookies #56

alexgibson opened this issue Jan 2, 2024 · 3 comments
Assignees

Comments

@alexgibson
Copy link
Member

alexgibson commented Jan 2, 2024

As part of our upcoming privacy consent work, all non-essential cookies will now require explicit consent to be granted before they can be set. This presents us with the following options for Traffic Cop (TC):

  1. Only initialize experiments if explicit consent has previously been given.
  2. Remove reliance on cookies from TC entirely, so it can run independently of consent.

I'm proposing we do 2) because:

  1. TC redirects happen before page load, and therefore before consent is likely to have been given previously. Doing 1) will likely result in a considerably number of people who DO give consent, but never actually enter into an experiment because they don't make a repeat visit.
  2. TC doesn't actually record any experiment specific data itself. Instead it relies on our regular analytics tools which will require consent separately.
  3. TC does set a cookie to remember which variation a visitor has previously seen, and additionally sets another cookie to record the original referrer (if present).

The cookies TC does set are certainly useful, but given our constraints I think we're likely to get more overall experiment data if we drop them, so TC can run independently of any consent dialog?

The downside is a visitor might see a different experiment variation if they make a return visit during the experiment window. We would also lose the original referrer in our data during the course of an experiment running.

@alexgibson
Copy link
Member Author

alexgibson commented Jan 2, 2024

Additional note: we also need to remove the DNT check from Traffic Cop, since this would no longer be required for consent.

@nathan-barrett
Copy link
Collaborator

Another vote for option 2: Remove reliance on cookies from TC entirely, so it can run independently of consent.

@alexgibson alexgibson self-assigned this Jan 4, 2024
@stephaniehobson
Copy link
Collaborator

Another vote for 2 if/when we need to make changes.

alexgibson added a commit to alexgibson/trafficcop that referenced this issue Jan 12, 2024
alexgibson added a commit to alexgibson/trafficcop that referenced this issue Jan 12, 2024
alexgibson added a commit to alexgibson/trafficcop that referenced this issue Jan 12, 2024
alexgibson added a commit to alexgibson/trafficcop that referenced this issue Jan 12, 2024
alexgibson added a commit to alexgibson/trafficcop that referenced this issue Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants