Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix params sent to ga endpoint #585

Merged
merged 11 commits into from
Nov 13, 2018
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