diff options
author | 2019-02-01 10:35:18 +0100 | |
---|---|---|
committer | 2019-02-01 10:35:18 +0100 | |
commit | da92cd426cbf350313945e3459f96638a79bd44e (patch) | |
tree | 931d18bbf62854366ccf7021d6206de7e0c42636 /src/lib/analytics.js | |
parent | Update stale.yml (diff) | |
parent | b23 (diff) | |
download | ferdium-app-da92cd426cbf350313945e3459f96638a79bd44e.tar.gz ferdium-app-da92cd426cbf350313945e3459f96638a79bd44e.tar.zst ferdium-app-da92cd426cbf350313945e3459f96638a79bd44e.zip |
Merge branch 'develop'v5.0.0-beta.23
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(() => { |