我在热点后面的html页面上使用analytics.js。因此,互联网连接仅限于某些URLS。
我需要打开围墙花园所有的网址由analytics.js使用,使工作正确的谷歌分析。
我加了一句:
ssl.google-analytics.com
*google-analytics*
*doubleclick*但是仍然需要更多的URL。
我已经测试过了
www.google.es和www.google.com分析工作正常,analytics.js调用的URL上没有出现错误,但我无法打开www.google.es和www.google.com,因为其他设备不兼容,所以我需要知道URL需要打开才能有分析工作正常。
我发现在阅读analytics.js时,有以下几点:
https://ampcid.google.com
https://www.google.%/ads/ga-audiences
google.com(:\d+)?\/optimize\/opt-launch\我确实在围墙花园上添加了这个URL+文件夹,但仍然不够。
有人能帮我构建分析使用的所有URLS+Folder列表吗?
非常感谢。
添加了我可以从浏览器在网络上看到的图像:

添加2:我有这个脚本:
<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','https://www.google-
analytics.com/analytics.js','ga');
ga('create', 'UA-48205710-1', 'socialwibox.com');
//ga('send', 'pageview');
</script>当调用ga('send',‘pageview’)时有问题;没有ga('send',‘pageview’)时有问题;我没有问题。
奥斯卡。
发布于 2018-12-05 18:16:23
Google Analytics收集数据的基本端点是POST/GET Google/1.1主机: www.google-analytics.com
此外,人口统计数据可能会转到https://stats.g.doubleclick.net/r/collect
从https://www.google-analytics.com/analytics.js加载analytics.js脚本
如果使用gtag.js或谷歌标签管理器,它们将从https://www.googletagmanager.com/gtag/js?id=XXXX加载
https://stackoverflow.com/questions/53618304
复制相似问题