Commit 516f4cfb authored by lianahus's avatar lianahus Committed by Liana Husikyan

enable matomo for live

parent 4ed4cd72
...@@ -370,8 +370,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ...@@ -370,8 +370,8 @@ 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 // Ask to opt in to Matomo for remix, remix-alpha and remix-beta
const matomoDomains = { const matomoDomains = {
'remix-alpha.ethereum.org': 27, 'remix-alpha.ethereum.org': 27,
'remix-beta.ethereum.org': 25 'remix-beta.ethereum.org': 25,
// 'remix.ethereum.org': 23 'remix.ethereum.org': 23
} }
if (matomoDomains[window.location.hostname] && !registry.get('config').api.exists('settings/matomo-analytics')) { if (matomoDomains[window.location.hostname] && !registry.get('config').api.exists('settings/matomo-analytics')) {
modalDialog( modalDialog(
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
<script type="text/javascript"> <script type="text/javascript">
const domains = { const domains = {
'remix-alpha.ethereum.org': 27, 'remix-alpha.ethereum.org': 27,
'remix-beta.ethereum.org': 25 'remix-beta.ethereum.org': 25,
// 'remix.ethereum.org': 23 'remix.ethereum.org': 23
} }
if (domains[window.location.hostname]) { if (domains[window.location.hostname]) {
var _paq = window._paq = window._paq || [] var _paq = window._paq = window._paq || []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment