For #9136: Send all adjust properties to glean (#9253)

fennec/beta
Sawyer Blatz 4 years ago committed by GitHub
parent 21606bf94f
commit a356b4b2c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -360,11 +360,61 @@ metrics:
- metrics
bugs:
- https://github.com/mozilla-mobile/fenix/issues/1298
- https://github.com/mozilla-mobile/fenix/issues/9136
data_reviews:
- https://github.com/mozilla-mobile/fenix/pull/5579
notification_emails:
- fenix-core@mozilla.com
expires: "2020-09-01"
adjust_ad_group:
type: string
lifetime: application
description: >
A string containing the Adjust ad group ID from which the user installed Fenix. This will not
send on the first session the user runs. If the install is organic, this will be empty.
send_in_pings:
- metrics
bugs:
- https://github.com/mozilla-mobile/fenix/issues/1298
- https://github.com/mozilla-mobile/fenix/issues/9136
data_reviews:
- https://github.com/mozilla-mobile/fenix/pull/9253
notification_emails:
- fenix-core@mozilla.com
expires: "2020-09-01"
adjust_creative:
type: string
lifetime: application
description: >
A string containing the Adjust creative ID from which the user installed Fenix. This will not
send on the first session the user runs. If the install is organic, this will be empty.
send_in_pings:
- metrics
bugs:
- https://github.com/mozilla-mobile/fenix/issues/1298
- https://github.com/mozilla-mobile/fenix/issues/9136
data_reviews:
- https://github.com/mozilla-mobile/fenix/pull/9253
notification_emails:
- fenix-core@mozilla.com
expires: "2020-09-01"
adjust_network:
type: string
lifetime: application
description: >
A string containing the Adjust network ID from which the user installed Fenix. This will not
send on the first session the user runs. If the install is organic, this will be empty.
send_in_pings:
- metrics
bugs:
- https://github.com/mozilla-mobile/fenix/issues/1298
- https://github.com/mozilla-mobile/fenix/issues/9136
data_reviews:
- https://github.com/mozilla-mobile/fenix/pull/9253
notification_emails:
- fenix-core@mozilla.com
expires: "2020-09-01"
toolbar_position:
type: string
lifetime: application

@ -22,7 +22,7 @@ activation:
installation:
description: >
This ping is intended to capture the source of the installation
include_client_id: false
include_client_id: true
bugs:
- https://github.com/mozilla-mobile/fenix/issues/7295
data_reviews:

@ -545,7 +545,12 @@ class GleanMetricsService(private val context: Context) : MetricsService {
defaultMozBrowser.set(it)
}
mozillaProducts.set(MozillaProductDetector.getInstalledMozillaProducts(context))
adjustCampaign.set(context.settings().adjustCampaignId)
adjustAdGroup.set(context.settings().adjustAdGroup)
adjustCreative.set(context.settings().adjustCreative)
adjustNetwork.set(context.settings().adjustNetwork)
toolbarPosition.set(
if (context.settings().shouldUseBottomToolbar) {
Event.ToolbarPositionChanged.Position.BOTTOM.name

@ -204,7 +204,10 @@ The following metrics are added to the ping:
| Name | Type | Description | Data reviews | Extras | Expiration |
| --- | --- | --- | --- | --- | --- |
| events.total_uri_count |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |A counter of URIs visited by the user in the current session, including page reloads. This does not include background page requests and URIs from embedded pages or private browsing. |[1](https://github.com/mozilla-mobile/fenix/pull/1785), [2](https://github.com/mozilla-mobile/fenix/pull/8314)||2020-09-01 |
| metrics.adjust_ad_group |[string](https://mozilla.github.io/glean/book/user/metrics/string.html) |A string containing the Adjust ad group ID from which the user installed Fenix. This will not send on the first session the user runs. If the install is organic, this will be empty. |[1](https://github.com/mozilla-mobile/fenix/pull/9253)||2020-09-01 |
| metrics.adjust_campaign |[string](https://mozilla.github.io/glean/book/user/metrics/string.html) |A string containing the Adjust campaign ID from which the user installed Fenix. This will not send on the first session the user runs. If the install is organic, this will be empty. |[1](https://github.com/mozilla-mobile/fenix/pull/5579)||2020-09-01 |
| metrics.adjust_creative |[string](https://mozilla.github.io/glean/book/user/metrics/string.html) |A string containing the Adjust creative ID from which the user installed Fenix. This will not send on the first session the user runs. If the install is organic, this will be empty. |[1](https://github.com/mozilla-mobile/fenix/pull/9253)||2020-09-01 |
| metrics.adjust_network |[string](https://mozilla.github.io/glean/book/user/metrics/string.html) |A string containing the Adjust network ID from which the user installed Fenix. This will not send on the first session the user runs. If the install is organic, this will be empty. |[1](https://github.com/mozilla-mobile/fenix/pull/9253)||2020-09-01 |
| metrics.default_browser |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Is Fenix the default browser? |[1](https://github.com/mozilla-mobile/fenix/pull/1067#issuecomment-474598673)||2020-09-01 |
| metrics.default_moz_browser |[string](https://mozilla.github.io/glean/book/user/metrics/string.html) |The name of the default browser on device if and only if it's a Mozilla owned product |[1](https://github.com/mozilla-mobile/fenix/pull/1953/), [2](https://github.com/mozilla-mobile/fenix/pull/5216)||2020-09-01 |
| metrics.mozilla_products |[string_list](https://mozilla.github.io/glean/book/user/metrics/string_list.html) |A list of all the Mozilla products installed on device. We currently scan for: Firefox, Firefox Beta, Firefox Aurora, Firefox Nightly, Firefox Fdroid, Firefox Lite, Reference Browser, Reference Browser Debug, Fenix, Focus, and Lockwise. |[1](https://github.com/mozilla-mobile/fenix/pull/1953/), [2](https://github.com/mozilla-mobile/fenix/pull/5216)||2020-09-01 |

Loading…
Cancel
Save