aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/delayApp/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/delayApp/index.js')
-rw-r--r--src/features/delayApp/index.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js
index bd0395376..5cc6c9506 100644
--- a/src/features/delayApp/index.js
+++ b/src/features/delayApp/index.js
@@ -3,9 +3,8 @@ import moment from 'moment';
3import DelayAppComponent from './Component'; 3import DelayAppComponent from './Component';
4 4
5import { DEFAULT_FEATURES_CONFIG } from '../../config'; 5import { DEFAULT_FEATURES_CONFIG } from '../../config';
6import { gaEvent, gaPage } from '../../lib/analytics';
7 6
8const debug = require('debug')('Franz:feature:delayApp'); 7const debug = require('debug')('Ferdi:feature:delayApp');
9 8
10export const config = { 9export const config = {
11 delayOffset: DEFAULT_FEATURES_CONFIG.needToWaitToProceedConfig.delayOffset, 10 delayOffset: DEFAULT_FEATURES_CONFIG.needToWaitToProceedConfig.delayOffset,
@@ -28,7 +27,7 @@ export default function init(stores) {
28 let shownAfterLaunch = false; 27 let shownAfterLaunch = false;
29 let timeLastDelay = moment(); 28 let timeLastDelay = moment();
30 29
31 window.franz.features.delayApp = { 30 window.ferdi.features.delayApp = {
32 state, 31 state,
33 }; 32 };
34 33
@@ -57,8 +56,6 @@ export default function init(stores) {
57 debug(`App will be delayed for ${config.delayDuration / 1000}s`); 56 debug(`App will be delayed for ${config.delayDuration / 1000}s`);
58 57
59 setVisibility(true); 58 setVisibility(true);
60 gaPage('/delayApp');
61 gaEvent('DelayApp', 'show', 'Delay App Feature');
62 59
63 60
64 setTimeout(() => { 61 setTimeout(() => {