aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/analytics.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/analytics.js')
-rw-r--r--src/lib/analytics.js3
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 @@
1import { remote } from 'electron'; 1import { remote } from 'electron';
2import { GA_ID } from '../config'; 2import { GA_ID } from '../config';
3// import { isDevMode } from '../environment';
4 3
5const debug = require('debug')('Franz:Analytics'); 4const debug = require('debug')('Franz:Analytics');
6 5
@@ -36,7 +35,7 @@ export function gaPage(page) {
36export function gaEvent(category, action, label) { 35export 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
42setTimeout(() => { 41setTimeout(() => {