From b923647b8a5121b9b11eb16ee3a5b70728376bfa Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 27 Jun 2022 13:46:10 +0200 Subject: [PATCH] add matomo for the recorder --- apps/remix-ide/src/app/tabs/runTab/model/recorder.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/remix-ide/src/app/tabs/runTab/model/recorder.js b/apps/remix-ide/src/app/tabs/runTab/model/recorder.js index 6178063843..9961f1dbb6 100644 --- a/apps/remix-ide/src/app/tabs/runTab/model/recorder.js +++ b/apps/remix-ide/src/app/tabs/runTab/model/recorder.js @@ -258,7 +258,9 @@ class Recorder { } runScenario (json, continueCb, promptCb, alertCb, confirmationCb, logCallBack, cb) { + _paq.push(['trackEvent', 'run', 'recorder', 'start']) if (!json) { + _paq.push(['trackEvent', 'run', 'recorder', 'wrong-json']) return cb('a json content must be provided') } if (typeof json === 'string') {