Merge pull request #1439 from balena-io/roman/mixpanel-token

Use balena analytics project name
This commit is contained in:
Roman Mazur 2019-09-19 13:22:12 +03:00 committed by GitHub
commit aa670ad6f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ import packageJSON = require('../package.json');
const getBalenaSdk = _.once(() => BalenaSdk.fromSharedOptions());
const getMixpanel = _.once<any>(() => {
const settings = require('balena-settings-client');
return Mixpanel.init('00000000000000000000000000000000', {
return Mixpanel.init('balena-main', {
host: `api.${settings.get('balenaUrl')}`,
path: '/mixpanel',
protocol: 'https',