diff options
Diffstat (limited to 'src/features/delayApp/index.js')
-rw-r--r-- | src/features/delayApp/index.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js index 5b28fb7c8..51bd887a2 100644 --- a/src/features/delayApp/index.js +++ b/src/features/delayApp/index.js | |||
@@ -3,10 +3,9 @@ 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 | import { getUserWorkspacesRequest } from '../workspaces/api'; | 6 | import { getUserWorkspacesRequest } from '../workspaces/api'; |
8 | 7 | ||
9 | const debug = require('debug')('Franz:feature:delayApp'); | 8 | const debug = require('debug')('Ferdi:feature:delayApp'); |
10 | 9 | ||
11 | export const config = { | 10 | export const config = { |
12 | delayOffset: DEFAULT_FEATURES_CONFIG.needToWaitToProceedConfig.delayOffset, | 11 | delayOffset: DEFAULT_FEATURES_CONFIG.needToWaitToProceedConfig.delayOffset, |
@@ -29,7 +28,7 @@ export default function init(stores) { | |||
29 | let shownAfterLaunch = false; | 28 | let shownAfterLaunch = false; |
30 | let timeLastDelay = moment(); | 29 | let timeLastDelay = moment(); |
31 | 30 | ||
32 | window.franz.features.delayApp = { | 31 | window.ferdi.features.delayApp = { |
33 | state, | 32 | state, |
34 | }; | 33 | }; |
35 | 34 | ||
@@ -64,8 +63,6 @@ export default function init(stores) { | |||
64 | debug(`App will be delayed for ${config.delayDuration / 1000}s`); | 63 | debug(`App will be delayed for ${config.delayDuration / 1000}s`); |
65 | 64 | ||
66 | setVisibility(true); | 65 | setVisibility(true); |
67 | gaPage('/delayApp'); | ||
68 | gaEvent('DelayApp', 'show', 'Delay App Feature'); | ||
69 | 66 | ||
70 | 67 | ||
71 | setTimeout(() => { | 68 | setTimeout(() => { |