Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Telemetry] PWA #10261

Closed
vesta0 opened this issue Apr 28, 2020 · 6 comments
Closed

[Telemetry] PWA #10261

vesta0 opened this issue Apr 28, 2020 · 6 comments

Comments

@vesta0
Copy link
Collaborator

vesta0 commented Apr 28, 2020

Description & Product Manager / Data Scientist User Story

As a product manager, I want to know how often users install and run a PWA in Fenix, so I can better understand usage frequency, and use that to prioritize PWA related bugs and polish work.

What questions will you answer with this data?

  • Do we make PWA sites easily discoverable?
  • How often users install a PWA on their phone’s homescreen?
  • How often do users run a PWA site in Fenix?

Acceptance Criteria

  • DS sign off on instrumentation methodology addressing product questions.
  • Event pings can be queried via re:dash
  • Event pings can be queried via amplitude
  • We are sending telemetry events for the actions listed in the requirements
  • We have documented the telemetry
  • We have asked a data steward to review the telemetry

Dev Proposal

What probes (suggested, if applicable)

  • An event ping when tapping PWA homescreen icons.
  • An event ping when tapping the ‘Install’ menu.
    • Distinguish between ‘Install’ PWA vs ‘Add to homescreen’ shortcut.
  • An event ping when putting a PWA to the foreground with a time interval from start to finish use.

┆Issue is synchronized with this Jira Task

@vesta0 vesta0 added Feature:Telemetry Feature:PWA Progressive Web App labels Apr 28, 2020
@vesta0 vesta0 added this to Backlog in Feature engagement Apr 28, 2020
@github-actions github-actions bot added the needs:triage Issue needs triage label Apr 28, 2020
@vesta0
Copy link
Collaborator Author

vesta0 commented Apr 28, 2020

Here is the Telemetry Proposal

Here is the JIRA request outlining the Dev proposal for DS review.

@sblatz sblatz moved this from Backlog to Waiting for DS in Feature engagement May 1, 2020
@sblatz sblatz moved this from Waiting for DS to In progress in Feature engagement May 1, 2020
@vesta0 vesta0 added this to Q2: Fenix in Fenix Product Backlog May 12, 2020
@vesta0 vesta0 removed this from Q2: Fenix in Fenix Product Backlog May 12, 2020
@jonalmeida
Copy link
Contributor

jonalmeida commented May 12, 2020

I've updated (in-line) the JIRA request and this ticket with the dev proposal.

@grigoryk grigoryk added this to Production Ready in A-C: Progressive Web Apps (PWA) May 20, 2020
@jonalmeida jonalmeida added E3 Estimation Point: average, 2 - 3 days and removed needs:triage Issue needs triage labels May 20, 2020
@vesta0 vesta0 added this to Prioritized Backlog in Fenix Sprint Kanban May 21, 2020
@Amejia481 Amejia481 added this to ⏳ Sprint Backlog in A-C: Android Components Sprint Planning May 26, 2020
@jonalmeida jonalmeida moved this from ⏳ Sprint Backlog to 🏃‍♀️ In Progress in A-C: Android Components Sprint Planning May 26, 2020
jonalmeida added a commit to jonalmeida/fenix that referenced this issue May 28, 2020
@grigoryk grigoryk self-assigned this Jun 2, 2020
jonalmeida added a commit to jonalmeida/fenix that referenced this issue Jun 2, 2020
@vesta0 vesta0 moved this from Prioritized Backlog to Bugs before Release in Fenix Sprint Kanban Jun 4, 2020
@jonalmeida jonalmeida removed their assignment Jun 5, 2020
@eliserichards eliserichards moved this from Bugs before Release to In Progress in Fenix Sprint Kanban Jun 23, 2020
@eliserichards eliserichards self-assigned this Jun 23, 2020
@grigoryk
Copy link
Contributor

Let's also make sure we're counting total number of installed PWAs to make it easier to correlate feature usage, as discussed w/ Marissa. That will be supported by mozilla-mobile/android-components#7474

@eliserichards
Copy link
Contributor

I'll pull that out into a separate issue for tracking ^

@jonalmeida jonalmeida removed this from 🏃‍♀️ In Progress in A-C: Android Components Sprint Planning Jul 6, 2020
bors bot pushed a commit to mozilla-mobile/android-components that referenced this issue Jul 8, 2020
7493: mozilla-mobile/fenix#10261: Add facts for PWAs r=NotWoods a=eliserichards

Add PWA Facts for mozilla-mobile/fenix#10261
  * An event ping when putting a PWA to the foreground with a time interval from start to finish use.
    * `ProgressiveWebAppFacts.Items.DURATION_IN_BACKGROUND`
  * An event ping when tapping PWA homescreen icons.
    * `ProgressiveWebAppFacts.Items.HOMESCREEN_ICON_TAP`


Co-authored-by: Elise Richards <erichards@mozilla.com>
bors bot pushed a commit to mozilla-mobile/android-components that referenced this issue Jul 21, 2020
7805: mozilla-mobile/fenix#10261: PWA install fact r=NotWoods a=eliserichards

Add additional PWA Fact for mozilla-mobile/fenix#10261
  * An event ping when installing a PWA shortcut.
    * `ProgressiveWebAppFacts.Items.INSTALL_SHORTCUT`


Co-authored-by: Elise Richards <erichards@mozilla.com>
bors bot pushed a commit to mozilla-mobile/android-components that referenced this issue Jul 28, 2020
7890: mozilla-mobile/fenix#10261: pwa telemetry r=NotWoods a=eliserichards



Co-authored-by: Elise Richards <erichards@mozilla.com>
eliserichards added a commit that referenced this issue Aug 3, 2020
* Add PWA events to metrics.

Track events for add to homescreen and install.

Map PWA facts to events

* Map component facts to local metrics

Add events pings to fragments

Supress long method for events

Move install event to AC and collect facts

Retrieve fg and bg events from Facts. Do not track intent fg/bg events, only views

* Allow onPause in base fragment to send telemetry for PWA in the external app fragment. Track foreground and bg locally in fenix, and route install and home screen taps from AC facts

* Rebase
@data-sync-user data-sync-user changed the title [Telemetry] PWA FNX-3395 ⁃ [Telemetry] PWA Aug 10, 2020
@data-sync-user data-sync-user changed the title FNX-3395 ⁃ [Telemetry] PWA FNX3-13772 ⁃ [Telemetry] PWA Aug 10, 2020
@data-sync-user data-sync-user changed the title FNX3-13772 ⁃ [Telemetry] PWA FNX-3395 ⁃ [Telemetry] PWA Aug 11, 2020
@vesta0 vesta0 added this to Telemetry in Fenix Product Backlog Sep 15, 2020
@vesta0
Copy link
Collaborator Author

vesta0 commented Oct 12, 2020

Is this work completed?

@stale
Copy link

stale bot commented Aug 17, 2021

See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 17, 2021
@stale stale bot closed this as completed Aug 24, 2021
A-C: Progressive Web Apps (PWA) automation moved this from Production Ready to Done Aug 24, 2021
Fenix Sprint Kanban automation moved this from In Progress to Sprint 20.11 Done Aug 24, 2021
@data-sync-user data-sync-user changed the title FNX-3395 ⁃ [Telemetry] PWA [Telemetry] PWA May 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
E3 Estimation Point: average, 2 - 3 days Feature:PWA Progressive Web App Feature:Telemetry wontfix
Projects
Fenix Sprint Kanban
  
Sprint 20.11 Done
Development

No branches or pull requests

4 participants