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

docs: product analytics #3635

Open
jenshor opened this issue Nov 21, 2022 · 2 comments
Open

docs: product analytics #3635

jenshor opened this issue Nov 21, 2022 · 2 comments
Assignees
Labels
documentation Documentation requested

Comments

@jenshor
Copy link

jenshor commented Nov 21, 2022

Description

I'm currently implementing product analytics using mixpanel (however, the particular analytics solution shouldn't matter too much). I already read the docs regarding BlocObserver but are there additional docs or example apps showing how to track and process events?

I'm also curious about how VGV is doing product analytics. I'd love to hear about your best practices 👍🏻

Context
The idea of using a BlocObserver to do the tracking is simple: This way we have easy access to all the emitted events and can just ingest them into our analytics solution. In addition, we do not need to clutter Bloc code with an additional AnalyticsRepository. However, depending on the event the BlocObserver approach might also track data we do not want to have in our analytics solution (e.g. password data from a PasswordChanged event). Therefore, we are looking to exclude some of the events or properties.

Since there are a few options to accomplish excluding events and/or properties I'm asking for best practices to guide our decision.

Thanks in advance

@jenshor jenshor added the documentation Documentation requested label Nov 21, 2022
@jenshor jenshor changed the title docs: docs: product analytics Nov 21, 2022
@TheGlorySaint
Copy link

That would be good to know or have explanation

@jenshor
Copy link
Author

jenshor commented Nov 30, 2022

Felix just shared this gist with me https://gist.github.com/felangel/cfd2e4195fa8afbf153f2e663e3f51bd which allows for tracking specific events as well as defining which properties are tracked.

However, there are obviously different approaches that one could go with which are to be discussed.

@felangel felangel self-assigned this Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation requested
Projects
None yet
Development

No branches or pull requests

3 participants