aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-02-21 11:39:05 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-02-21 11:39:05 +0100
commit1a19c28614d174550f97f4b13056cbe57ac04aa8 (patch)
tree876bf787f3375165b0433a009fafe5f42225c4ba /src
parentMerge branch 'master' into develop (diff)
downloadferdium-app-1a19c28614d174550f97f4b13056cbe57ac04aa8.tar.gz
ferdium-app-1a19c28614d174550f97f4b13056cbe57ac04aa8.tar.zst
ferdium-app-1a19c28614d174550f97f4b13056cbe57ac04aa8.zip
Add pageview event
Diffstat (limited to 'src')
-rw-r--r--src/features/delayApp/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js
index 28aa50eb2..48aac34b6 100644
--- a/src/features/delayApp/index.js
+++ b/src/features/delayApp/index.js
@@ -3,7 +3,7 @@ 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 } from '../../lib/analytics'; 6import { gaEvent, gaPage } from '../../lib/analytics';
7 7
8const debug = require('debug')('Franz:feature:delayApp'); 8const debug = require('debug')('Franz:feature:delayApp');
9 9
@@ -50,6 +50,7 @@ export default function init(stores) {
50 debug(`App will be delayed for ${config.delayDuration / 1000}s`); 50 debug(`App will be delayed for ${config.delayDuration / 1000}s`);
51 51
52 setVisibility(true); 52 setVisibility(true);
53 gaPage('/delayApp');
53 gaEvent('delayApp', 'show', 'Delay App Feature'); 54 gaEvent('delayApp', 'show', 'Delay App Feature');
54 55
55 timeLastDelay = moment(); 56 timeLastDelay = moment();