Post Multiple Events within One HttpRequest to Goo

2019-08-20 05:32发布

Is there a way, server-side using .NET, to send multiple custom events to Google Analytics with one HTTP Request? We may need to send multiple requests within one Controller action, yet we want to avoid the overhead of many HTTP requests.

1条回答
Explosion°爆炸
2楼-- · 2019-08-20 06:11

No, it is not possible. Google Analytics transmits data via GET or POST requests to google-analytics.com/__utm.gif; each request is treated as one hit, and there is no way to combine multiple data points into a single request.

查看更多
登录 后发表回答