内的一个Htt的prequest发布多个事件到谷歌分析 [英] Post Multiple Events within One HttpRequest to Google Analytics

查看:171
本文介绍了内的一个Htt的prequest发布多个事件到谷歌分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有使用.NET,发送多个自定义事件谷歌分析一个HTTP请求的方式,服务器端?我们可能需要一个控制器动作内发送多个请求,但我们希望避免的HTTP请求的开销。

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.

推荐答案

没有,那是不可能的。谷歌Analytics(分析) google-analytics.com / __ utm.gif 通过发送GET或POST请求的数据;每个请求被视为一击,并且没有办法多个数据点组合到单个请求

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.

这篇关于内的一个Htt的prequest发布多个事件到谷歌分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆