diff options
author | 2019-01-07 22:25:05 +0100 | |
---|---|---|
committer | 2019-01-07 22:25:05 +0100 | |
commit | 7971227445e644b536f94208f43881fcd07bcb05 (patch) | |
tree | bf6ca7b811e06f49d9fa1722c32d95e7a886f46f /src/lib/analytics.js | |
parent | Replace jshashes with node crypto module (diff) | |
download | ferdium-app-7971227445e644b536f94208f43881fcd07bcb05.tar.gz ferdium-app-7971227445e644b536f94208f43881fcd07bcb05.tar.zst ferdium-app-7971227445e644b536f94208f43881fcd07bcb05.zip |
Add analytics events for app delay
Diffstat (limited to 'src/lib/analytics.js')
-rw-r--r-- | src/lib/analytics.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/analytics.js b/src/lib/analytics.js index 8b9a44579..7044e5bb7 100644 --- a/src/lib/analytics.js +++ b/src/lib/analytics.js | |||
@@ -1,6 +1,5 @@ | |||
1 | import { remote } from 'electron'; | 1 | import { remote } from 'electron'; |
2 | import { GA_ID } from '../config'; | 2 | import { GA_ID } from '../config'; |
3 | // import { isDevMode } from '../environment'; | ||
4 | 3 | ||
5 | const debug = require('debug')('Franz:Analytics'); | 4 | const debug = require('debug')('Franz:Analytics'); |
6 | 5 | ||
@@ -36,7 +35,7 @@ export function gaPage(page) { | |||
36 | export function gaEvent(category, action, label) { | 35 | export function gaEvent(category, action, label) { |
37 | ga('send', 'event', category, action, label); | 36 | ga('send', 'event', category, action, label); |
38 | 37 | ||
39 | debug('GA track page', category, action); | 38 | debug('GA track event', category, action); |
40 | } | 39 | } |
41 | 40 | ||
42 | setTimeout(() => { | 41 | setTimeout(() => { |