diff --git a/appengine/analytics/app.js b/appengine/analytics/app.js index 3ad08f9b9f..ecf879fab8 100644 --- a/appengine/analytics/app.js +++ b/appengine/analytics/app.js @@ -47,9 +47,7 @@ function trackEvent (category, action, label, value, cb) { ev: value }; - return got.post('http://www.google-analytics.com/collect', { - form: data - }); + return got.post('http://www.google-analytics.com/collect', Object.assign({}, data)); } app.get('/', (req, res, next) => {