Post Multiple Events within One HttpRequest to Google Analytics

偶尔善良 提交于 2019-12-12 01:36: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 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.



来源:https://stackoverflow.com/questions/6667209/post-multiple-events-within-one-httprequest-to-google-analytics

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!