add matomo for the recorder

pull/5370/head
yann300 3 years ago committed by Aniket
parent c51885b7d3
commit b923647b8a
  1. 2
      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') {

Loading…
Cancel
Save