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.
feature/default_network_editable
Mark Stacey 4 years ago committed by GitHub
parent 2687163dbb
commit 31a3541105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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 recordedWeb3Usage[origin][path] = true
sendMetrics({ sendMetrics({
matomo: true,
event: `Website Used window.web3`, event: `Website Used window.web3`,
category: 'inpage_provider', category: 'inpage_provider',
properties: { action, web3Path: path }, properties: { action, web3Path: path },

Loading…
Cancel
Save