diff --git a/app/scripts/controllers/metametrics.js b/app/scripts/controllers/metametrics.js index 64a3f927a1ff..1fc0255cd8a7 100644 --- a/app/scripts/controllers/metametrics.js +++ b/app/scripts/controllers/metametrics.js @@ -144,6 +144,10 @@ export default class MetaMetricsController { this.extension = extension; this.environment = environment; + ///: BEGIN:ONLY_INCLUDE_IN(build-mmi) + this.selectedAddress = prefState.selectedAddress; + ///: END:ONLY_INCLUDE_IN + const abandonedFragments = omitBy(initState?.fragments, 'persist'); const segmentApiCalls = initState?.segmentApiCalls || {}; @@ -712,6 +716,10 @@ export default class MetaMetricsController { if (this.extension?.runtime?.id) { mmiProps.extensionId = this.extension.runtime.id; } + + if (this.selectedAddres) { + mmiProps.accountAddress = this.selectedAddres; + } ///: END:ONLY_INCLUDE_IN return {