diff --git a/app/metrics.yaml b/app/metrics.yaml index 42b2412a37..7ef8f32fcf 100644 --- a/app/metrics.yaml +++ b/app/metrics.yaml @@ -2988,7 +2988,6 @@ activation: This will never be sent in a ping that also contains the client_id. send_in_pings: - activation - - client-deduplication bugs: - https://bugzilla.mozilla.org/1538011 - https://bugzilla.mozilla.org/1501822 @@ -9087,6 +9086,23 @@ client_deduplication: - android-probes@mozilla.com - fbertsch@mozilla.com expires: 122 + hashed_gaid: + type: string + lifetime: ping + description: | + A hashed and salted version of the Google Advertising ID from the device. + send_in_pings: + - client-deduplication + bugs: + - https://bugzilla.mozilla.org/show_bug.cgi?id=1817029 + data_reviews: + - https://bugzilla.mozilla.org/show_bug.cgi?id=1813195#c11 + data_sensitivity: + - interaction + notification_emails: + - android-probes@mozilla.com + - fbertsch@mozilla.com + expires: 122 private_browsing_shortcut_cfr: add_shortcut: diff --git a/app/src/main/java/org/mozilla/fenix/components/metrics/clientdeduplication/ClientDeduplicationPing.kt b/app/src/main/java/org/mozilla/fenix/components/metrics/clientdeduplication/ClientDeduplicationPing.kt index 10f2eeaf39..71a637b49b 100644 --- a/app/src/main/java/org/mozilla/fenix/components/metrics/clientdeduplication/ClientDeduplicationPing.kt +++ b/app/src/main/java/org/mozilla/fenix/components/metrics/clientdeduplication/ClientDeduplicationPing.kt @@ -8,7 +8,6 @@ import android.content.Context import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch -import org.mozilla.fenix.GleanMetrics.Activation import org.mozilla.fenix.GleanMetrics.ClientDeduplication import org.mozilla.fenix.GleanMetrics.Pings import org.mozilla.fenix.components.metrics.MetricsUtils.getHashedIdentifier @@ -29,7 +28,7 @@ class ClientDeduplicationPing(private val context: Context) { // Record the metrics. if (hashedId != null) { // We have a valid, hashed Google Advertising ID. - Activation.identifier.set(hashedId) + ClientDeduplication.hashedGaid.set(hashedId) ClientDeduplication.validAdvertisingId.set(true) } else { ClientDeduplication.validAdvertisingId.set(false)