DEV Community

Thai Thien
Thai Thien

Posted on

Quick look at Mozilla Rally

Homepage:

https://rally.mozilla.org/

What is it ?

An Firefox extension let you to share your personal data to help Firefox conduct their research.

One of on-going research: Your Time Online and "Doomscrolling"

What data is being collect:

In short

It is already said on their study page Your Time Online and "Doomscrolling".

The data is:

  • Your answer to the survey
  • Your browsing activity

Long

I want to know actually what is being collect, the actually data.

There are two part of the data: The automate collected data, and survey data.

Auto Collect data

First, I make an issue on Github

I follow the instruction:

  • Open about:debugging#/runtime/this-firefox
  • We click the "inspect" of Mozilla Rally extension.
  • Switch to tab console.
  • Then Try to browsing some news outlet, like https://www.theguardian.com
  • Check "Console" tab for some log (check gist theguardian.jpg

There are many eventType. However, it is difficult to track all event in the console log where most of the line is error. And it spiting out fast. Here is the json contain my activity on TheGuardian page:

{
  "pageId": "49bc224e482815248b8eaa5f3b51e5b5",
  "origin": "https://www.theguardian.com",
  "referrerOrigin": "https://www.theguardian.com",
  "pageVisitStartTime": 1622132572402,
  "pageVisitStopTime": 1622132578956,
  "duration": 6434,
  "maxRelativeScrollDepth": 0.8231418571134446,
  "maxPixelScrollDepth": 4406,
  "scrollHeight": 5500,
  "eventTerminationReason": "page-visit-stop",
  "title": "Astronomers create largest map of the universe’s dark matter  | Astronomy | The Guardian",
  "ogType": "article",
  "description": "International team reveal vast cosmic voids over the Earth’s skies that could challenge Einstein",
  "eventStartTime": 1622132572522,
  "eventStopTime": 1622132578956,
  "eventType": "attention"
}
Enter fullscreen mode Exit fullscreen mode

The data record your URL, page title with description. It is very well show what you are reading. And how you interact (scrollHeight, eventStartTime, pageVisitStartTime, ...)

Survey data

You did submit the survey at the beginning of the event. Now you wonder where is it ?

It is in the "storage" tab, check "Extension Storage". See the screenshot here:
extension_storage.jpg

The key 'demographicsData' seem to be your survey result. Everything else is auto-generated.
Mine is

{
  "age": "25_34",
  "gender": "male",
  "hispanicLatinxSpanishOrigin": "other",
  "race": [
    "vietnamese"
  ],
  "school": "graduate_degree",
  "income": "25000_49999",
  "zipcode": "70000"
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)