diff --git a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modals/PreferencesModal/InfoTab.js index 8e1ef357..e92e77a7 100644 --- a/browser/main/modals/PreferencesModal/InfoTab.js +++ b/browser/main/modals/PreferencesModal/InfoTab.js @@ -3,6 +3,7 @@ import CSSModules from 'browser/lib/CSSModules' import styles from './InfoTab.styl' import ConfigManager from 'browser/main/lib/ConfigManager' import store from 'browser/main/store' +import AwsMobileAnalyticsConfig from 'browser/main/lib/AwsMobileAnalyticsConfig' const electron = require('electron') const { shell, remote } = electron @@ -39,6 +40,9 @@ class InfoTab extends React.Component { type: 'SET_CONFIG', config: newConfig }) + if (newConfig.amaEnabled) { + AwsMobileAnalyticsConfig.recordDynamitCustomEvent('DISABLE_AMA') + } } render () { @@ -90,12 +94,17 @@ class InfoTab extends React.Component { License: GPL v3 +
We collect only the amount of users on Boostnote for DAU and any detail information +
such as a note's content or title is not collected.
+You can see how it works on GitHub
this.handleConfigChange(e)} checked={this.state.config.amaEnabled} ref='amaEnabled' type='checkbox' /> - Enable to send analytics to our servers + Enable to send analytics to our servers