Skip to content

Commit

Permalink
Bug 1842082 - Standard home screen view count telemetry (#2914)
Browse files Browse the repository at this point in the history
(cherry picked from commit 04574fb)

Co-authored-by: Harrison Oglesby <oglesby.harrison@gmail.com>
  • Loading branch information
mergify[bot] and HarrisonOg committed Jul 20, 2023
1 parent fbb4876 commit 9651a49
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions fenix/app/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8830,6 +8830,24 @@ home_screen:
metadata:
tags:
- HomeScreen
standard_homepage_view_count:
type: counter
description: |
The number of times the standard browsing mode home screen was
displayed to the user. (for tile counts)
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1842082
data_reviews:
- https://github.com/mozilla-mobile/firefox-android/pull/2841
data_sensitivity:
- interaction
notification_emails:
- android-probes@mozilla.com
- cgordon@mozilla.com
expires: never
metadata:
tags:
- HomeScreen
home_screen_view_count:
type: counter
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,9 @@ class HomeFragment : Fragment() {
super.onViewCreated(view, savedInstanceState)
HomeScreen.homeScreenDisplayed.record(NoExtras())
HomeScreen.homeScreenViewCount.add()
if (!browsingModeManager.mode.isPrivate) {
HomeScreen.standardHomepageViewCount.add()
}

observeSearchEngineNameChanges()
observeWallpaperUpdates()
Expand Down

0 comments on commit 9651a49

Please sign in to comment.