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

Add option to disable data collection for users who opt out #757

Closed
gratian-dicu-hillrom opened this issue Feb 3, 2023 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@gratian-dicu-hillrom
Copy link

Summary

As a user i would like to have the option to enable/disable data collection. Currently this feature is not available and workarounds are needed in order to mimic this option.

Proposed Solution

Similar to Analytics-iOS, expose 2 functions that enable and disable data forwarding to all destinations including segment.

@gratian-dicu-hillrom gratian-dicu-hillrom added the enhancement New feature or request label Feb 3, 2023
@alanjcharles
Copy link
Contributor

Hi @gratian-dicu-hillrom thanks for reaching out! We don't have any plans to add this functionality, I'm afraid. However, you can implement a consent manager to determine if/when you should collect and send events. Here is an example we have in our example app: https://github.com/segmentio/analytics-react-native/blob/master/example/src/plugins/ConsentManager.tsx

Please feel free to reach out to [email protected] for additional support and/or post any other issues you might run into here and we'll respond as soon as we can. Thanks!

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

2 participants