diff options
author | 2019-04-23 22:27:07 +0200 | |
---|---|---|
committer | 2019-04-23 22:27:07 +0200 | |
commit | 68a03fc47b28ccadc30a0b6cf36b7b12d2d19847 (patch) | |
tree | ab32e7e7ea7e3784aed5c5a74de5d2ceec76774a /src/lib | |
parent | Update CHANGELOG.md (diff) | |
download | ferdium-app-68a03fc47b28ccadc30a0b6cf36b7b12d2d19847.tar.gz ferdium-app-68a03fc47b28ccadc30a0b6cf36b7b12d2d19847.tar.zst ferdium-app-68a03fc47b28ccadc30a0b6cf36b7b12d2d19847.zip |
add appstart event
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/analytics.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/analytics.js b/src/lib/analytics.js index 663aafe22..c305fdb00 100644 --- a/src/lib/analytics.js +++ b/src/lib/analytics.js | |||
@@ -42,7 +42,7 @@ export function gaEvent(category, action, label) { | |||
42 | export function statsEvent(key, value) { | 42 | export function statsEvent(key, value) { |
43 | const params = { | 43 | const params = { |
44 | key, | 44 | key, |
45 | value, | 45 | value: value || key, |
46 | platform: process.platform, | 46 | platform: process.platform, |
47 | version: remote.app.getVersion(), | 47 | version: remote.app.getVersion(), |
48 | }; | 48 | }; |