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()}`]) }) }