fix app name reporting
This commit is contained in:
parent
f20f05a12d
commit
83372b5cf4
5
dist/smartanalytics.send.js
vendored
5
dist/smartanalytics.send.js
vendored
@ -14,13 +14,12 @@ exports.event = (trackingIdArg, appNameArg, eventCategoryArg, eventActionArg, ev
|
|||||||
`&tid=${trackingIdArg}` +
|
`&tid=${trackingIdArg}` +
|
||||||
'&cid=555' +
|
'&cid=555' +
|
||||||
'&aip=1' +
|
'&aip=1' +
|
||||||
`&an=${appNameArg}` +
|
|
||||||
'&t=event' +
|
'&t=event' +
|
||||||
`&ec=${eventCategoryArg}` +
|
`&ec=${eventCategoryArg}` +
|
||||||
`&ea=${eventActionArg}` +
|
`&ea=${eventActionArg}` +
|
||||||
`&el=${eventLabelArg}` +
|
`&el=${eventLabelArg}` +
|
||||||
'&ev=300' +
|
'&ev=300' +
|
||||||
`&an=${eventLabelArg}`;
|
`&an=${appNameArg}`;
|
||||||
send(payload);
|
send(payload);
|
||||||
};
|
};
|
||||||
let send = (requestBodyArg) => __awaiter(this, void 0, void 0, function* () {
|
let send = (requestBodyArg) => __awaiter(this, void 0, void 0, function* () {
|
||||||
@ -28,4 +27,4 @@ let send = (requestBodyArg) => __awaiter(this, void 0, void 0, function* () {
|
|||||||
requestBody: requestBodyArg
|
requestBody: requestBodyArg
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRhbmFseXRpY3Muc2VuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3NtYXJ0YW5hbHl0aWNzLnNlbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLG9EQUFtRDtBQUV4QyxRQUFBLEtBQUssR0FBRyxDQUFDLGFBQXFCLEVBQUUsVUFBa0IsRUFBRSxnQkFBd0IsRUFBRSxjQUFjLEVBQUUsZ0JBQXdCLE1BQU07SUFDckksSUFB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UUFDVCxPQUFPLFVBQVUsRUFBRSxDQUFBO0lBQ3JCLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQTtBQUNmLENBQUMsQ0FBQTtBQUdELElBQUksSUFBSSxHQUFHLENBQU8sY0FBc0I7SUFDdEMsTUFBTSxPQUFPLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQywwQ0FBMEMsRUFBRTtRQUMxRSxXQUFXLEVBQUUsY0FBYztLQUM1QixDQUFDLENBQUE7QUFDSixDQUFDLENBQUEsQ0FBQSJ9
|
@ -5,13 +5,12 @@ export let event = (trackingIdArg: string, appNameArg: string, eventCategoryArg:
|
|||||||
`&tid=${trackingIdArg}` + // the tracking ID
|
`&tid=${trackingIdArg}` + // the tracking ID
|
||||||
'&cid=555' +
|
'&cid=555' +
|
||||||
'&aip=1' + // anonymize the IP
|
'&aip=1' + // anonymize the IP
|
||||||
`&an=${appNameArg}` + // appName
|
|
||||||
'&t=event' +
|
'&t=event' +
|
||||||
`&ec=${eventCategoryArg}` + // event category
|
`&ec=${eventCategoryArg}` + // event category
|
||||||
`&ea=${eventActionArg}` + // event action
|
`&ea=${eventActionArg}` + // event action
|
||||||
`&el=${eventLabelArg}` + // event label
|
`&el=${eventLabelArg}` + // event label
|
||||||
'&ev=300' +
|
'&ev=300' +
|
||||||
`&an=${eventLabelArg}`
|
`&an=${appNameArg}`
|
||||||
send(payload)
|
send(payload)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user