Added production analytics key
This commit is contained in:
parent
183c4be58b
commit
42b45cea7d
1 changed files with 6 additions and 1 deletions
|
@ -1,8 +1,13 @@
|
||||||
// @flow
|
// @flow
|
||||||
import mixpanel from 'mixpanel-browser';
|
import mixpanel from 'mixpanel-browser';
|
||||||
import Lbryio from 'lbryio';
|
import Lbryio from 'lbryio';
|
||||||
|
import isDev from 'electron-is-dev';
|
||||||
|
|
||||||
|
if (isDev) {
|
||||||
mixpanel.init('691723e855cabb9d27a7a79002216967');
|
mixpanel.init('691723e855cabb9d27a7a79002216967');
|
||||||
|
} else {
|
||||||
|
mixpanel.init('af5c6b8110068fa4f5c4600c81f05e60');
|
||||||
|
}
|
||||||
|
|
||||||
type Analytics = {
|
type Analytics = {
|
||||||
track: (string, ?Object) => void,
|
track: (string, ?Object) => void,
|
||||||
|
|
Loading…
Reference in a new issue