From 31a3541105da8608db86b5ab6ad2b4a5e904c7bb Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Tue, 17 Nov 2020 15:59:05 -0330 Subject: [PATCH] Remove invalid `matomo` metric event option (#9897) The `matomo` option passed to the send metrics function is invalid. The intent was to set the `matomoEvent` option, but instead of rectifying that, we've decide to keep sending this event to the production Segment project for now. The invalid option has been removed. --- app/scripts/lib/rpc-method-middleware/handlers/log-web3-usage.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/scripts/lib/rpc-method-middleware/handlers/log-web3-usage.js b/app/scripts/lib/rpc-method-middleware/handlers/log-web3-usage.js index dbff526bb..290c52b94 100644 --- a/app/scripts/lib/rpc-method-middleware/handlers/log-web3-usage.js +++ b/app/scripts/lib/rpc-method-middleware/handlers/log-web3-usage.js @@ -44,7 +44,6 @@ function logWeb3UsageHandler(req, res, _next, end, { origin, sendMetrics }) { recordedWeb3Usage[origin][path] = true sendMetrics({ - matomo: true, event: `Website Used window.web3`, category: 'inpage_provider', properties: { action, web3Path: path },