blurts-server/docs/analytics.md

4.5 KiB

Last updated: Nov 19, 2019

Firefox Monitor Analytics Plan

This is the Analytics plan for Firefox Monitor. It documents our use of Google Analytics and what we do with the information we collect.

Analysis

Firefox Monitor uses Google Analytics to collect and organize data. We do this to get a better understanding of what is working, and where we still have work to do.

Captured data also helps provide answers to the following questions:

Demographic:

From which country does the majority of our traffic originate?

In which language does the majority of our traffic view the site?

Which browsers are most commonly used to access Firefox Monitor?

Which devices are most commonly used to access Firefox Monitor?

User Behavior:

Do users scan their email?

Do users scan multiple email addresses?

What percentage of users sign up receive alerts from Firefox Monitor?

Are users more likely to sign up for alerts before or after scanning their email?

Collection

Events are reported using the Google Analytics Measurement Protocol.

We collect data for the following events:

  • When the page loads (or reloads).
    • hitType : pageView
    • page : location.pathName

Scan and Add Email Forms

Email Scan Form   Scan Another Email Form   Add Another Email Form

  • When a form appears on the page.

    • hitType : event
    • eventCategory : Form ID
    • eventAction : View
    • eventLabel : Page location ID.
  • When a user focuses inside a form input.

    • hitType : event
    • eventCategory : Form ID
    • eventAction : Engage
    • eventLabel : Page location ID.
  • When a user submits a form.

    • hitType : event
    • eventCategory : Form ID
    • eventAction : Submit
    • eventLabel : Page location ID.
  • When a user submits an invalid email.

    • hitType : event
    • eventCategory : Form ID
    • eventAction : Failure
    • eventLabel : Page location ID.
  • When a user submits a valid email.

    • hitType : event
    • eventCategory : Form ID
    • eventAction : Success
    • eventLabel : Page location ID.

Sign In ButtonSign Up Button   Sign In Link  About page SignUp Button   Alert Me About New Breaches   Alert Me About New Breaches - Banner  

  • When a button appears on the page

    • hitType : event
    • eventCategory : Button ID
    • eventAction : View
    • eventLabel : Page location ID.
  • When a user clicks a link or button.

    • hitType : event
    • eventCategory : Button or Link ID
    • eventAction : Engage
    • eventLabel : Page location ID.

Miscellaneous

All Breaches: Fuzzy Finder   All Breaches: Show All Button   About Page: Download Firefox   About Page: Search Your Email   Breach Detail: Change Password Button   Breach Detail: Website URL Link   Remove Email Form   Show All Breaches Button

  • When a user clicks a triggering element
    • hitType : event
    • eventCategory : Type of Link (Outbound or Internal)
    • eventAction : Click / Engage
    • eventLabel : Link ID

Outbound & Utility Links   Internal Links   Security Tips Links

  • When a user clicks a link.
    • hitType : event
    • eventCategory :Button or Link ID
    • eventAction : Click
    • eventLabel : Page location ID.

Bento

  • When a user opens the Bento menu

    • hitType : event
    • eventCategory : bento
    • eventAction : bento-opened
    • eventLabel : fx-monitor
  • When a user closes the Bento menu

    • hitType : event
    • eventCategory : bento
    • eventAction : bento-closed
    • eventLabel : fx-monitor
  • When a user clicks on one of the Bento menu links

    • hitType : event
    • eventCategory : bento
    • eventAction : bento-app-link-click
    • eventLabel : link identifier

Opt Out of Google Analytics Tracking

Firefox Monitor respects user privacy and honors DNT headers.

Before initializing Google Analytics, we check the user's browser settings for a DNT signal. If the DNT header is enabled, Analytics is never initialized and is not used to collect data for that session.

How Firefox Monitor detects DNT.

How do I turn on the Do Not Track feature?