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

Firebase Screen View Tracking Issue with another-flushbar Package - /flushbarRoute Appearing in Analytics #130

Open
RahmiTufanoglu opened this issue Nov 13, 2024 · 0 comments

Comments

@RahmiTufanoglu
Copy link

Describe the bug
When using the another-flushbar package to display flushbar notifications in a Flutter application, Firebase Analytics is incorrectly tracking the route /flushbarRoute as a screen view. This behavior causes /flushbarRoute entries to appear in Firebase Analytics as screen views, leading to inaccurate analytics data and inflating screen view counts with unwanted entries.

To Reproduce

  1. Initialize Firebase Analytics in the Flutter app.
  2. Use the another-flushbar package to display a flushbar notification.
  3. Observe Firebase Analytics, where /flushbarRoute appears in the screen views list.

Expected behavior
When using the another-flushbar package, flushbars should display as overlays without triggering a new screen view event in Firebase Analytics. Specifically:

Flushbar notifications should not register as new routes or screen views in Firebase Analytics.
Firebase should only track actual user-navigated screens in screen_view events, ensuring accurate analytics data.
This will prevent /flushbarRoute or any similar unintended route from appearing in Firebase Analytics, maintaining accurate screen view counts for user navigation.

Screenshots
Screenshot 2024-11-13 at 10 07 11

Additional context
This issue impacts the accuracy of Firebase Analytics data, which is especially critical for applications that rely on precise user behavior tracking.

Would it be possible to implement a fix that either prevents /flushbarRoute from being tracked by Firebase or provides an option to disable this route tracking?

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

1 participant