From 1a19c28614d174550f97f4b13056cbe57ac04aa8 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Thu, 21 Feb 2019 11:39:05 +0100 Subject: Add pageview event --- src/features/delayApp/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/features/delayApp') 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'; import DelayAppComponent from './Component'; import { DEFAULT_FEATURES_CONFIG } from '../../config'; -import { gaEvent } from '../../lib/analytics'; +import { gaEvent, gaPage } from '../../lib/analytics'; const debug = require('debug')('Franz:feature:delayApp'); @@ -50,6 +50,7 @@ export default function init(stores) { debug(`App will be delayed for ${config.delayDuration / 1000}s`); setVisibility(true); + gaPage('/delayApp'); gaEvent('delayApp', 'show', 'Delay App Feature'); timeLastDelay = moment(); -- cgit v1.2.3-54-g00ecf