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

Batch google analytics requests #3537

Closed
philippotto opened this issue Dec 6, 2018 · 1 comment
Closed

Batch google analytics requests #3537

philippotto opened this issue Dec 6, 2018 · 1 comment
Assignees
Labels

Comments

@philippotto
Copy link
Member

Performance-wise the sheer amount of HTTP requests GA causes is far from ideal.

@daniel-wer
Copy link
Member

While working on this I discovered that google analytics has pretty strong rate limiting of 500 hits/session. We've been missing a lot of events in our analytics data because of that. We therefore decided to get rid of the redux actions tracking which more or less makes the need to batch requests obsolete as we won't send as many requests in the future. For reference a gist with the analytics.js code with batching support that I originally wrote for this issue: https://gist.github.com/daniel-wer/3c242c4ddc72db55989cad5653e34184

The redux actions tracking will be replaced by targeted hit tracking for specific user actions, see #3459

@daniel-wer daniel-wer mentioned this issue Jan 8, 2019
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants