开发者

Post Multiple Events within One HttpRequest to Google Analytics

开发者 https://www.devze.com 2023-03-19 12:55 出处:网络
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 avoi

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消