我制作了一个非常简单的页面来测试和实施一个平台,该平台允许用户连接到谷歌分析并处理他们的数据。
初始测试页面是: https://googledrive.com/host/0B3AOJZL6qwZTcVpKWmYtbldXV1U/index.html
正如您所看到的,该页面托管在公共gdrive文件夹中,这是一个问题吗?或者它应该可以正常工作?
目前,实时api报告工作正常。
提前致谢
编辑:
这是我放在头上的跟踪代码:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51755420-2', 'googledrive.com');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>
这是GA Debugger的输出
Initializing Google Analytics. analytics_debug.js:9 Running command: ga(create, UA-51755420-2, googledrive.com) analytics_debug.js:9 Creating new tracker: t0 analytics_debug.js:9 Running command: ga(require, displayfeatures) analytics_debug.js:9 Set called on unknown field: "dcLoaded". analytics_debug.js:9 Plugin "displayfeatures" intialized on tracker "t0". analytics_debug.js:9 Running command: ga(send, pageview) analytics_debug.js:9 Setting throttling cookie: "_dc" analytics_debug.js:9 Sent beacon: v=1&_v=j22d&a=1817669302&t=pageview&_s=1&dl=https%3A%2F%2Fgoogledrive.com%2Fhost%2F0B3AOJZL6qwZTcVpKWmYtbldXV1U%2Findex.html&ul=es&de=ISO-8859-1&sd=24-bit&sr=1600x900&vp=1600x211&je=1&fl=13.0%20r0&_u=MCCAgAQ~&jid=1236507930&cid=1216002561.1402365868&tid=UA-51755420-2&z=2074969389 analytics_debug.js:9 _j1 (&jid) 1236507930 analytics_debug.js:9 adSenseId (&a) 1817669302 analytics_debug.js:9 apiVersion (&v) 1 analytics_debug.js:9 clientId (&cid) 1216002561.1402365868 analytics_debug.js:9 encoding (&de) ISO-8859-1 analytics_debug.js:9 flashVersion (&fl) 13.0 r0 analytics_debug.js:9 hitType (&t) pageview analytics_debug.js:9 javaEnabled (&je) 1 analytics_debug.js:9 language (&ul) es analytics_debug.js:9 location (&dl) https://googledrive.com/host/0B3AOJZL6qwZTcVpKWmYtbldXV1U/index.html analytics_debug.js:9 screenColors (&sd) 24-bit analytics_debug.js:9 screenResolution (&sr) 1600x900 analytics_debug.js:9 trackingId (&tid) UA-51755420-2 analytics_debug.js:9 viewportSize (&vp) 1600x211 analytics_debug.js:9 Sent beacon: https://stats.g.doubleclick.net/collect?t=dc&aip=1&v=1&_v=j22d&tid=UA-51755420-2&cid=1216002561.1402365868&jid=1236507930&_u=MCCAgAQ~&z=1404606034 analytics_debug.js:9 apiVersion (&v) 1 analytics_debug.js:9 trackingId (&tid) UA-51755420-2 analytics_debug.js:9 clientId (&cid) 1216002561.1402365868 analytics_debug.js:9 _j1 (&jid) 1236507930 analytics_debug.js:9