update Analytics

This commit is contained in:
2017-10-07 14:15:29 +02:00
parent 449512e156
commit 73b1a73719
2 changed files with 17 additions and 5 deletions

View File

@ -17,8 +17,14 @@ import * as DockerModule from './npmdocker.docker'
* It is just an https call to Google Analytics.
* Our privacy policy can be found here: https://lossless.gmbh/privacy.html
*/
let npmdockerAnalytics = new plugins.smartanalytics.AnalyticsAccount('npmdocker','UA-64087619-5')
npmdockerAnalytics.sendEvent('npm','exec','git.zone')
let npmdockerAnalytics = new plugins.smartanalytics.Analytics({
apiEndPoint: 'https://pubapi.lossless.one',
appName: 'npmdocker',
projectId: 'gitzone'
})
npmdockerAnalytics.recordEvent('npmtoolexecution', {
somedata: 'somedata'
})
let npmdockerCli = new plugins.smartcli.Smartcli()