This commit is contained in:
lesley 2019-11-19 14:45:20 -06:00
Родитель 3d26a03a20
Коммит ab097835c7
1 изменённых файлов: 43 добавлений и 30 удалений

Просмотреть файл

@ -1,20 +1,15 @@
_Last updated: Feb 25, 2019_
_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?
@ -25,7 +20,6 @@ This is the Analytics plan for Firefox Monitor. It documents our use of Google A
>Which devices are most commonly used to access Firefox Monitor?
**User Behavior:**
>Do users scan their email?
@ -37,8 +31,6 @@ This is the Analytics plan for Firefox Monitor. It documents our use of Google A
>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](https://developers.google.com/analytics/devguides/collection/protocol/v1/).
@ -49,10 +41,9 @@ We collect data for the following events:
* `hitType` : pageView
* `page` : location.pathName
### Scan and Add Email Forms
### Forms:
**`Email Scan Form`**   **`Scan Another Email Form`**   **`Sign Up Form`**
**`Email Scan Form`**   **`Scan Another Email Form`**   **`Add Another Email Form`**
- When a form appears on the page.
* `hitType` : event
@ -74,26 +65,22 @@ We collect data for the following events:
* `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 Up Buttons & Links (FxA Entrypoints)
### Buttons:
**`Download Firefox Button`**   **`Sign Up Button`**   **`See Full Report Button`**  
**`Sign up to Check Button`**   **`Show All Breaches Button`**
**`Sign In Button`** -  **`Sign 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
@ -101,25 +88,54 @@ We collect data for the following events:
* `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`**
### Links:
**`Outbound & Utility Links`**   **`Internal Links`**
- When a user clicks a link
- When a user clicks a triggering element
* `hitType` : event
* `eventCategory` : Type of Link (Outbound or Internal)
* `eventAction` : Click / Engage
* `eventLabel` : Link ID
### Links
**`Outbound & Utility Links`**   **`Internal Links`**   **`Security Tips Links`**
- When a user clicks a link.
* `hitType` : event
* `eventCategory` :Button or Link ID
* `eventAction` : Click
* `eventLabel` : Link ID // Page location ID.
* `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
@ -128,9 +144,6 @@ We collect data for the following events:
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.](https://github.com/schalkneethling/dnt-helper)
>[How do I turn on the Do Not Track feature?](https://support.mozilla.org/en-US/kb/how-do-i-turn-do-not-track-feature)