Skip to content
4 changes: 1 addition & 3 deletions appengine/analytics/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ function trackEvent (category, action, label, value) {
ev: value
};

return got.post('http://www.google-analytics.com/collect', {
form: data
});
return got.post('http://www.google-analytics.com/collect', data);
}

app.get('/', (req, res, next) => {
Expand Down