Skip to content

Conversation

@adonesky1
Copy link
Contributor

@adonesky1 adonesky1 commented Apr 23, 2025

Description

Per this slack thread, we should exclude metametrics Id data from Dapp Viewed events

Open in GitHub Codespaces

Before

Screenshot 2025-04-23 at 4 43 56 PM

After

Screenshot 2025-04-23 at 4 26 06 PM

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/4743

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@adonesky1 adonesky1 changed the title make Dapp Viewed event exclude metametrics id data chore: Make "Dapp Viewed" event exclude metametrics id data Apr 23, 2025
@github-actions
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added team-wallet-api-platform-deprecated DEPRECATED: please use "team-wallet-integrations" instead INVALID-PR-TEMPLATE PR's body doesn't match template labels Apr 23, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [ecdd221]
UI Startup Metrics (1211 ± 65 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1211109314506512481318
load104493512225710821133
domContentLoaded103893212195610751127
domInteractive18137691629
firstPaint776133118539610671127
backgroundConnect74202714
firstReactRender20154742129
getState145111132030
initialActions001001
loadScripts80170796253835893
setupStore85213812
WebpackHomeuiStartup21311729257416522492358
load16431349216513217311816
domContentLoaded16341345197412417231805
domInteractive161157101348
firstPaint1765840868217313
backgroundConnect279247262857
firstReactRender22655369117337357
getState1244981529
initialActions318147
loadScripts16301344195012417201803
setupStore217332322334
FirefoxBrowserifyHomeuiStartup13961215168310614761591
load12421063153611213261459
domContentLoaded12421063153511213261459
domInteractive1053724835119181
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect221380112244
firstReactRender24195562534
getState84304810
initialActions001001
loadScripts12221046152111313081441
setupStore8419219610
WebpackHomeuiStartup14971335178711515671773
load12841137159110213441520
domContentLoaded12841136159010213441519
domInteractive80361512087125
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect20144652130
firstReactRender34285043645
getState84395822
initialActions002111
loadScripts12661121156010213221501
setupStore95627827
Benchmark value 1242 exceeds gate value 1239 for firefox browserify home mean domContentLoaded
Sum of mean exceeds: 3ms | Sum of p95 exceeds: 0ms
Sum of all benchmark exceeds: 3ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 78 Bytes (0%)
  • ui: 24.22 KiB (0.35%)
  • common: 0 Bytes (0%)

@metamaskbot
Copy link
Collaborator

❌ API Spec Test Failed. View the report here.

@Gudahtt Gudahtt changed the title chore: Make "Dapp Viewed" event exclude metametrics id data chore: cp-12.16.2 Make "Dapp Viewed" event exclude metametrics id data Apr 24, 2025
@adonesky1 adonesky1 enabled auto-merge April 25, 2025 15:59
@metamaskbot
Copy link
Collaborator

Builds ready [a1b4f7b]
UI Startup Metrics (1199 ± 65 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1199107914476512311329
load103692012435810671144
domContentLoaded103191612395810621139
domInteractive18136391631
firstPaint620132114641310271093
backgroundConnect6417279
firstReactRender19153032024
getState1353381929
initialActions001001
loadScripts79568498857823902
setupStore84172813
WebpackHomeuiStartup20891693249417422232333
load16071326199112416991762
domContentLoaded16011323197112316951755
domInteractive171196131350
firstPaint1817138861206319
backgroundConnect25981142659
firstReactRender19955374116313358
getState144217221332
initialActions316135
loadScripts15931321194812616911753
setupStore216288381939
FirefoxBrowserifyHomeuiStartup13411182174411013991564
load11941001159511612611418
domContentLoaded11941000159411512611418
domInteractive1074038348120227
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2112201212028
firstReactRender22193932227
getState9422822713
initialActions001001
loadScripts1175989158311412441402
setupStore6427367
WebpackHomeuiStartup14921266183911415861712
load12871091160510113601475
domContentLoaded12871091160510113591475
domInteractive83371522296134
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2114116112133
firstReactRender34294543641
getState75222811
initialActions102111
loadScripts12681075159010113401457
setupStore85648824
Benchmark value 227 exceeds gate value 195 for firefox browserify home p95 domInteractive
Sum of mean exceeds: 0ms | Sum of p95 exceeds: 32ms
Sum of all benchmark exceeds: 32ms

Bundle size diffs [🚀 Bundle size reduced!]
  • background: 3.68 KiB (0.07%)
  • ui: 13.69 KiB (0.2%)
  • common: -38.8 KiB (-0.42%)

@adonesky1 adonesky1 added this pull request to the merge queue Apr 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 25, 2025
@DDDDDanica DDDDDanica added this pull request to the merge queue Apr 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 25, 2025
@DDDDDanica DDDDDanica added this pull request to the merge queue Apr 25, 2025
Merged via the queue into main with commit 349cd2e Apr 25, 2025
169 checks passed
@DDDDDanica DDDDDanica deleted the ad/exclude-metametrics-id-from-dapp-viewed-event branch April 25, 2025 19:19
@github-actions github-actions bot locked and limited conversation to collaborators Apr 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

INVALID-PR-TEMPLATE PR's body doesn't match template release-12.16.2 team-wallet-api-platform-deprecated DEPRECATED: please use "team-wallet-integrations" instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants