android-components icon indicating copy to clipboard operation
android-components copied to clipboard

[Feature suggestion][telemetry] Enable to know how many users who opt-out from sending usage data

Open chianger opened this issue 8 years ago • 6 comments

We're considering this user story https://github.com/mozilla-tw/Rocket/issues/2487 in Firefox Rocket. The intention is to know our users better. With this metric we would know if in some cases lots of users tend to opt-out from sending usage data.

Current limitation is that, whenever user opts out, the telemetry shuts down so that we're not able to know.

┆Issue is synchronized with this Jira Task

chianger avatar Oct 03 '18 08:10 chianger

Interesting. So you want to send a last telemetry ping when the user opts out? Is there a specific ping you would want to use for that (core ping? and event?)

pocmo avatar Oct 03 '18 08:10 pocmo

Interesting. So you want to send a last telemetry ping when the user opts out?

YES.

Is there a specific ping you would want to use for that (core ping? and event?)

@cnevinc, you might know better than me.

chianger avatar Oct 03 '18 08:10 chianger

We can use event ping for that. Thanks!

cnevinc avatar Oct 03 '18 08:10 cnevinc

Some more questions:

  • Would it be okay to upload already collected events/pings and then end with the "opt out" event?
  • Should this use our normal re-try mechanism? If we can't send the opt-out event ping immediately: Should we continue to re-try sending it?
  • Do you need to be notified via a callback that the opt-out event ping has been sent successfully?

pocmo avatar Oct 03 '18 10:10 pocmo

I've created https://github.com/mozilla-tw/Rocket/pull/2787 for this

cnevinc avatar Nov 01 '18 10:11 cnevinc

Nice! This means (as discussed in Taipei) this won't need a change in the telemetry library, right? I'm going to close this issue here.

pocmo avatar Nov 02 '18 08:11 pocmo