mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix Matomo dimension IDs (#8579)
The IDs for the `numberOfTokens` and `numberOfAccounts` Action Dimensions were swapped. These are the correct IDs. We'll have to consider that these are swapped when viewing any pre-v8.0.0 metrics.
This commit is contained in:
parent
797ee2f4de
commit
7a4eece92d
@ -53,8 +53,8 @@ const METAMETRICS_CUSTOM_NETWORK = 'network'
|
||||
const METAMETRICS_CUSTOM_ENVIRONMENT_TYPE = 'environmentType'
|
||||
const METAMETRICS_CUSTOM_ACTIVE_CURRENCY = 'activeCurrency'
|
||||
const METAMETRICS_CUSTOM_ACCOUNT_TYPE = 'accountType'
|
||||
const METAMETRICS_CUSTOM_NUMBER_OF_TOKENS = 'numberOfTokens'
|
||||
const METAMETRICS_CUSTOM_NUMBER_OF_ACCOUNTS = 'numberOfAccounts'
|
||||
const METAMETRICS_CUSTOM_NUMBER_OF_TOKENS = 'numberOfTokens'
|
||||
const METAMETRICS_CUSTOM_VERSION = 'version'
|
||||
|
||||
const customDimensionsNameIdMap = {
|
||||
@ -62,8 +62,8 @@ const customDimensionsNameIdMap = {
|
||||
[METAMETRICS_CUSTOM_ENVIRONMENT_TYPE]: 6,
|
||||
[METAMETRICS_CUSTOM_ACTIVE_CURRENCY]: 7,
|
||||
[METAMETRICS_CUSTOM_ACCOUNT_TYPE]: 8,
|
||||
[METAMETRICS_CUSTOM_NUMBER_OF_TOKENS]: 9,
|
||||
[METAMETRICS_CUSTOM_NUMBER_OF_ACCOUNTS]: 10,
|
||||
[METAMETRICS_CUSTOM_NUMBER_OF_ACCOUNTS]: 9,
|
||||
[METAMETRICS_CUSTOM_NUMBER_OF_TOKENS]: 10,
|
||||
[METAMETRICS_CUSTOM_VERSION]: 11,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user