firebase / firebase/firebase-js-sdk

[Documentation] Missing Firebase Analytics Web enable/disable options for data collection

Open
#6,358 1 comment 0 reactions 0 assignees View on GitHub
api: analytics documentation needs-attention question
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

The documentation is missing for how to disable analytics for the web.

This should be linked or referenced somewhere in the guides:

https://firebase.google.com/docs/reference/js/analytics.md#setanalyticscollectionenabled

The place where it is missing is probably here:

https://firebase.google.com/docs/analytics/configure-data-collection?platform=ios

This will be helpful for users in the future.

Thanks!

### Discussed in https://github.com/firebase/firebase-js-sdk/discussions/6272

Originally posted by **p-young** May 12, 2022
Hi,

I was wondering if there's any solutions or suggestions around firebase analytics and complying with gdpr.

There doesn't seem to be a way to disable data collection or change the behavior at all, whereas the ios and android sdk's seem to have it.

There is link here to disabling firebase analytics for web but it's broken:

https://support.google.com/firebase/answer/9019185?hl=en#zippy=%2Cin-this-article

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.