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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃挕 [GDPR] Handle user consent #2013

Open
bcaudan opened this issue Feb 13, 2023 · 4 comments
Open

馃挕 [GDPR] Handle user consent #2013

bcaudan opened this issue Feb 13, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@bcaudan
Copy link
Contributor

bcaudan commented Feb 13, 2023

A current workaround to delay data collection until consent is given by the end user is to have this kind of setup:

if (userConsent) {
  DD_RUM.init(...)
}

However:

  • it does not handle cases were consent is withdrawn
  • it requires customer to discover and maintain this logic

We should provide an API to allow customer to communicate the consent changes to the browser SDK like in the other SDKs, cf https://docs.datadoghq.com/real_user_monitoring/flutter/setup/#set-tracking-consent

@bcaudan bcaudan added the enhancement New feature or request label Feb 13, 2023
@reggieWayflyer
Copy link

Any update on this folks? We're in a bit of a bind without it as the simple if statement workaround will not suffice in our use case where users can change their consent preferences at any time.

@amortemousque
Copy link
Contributor

Hello @reggieWayflyer,
It is still in our radar but has not been prioritised yet. We will keep you updated about it.

@reggieWayflyer
Copy link

reggieWayflyer commented Feb 9, 2024

There's a PR open around this

@amortemousque
Copy link
Contributor

Hi @reggieWayflyer,
Yes, we are actively working on it and it should be available in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants