Closed Bug 1336923 Opened 7 years ago Closed 6 years ago

Collect metrics on Fennec download dialog

Categories

(Firefox for Android Graveyard :: Metrics, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jcheng, Unassigned)

References

Details

The intent of filing this bug is to collect metrics to help us understand bug 1303929 better

- As Mozilla, we would like understand the usage of the Download dialog (the number of times the download dialog gets triggered).
- As Mozilla, we would like understand the usage of users choosing Firefox to download when prompt with the Download dialog (the number of times user click Firefox).
- As Mozilla, we would like understand the usage of users choosing other downloaders to download when prompt with the Download dialog (the number of times user click other downloaders).

With these information, we will be able to understand how often this dialog actually gets shown and how often users simply choose Firefox to download. If the dialog does not get shown a lot and when shown, users simply choose Firefox to download, I'd suggest that we stop asking users to make a choice and download files directly.
Blocks: 1303929
Sebastian?
tracking-fennec: --- → ?
Flags: needinfo?(s.kaspari)
Don't forget to also account for the cases where
- the user backs out of the dialogue without choosing anything
- the user has a default setting (either Firefox or some external app) for a particular MIME type

As for anecdotal evidence, see bug 1334728, which got filed pretty quick after we accidentally broke this feature, so it does see at least some use.
(In reply to Joe Cheng [:jcheng] (please needinfo) from comment #0)
> With these information, we will be able to understand how often this dialog
> actually gets shown and how often users simply choose Firefox to download.
> If the dialog does not get shown a lot and when shown, users simply choose
> Firefox to download, I'd suggest that we stop asking users to make a choice
> and download files directly.

Please, before even looking at numbers, ask yourself what number you consider low / a lot. Just by design I expect the number to be much lower than the "Use Firefox" number: Not always are third-party apps available (We look at the MIME type to find an app), not always is opening an app the same as "downloading". Other than that it's great to look at numbers and I totally support that. :)


(In reply to Joe Cheng [:jcheng] (please needinfo) from comment #1)
> Sebastian?

Yeah, let's do it. Maybe this is a good bug for the Taipei engineering team to start looking into our telemetry system - how to add probes and look at the data in re:dash? I can mentor and answer questions.

Code-wise this is a good starting point:
https://dxr.mozilla.org/mozilla-central/source/mobile/android/components/HelperAppDialog.js


(In reply to Jan Henning [:JanH] from comment #2)
> Don't forget to also account for the cases where
> - the user backs out of the dialogue without choosing anything
> - the user has a default setting (either Firefox or some external app) for a
> particular MIME type

Especially the MIME type is very interesting to understand why they use a third-party app: Do they want to stream a video? Is this download just a "token" to open something in a different app (e.g. a torrent file)?
Flags: needinfo?(s.kaspari)
tracking-fennec: ? → +
Priority: -- → P1
moved to be tracked under Bug 1341545
Blocks: 1341545
tracking-fennec: + → ---
Not a P1 as we recently will not work on it.
Priority: P1 → P2
We need an owner for the data analysis for telemetry bugs before we can add probes and right now we have no owners. Let's reopen this bug if someone specifically wants to analyze the data.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.