now sending app name

This commit is contained in:
2017-04-17 17:20:56 +02:00
parent 80f9201ff0
commit 883b0a4c28
7 changed files with 16 additions and 8 deletions

View File

@ -5,10 +5,11 @@ export let event = (trackingIdArg: string, appNameArg: string, eventCategoryArg:
`&tid=${trackingIdArg}` + // the tracking ID
'&cid=555' +
'&aip=1' + // anonymize the IP
`&an=${appNameArg}` + // appName
'&t=event' +
`&ec=${eventCategoryArg}` +
`&ea=${eventActionArg}` +
`&el=${eventLabelArg}` +
`&ec=${eventCategoryArg}` + // event category
`&ea=${eventActionArg}` + // event action
`&el=${eventLabelArg}` + // event label
'&ev=300' +
`&an=${eventLabelArg}`
send(payload)