update matomo modal (#941)

before merging - please follow the link to our matomo instance to make sure it is showing relevant info.  Also there is not a link to the medium article (which would be better) nor to the docs - so the info we are collecting is not specified.
pull/5370/head
Rob 4 years ago committed by GitHub
parent 100657f3fc
commit 71763c98ab
  1. 10
      apps/remix-ide/src/app.js
  2. 3
      apps/remix-ide/src/app/tabs/settings-tab.js

@ -368,12 +368,14 @@ 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
if (window.location.hostname.includes('.ethereum.org') && !registry.get('config').api.exists('settings/matomo-analytics')) { if (window.location.hostname.includes('.ethereum.org') && !registry.get('config').api.exists('settings/matomo-analytics')) {
modalDialog( modalDialog(
'Help us to improve our IDE!', 'Help us to improve our IDE',
yo` yo`
<div> <div>
<p>Remix IDE uses <a href="https://matomo.org">Matomo</a>, an open source data analytics software, to improve the use of our website.</p> <p>Remix IDE uses <a href="https://matomo.org target="_blank">Matomo</a>, an open source data analytics platform, to improve our website. Matomo on Remix is opt-in - meaning that we won't collect any information unless you agree.</p>
<p>We realize that our users have sensitive information in their code and that the privacy of our users must be protected, therefor we do not store any personally identifiable information (PII).</p> <p>We realize that our users have sensitive information in their code and that the privacy of our users must be protected.</p>
<p>All data collected through Matomo is stored at our own server - no data is given to third parties.</p> <p>All data collected through Matomo is stored on our own server - no data is ever given to third parties. Our analytics reports are public: <a href="https://matomo.ethereum.org/index.php?module=MultiSites&action=index&idSite=23&period=day&date=yesterday" target="_blank">take a look</a>.</p>
<p>We do not store any personally identifiable information (PII).</p>
<p>For more info see: <a href="https://medium.com/p/66ef69e14931/" target="_blank">Matomo Analyitcs on Remix iDE</a>.</p>
<p>You can change your choice in the Settings panel anytime.</p> <p>You can change your choice in the Settings panel anytime.</p>
<div class="d-flex justify-content-around pt-3 border-top"> <div class="d-flex justify-content-around pt-3 border-top">
<button class="btn btn-primary ${css.matomoBtn}" onclick=${() => onAcceptMatomo()}>Sure</button> <button class="btn btn-primary ${css.matomoBtn}" onclick=${() => onAcceptMatomo()}>Sure</button>

@ -125,8 +125,7 @@ module.exports = class SettingsTab extends ViewPlugin {
this._view.useMatomoAnalyticsLabel = yo` this._view.useMatomoAnalyticsLabel = yo`
<label class="form-check-label custom-control-label align-middle" for="settingsMatomoAnalytics"> <label class="form-check-label custom-control-label align-middle" for="settingsMatomoAnalytics">
<span>Enable Matomo Analytics. We do not collect personally identifiable information (PII). The info is used to improve the sites UX & UI. See more about</span> <span>Enable Matomo Analytics. We do not collect personally identifiable information (PII). The info is used to improve the sites UX & UI. See more about</span>
<a href="https://remix-ide.readthedocs.io/en/latest/FAQ.html#analytics" target="_blank">Analytics in Remix IDE</a> <span>&</span> <a target="_blank" href="https://matomo.org/free-software">Matomo</a> <a href="https://medium.com/p/66ef69e14931/" target="_blank">Analytics in Remix IDE</a> <span>&</span> <a target="_blank" href="https://matomo.org/free-software">Matomo</a>
</label> </label>
` `
if (this.config.get('settings/matomo-analytics')) { if (this.config.get('settings/matomo-analytics')) {

Loading…
Cancel
Save