diff options
author | vantezzen <properly@protonmail.com> | 2019-08-21 09:39:39 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-08-21 09:39:39 +0200 |
commit | c4768a221f93d534f4d0454414cdf073af8a2356 (patch) | |
tree | 77fdf9eb3cbfa72c8fe40e45c88af61299004609 /src/features/delayApp | |
parent | Update dev-app-update.yml (diff) | |
download | ferdium-app-c4768a221f93d534f4d0454414cdf073af8a2356.tar.gz ferdium-app-c4768a221f93d534f4d0454414cdf073af8a2356.tar.zst ferdium-app-c4768a221f93d534f4d0454414cdf073af8a2356.zip |
Remove analytics
Diffstat (limited to 'src/features/delayApp')
-rw-r--r-- | src/features/delayApp/Component.js | 4 | ||||
-rw-r--r-- | src/features/delayApp/index.js | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/features/delayApp/Component.js b/src/features/delayApp/Component.js index ff0f1f2f8..7e09c2ea5 100644 --- a/src/features/delayApp/Component.js +++ b/src/features/delayApp/Component.js | |||
@@ -4,8 +4,6 @@ import { inject, observer } from 'mobx-react'; | |||
4 | import { defineMessages, intlShape } from 'react-intl'; | 4 | import { defineMessages, intlShape } from 'react-intl'; |
5 | import injectSheet from 'react-jss'; | 5 | import injectSheet from 'react-jss'; |
6 | 6 | ||
7 | import { gaEvent } from '../../lib/analytics'; | ||
8 | |||
9 | import Button from '../../components/ui/Button'; | 7 | import Button from '../../components/ui/Button'; |
10 | 8 | ||
11 | import { config } from '.'; | 9 | import { config } from '.'; |
@@ -65,8 +63,6 @@ export default @inject('actions') @injectSheet(styles) @observer class DelayApp | |||
65 | const { actions } = this.props; | 63 | const { actions } = this.props; |
66 | 64 | ||
67 | actions.ui.openSettings({ path: 'user' }); | 65 | actions.ui.openSettings({ path: 'user' }); |
68 | |||
69 | gaEvent('DelayApp', 'subscribe_click', 'Delay App Feature'); | ||
70 | } | 66 | } |
71 | 67 | ||
72 | render() { | 68 | render() { |
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js index 39fae3b20..5fc553684 100644 --- a/src/features/delayApp/index.js +++ b/src/features/delayApp/index.js | |||
@@ -3,7 +3,6 @@ import moment from 'moment'; | |||
3 | import DelayAppComponent from './Component'; | 3 | import DelayAppComponent from './Component'; |
4 | 4 | ||
5 | import { DEFAULT_FEATURES_CONFIG } from '../../config'; | 5 | import { DEFAULT_FEATURES_CONFIG } from '../../config'; |
6 | import { gaEvent, gaPage } from '../../lib/analytics'; | ||
7 | 6 | ||
8 | const debug = require('debug')('Franz:feature:delayApp'); | 7 | const debug = require('debug')('Franz:feature:delayApp'); |
9 | 8 | ||
@@ -55,8 +54,6 @@ export default function init(stores) { | |||
55 | debug(`App will be delayed for ${config.delayDuration / 1000}s`); | 54 | debug(`App will be delayed for ${config.delayDuration / 1000}s`); |
56 | 55 | ||
57 | setVisibility(true); | 56 | setVisibility(true); |
58 | gaPage('/delayApp'); | ||
59 | gaEvent('DelayApp', 'show', 'Delay App Feature'); | ||
60 | 57 | ||
61 | timeLastDelay = moment(); | 58 | timeLastDelay = moment(); |
62 | shownAfterLaunch = true; | 59 | shownAfterLaunch = true; |