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:
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.