Collect metrics on Fennec download dialog

NEW
Unassigned

Status

()

Firefox for Android
Metrics
P2
normal
10 months ago
8 months ago

People

(Reporter: jcheng, Unassigned)

Tracking

(Blocks: 2 bugs)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 months ago
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.
(Reporter)

Updated

10 months ago
Blocks: 1303929
(Reporter)

Comment 1

10 months ago
Sebastian?
tracking-fennec: --- → ?
Flags: needinfo?(s.kaspari)

Comment 2

10 months ago
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.
See Also: → bug 1303929
(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
You need to log in before you can comment on or make changes to this bug.