-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17154 from mozilla/FXA-9600-9601-9602-9785
feat(glean): Connect another device glean front-end metrics
- Loading branch information
Showing
10 changed files
with
283 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
// AUTOGENERATED BY glean_parser v14.1.2. DO NOT EDIT. DO NOT COMMIT. | ||
|
||
import EventMetricType from '@mozilla/glean/private/metrics/event'; | ||
|
||
/** | ||
* User clicks "Start browsing" on "Connect another device page" | ||
* | ||
* Generated from `cad.startbrowsing_submit`. | ||
*/ | ||
export const startbrowsingSubmit = new EventMetricType( | ||
{ | ||
category: 'cad', | ||
name: 'startbrowsing_submit', | ||
sendInPings: ['events'], | ||
lifetime: 'ping', | ||
disabled: false, | ||
}, | ||
[] | ||
); | ||
|
||
/** | ||
* User clicks "connect another device" to proceed to "connect Firefox on another | ||
* device" screen with QR code | ||
* | ||
* Generated from `cad.submit`. | ||
*/ | ||
export const submit = new EventMetricType( | ||
{ | ||
category: 'cad', | ||
name: 'submit', | ||
sendInPings: ['events'], | ||
lifetime: 'ping', | ||
disabled: false, | ||
}, | ||
[] | ||
); | ||
|
||
/** | ||
* User views the Connect another device page after EITHER registering or signing | ||
* into Sync - this is only specific to the Sync flow | ||
* | ||
* Generated from `cad.view`. | ||
*/ | ||
export const view = new EventMetricType( | ||
{ | ||
category: 'cad', | ||
name: 'view', | ||
sendInPings: ['events'], | ||
lifetime: 'ping', | ||
disabled: false, | ||
}, | ||
[] | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.