Spectator: Difference between revisions

(New page: = Problem Statement = The Firefox team needs more data about how users actually use Firefox in the field. = Proposal = Although, we can obtain this data through detailed user studies. A ...)
 
(→‎Can I disable collection?: they are alternatives rather than succesive steps)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Problem Statement =
= About Spectator =
The Firefox team needs more data about how users actually use Firefox in the field.
Spectator is a Firefox extension that collects data about how Firefox is used. This information is used to better understand what people value in the browser. The extension is now available from [https://addons.mozilla.org/en-US/firefox/addon/6326 AMO].


= Proposal =  
= FAQ =
Although, we can obtain this data through detailed user studies. A more scalable solution is to technically instrument the browser to collect anonymous usability information and submit to a central site. A web application would aggregate this information into actionable summaries.
The Spectator extension collects usage information about the browser.


=== What can Spectator collect? ===
Right now we are taking a snapshot of your profile (extensions installed, screen resolution, arch, installdate, etc... NOT history) every time you open the browser, logs all UI interactions, and log how/when documents are loaded (typed, link, etc). [[Browser_Metrics:Data_Collectors|See full technical details here]]. But don't be scared, keep reading....


= Details =
=== Can you see what websites I'm going to? ===
== Subject Areas ==
No. The only URIs we capture are chrome document loads. Also, any string that comes from the user (a ui event name, an extension name, etc) is one-way hashed (md5) client side. This way we can only see data we already know about.
There are numerous metrics that could be collected. For the initial build of this system, we will focus on feature use. In particular, the following questions:


=== Feature Use ===
=== If you can't read what is being sent to back, how is it helpful? ===
* How many times is the search box used?
Consider "Browser:Reload". In this case, the string "Browser:Reload" is hashed and then sent back to mozilla ( "fgKIKfJEiGq5arJfJCcOSQ==", base64). On the server side, we can hash the common stuff (like "Browser:Reload"), and connect the dots. Or consider a custom extension. If you're writing "super-secret-extension-1337", we have no idea what it is called, so we will not be able to resolve the hash. However, if you publish it on addons (or some other place we can find it), we have the extension-ID and can generate the md5.
* Which search is being used?  
 
* How many extensions do people use?
=== Can I see what you have collected? ===
* Addons v. other extension distributors
Yes. You can see what has been collected since the last upload interval. To do this, hit: about:metrics, you will see the XML file we have collected since you last uploaded the data to mozilla. If you're very clever, you can make a snapshot of the data before it gets uploaded by copying it out of your profile. It is called metrics.xml.
* Number of themes, using a theme?
 
* How many bookmarks by type?
=== How do I know it is working? ===
* How many pop-ups are blocked?
Hit about:metrics and see if there is a log. If you do not see any XML kick the browser once. If it is still not working, let me know!
* How many tabs are used?
 
=== What is mozilla going to do with the data? ===
We hope to use it to make Firefox better. For the first time, we'll be able to see how the user interacts with the browser. We'll know how many extensions people use. We'll be able to track if that fancy new star gets any action. From the 3 users we already have, we can say that the most common UI Event sequence is "close a window then open a tab". Lets use that info to make the best "close a window and open a tab" experience in the world!
 
=== Can I disable collection? ===
Yes. You have three options:
 
* Un-install or
* Disable or
* Toggle the add-on pref
 
However, the easiest way is to not install the extension in the first place!
 
=== Where can I file bugs? ===
Toolkit, Data collection/metrics
 
= Technical Implementation =
 
Please see [[Browser Metrics]] for details regarding the technical implementation.

Latest revision as of 22:09, 18 March 2008

About Spectator

Spectator is a Firefox extension that collects data about how Firefox is used. This information is used to better understand what people value in the browser. The extension is now available from AMO.

FAQ

The Spectator extension collects usage information about the browser.

What can Spectator collect?

Right now we are taking a snapshot of your profile (extensions installed, screen resolution, arch, installdate, etc... NOT history) every time you open the browser, logs all UI interactions, and log how/when documents are loaded (typed, link, etc). See full technical details here. But don't be scared, keep reading....

Can you see what websites I'm going to?

No. The only URIs we capture are chrome document loads. Also, any string that comes from the user (a ui event name, an extension name, etc) is one-way hashed (md5) client side. This way we can only see data we already know about.

If you can't read what is being sent to back, how is it helpful?

Consider "Browser:Reload". In this case, the string "Browser:Reload" is hashed and then sent back to mozilla ( "fgKIKfJEiGq5arJfJCcOSQ==", base64). On the server side, we can hash the common stuff (like "Browser:Reload"), and connect the dots. Or consider a custom extension. If you're writing "super-secret-extension-1337", we have no idea what it is called, so we will not be able to resolve the hash. However, if you publish it on addons (or some other place we can find it), we have the extension-ID and can generate the md5.

Can I see what you have collected?

Yes. You can see what has been collected since the last upload interval. To do this, hit: about:metrics, you will see the XML file we have collected since you last uploaded the data to mozilla. If you're very clever, you can make a snapshot of the data before it gets uploaded by copying it out of your profile. It is called metrics.xml.

How do I know it is working?

Hit about:metrics and see if there is a log. If you do not see any XML kick the browser once. If it is still not working, let me know!

What is mozilla going to do with the data?

We hope to use it to make Firefox better. For the first time, we'll be able to see how the user interacts with the browser. We'll know how many extensions people use. We'll be able to track if that fancy new star gets any action. From the 3 users we already have, we can say that the most common UI Event sequence is "close a window then open a tab". Lets use that info to make the best "close a window and open a tab" experience in the world!

Can I disable collection?

Yes. You have three options:

  • Un-install or
  • Disable or
  • Toggle the add-on pref

However, the easiest way is to not install the extension in the first place!

Where can I file bugs?

Toolkit, Data collection/metrics

Technical Implementation

Please see Browser Metrics for details regarding the technical implementation.