Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion apps/remix-ide/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
}

// Ask to opt in to Matomo for remix, remix-alpha and remix-beta
if (window.location.hostname.includes('.ethereum.org') && !registry.get('config').api.exists('settings/matomo-analytics')) {
const matomoDomains = {
'remix-alpha.ethereum.org': 27,
'remix-beta.ethereum.org': 25
// 'remix.ethereum.org': 23
}
if (matomoDomains[window.location.hostname] && !registry.get('config').api.exists('settings/matomo-analytics')) {
modalDialog(
'Help us to improve Remix IDE',
yo`
Expand Down
4 changes: 2 additions & 2 deletions apps/remix-ide/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<script type="text/javascript">
const domains = {
'remix-alpha.ethereum.org': 27,
'remix-beta.ethereum.org': 25,
'remix.ethereum.org': 23
'remix-beta.ethereum.org': 25
// 'remix.ethereum.org': 23
}
if (domains[window.location.hostname]) {
var _paq = window._paq = window._paq || []
Expand Down