跟踪(外部)下载
一些外部站点(不在我们的直接控制之下)托管下载我们的二进制文件(Mac 和 PC)的直接链接。为了说明这一点,siteA放置了两个链接,例如www.mysite.com/PC.exe
和www.mysite.com/Mac.dmg
; siteB 上也是如此。
使用 Google Analytics 跟踪下载次数的最佳方法是什么?理想情况下,我希望能够深入了解每个网站的 PC 和 Mac 下载量。也就是说,类似于(从 siteA 下载 3 台 PC 和 5 Mac;从 siteB 下载 1 台 PC 和 2 Mac)。
我能想到的是创建一个外部站点指向的“插页式”页面(通过传递要下载的二进制文件的查询参数,例如 www.mysite.com/x.html?binary=PC.exe
,然后将触发事件跟踪脚本(Google Analytics)。但是,这种方法不会向我们提供有关请求来自何处的信息。
A few external sites (not under our direct control) host direct links to download our binaries (Mac and PC). To illustrate, siteA puts two links e.g. www.mysite.com/PC.exe
and www.mysite.com/Mac.dmg
; and the same on siteB.
What is the best possible way to track # of downloads using Google Analytics? Ideally, I'd like to be able to drill down # of downloads of PC and Mac for each site. That is, something like (3 PC and 5 Mac downloads from siteA; 1 PC and 2 Mac downloads from siteB).
The one I can think of is to create an "interstitial" page where the external sites point to (by passing a query parameter of which binary to download e.g. www.mysite.com/x.html?binary=PC.exe
, which will then trigger an event tracking script (Google Analytics). However, this approach will not give us the info about where the request was coming from. Maybe I am missing something here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
2 个选项,均使用 onclick :
(1) 创建虚拟网页浏览< /a>(不推荐):
(2) 使用事件跟踪(推荐):
Google Analytics 建议使用后者,但这两种方法各有利弊:
最好的方法是测试这两个选项,并在看到数据后做出决定。
2 options, both using onclick :
(1) Create a virtual Pageview (not recommended) :
(2) Use Event Tracking (recommended):
Google Analytics recommends the latter, but there are pros and cons for both methods :
Best way to go is to test both options and make up your mind after you see the data.