build(analytics): fix bug that prevented us from collecting OS info
This commit is contained in:
parent
8ab7781b2d
commit
2ecbd0eaaf
@ -36,7 +36,7 @@ if (ua) {
|
|||||||
// https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters
|
// https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters
|
||||||
let customParams = {
|
let customParams = {
|
||||||
// OS Platform (darwin, win32, linux)
|
// OS Platform (darwin, win32, linux)
|
||||||
cd1: os.platform,
|
cd1: os.platform(),
|
||||||
// Node.js Version (v4.1.2)
|
// Node.js Version (v4.1.2)
|
||||||
cd2: process.version,
|
cd2: process.version,
|
||||||
// npm Version (2.14.7)
|
// npm Version (2.14.7)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user