From cea459cd6f04981e842d15161ff4f1f2e2559a2e Mon Sep 17 00:00:00 2001 From: lianahus Date: Fri, 11 Jun 2021 10:47:32 +0200 Subject: [PATCH] tracking compiler version --- apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js b/apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js index dfb0cfc5a4..00cf79233d 100644 --- a/apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js +++ b/apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js @@ -7,6 +7,7 @@ const addTooltip = require('../../ui/tooltip') const semver = require('semver') const modalDialogCustom = require('../../ui/modal-dialog-custom') const css = require('../styles/compile-tab-styles') +const _paq = window._paq = window._paq || [] class CompilerContainer { constructor (compileTabLogic, editor, config, queryParams) { @@ -111,6 +112,7 @@ class CompilerContainer { this._view.compileIcon.setAttribute('title', 'idle') this._view.compileIcon.classList.remove(`${css.spinningIcon}`) this._view.compileIcon.classList.remove(`${css.bouncingIcon}`) + _paq.push(['trackEvent', 'compiler', `compiled_with_v_${this._retrieveVersion()}`]) }) }