我可以使用与我的网站的博客子网域相同的Google Analytics代码作为主网站吗? [英] Can I use the same Google Analytics tag for a blog subdomain of my site as the main site?

查看:105
本文介绍了我可以使用与我的网站的博客子网域相同的Google Analytics代码作为主网站吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在不同的IP地址上有我的site.com和blog.mysite.com。我可以为这两个网站使用相同的Google Analytics(分析)ID吗? Google分析是否会查看记录的访问者信息来自哪个IP地址?如果没有,那么什么阻止随机网站包含您的Google分析代码并将随机数据发送到您的帐户? 必须稍微修改脚本标记。 Google的常见问题包括:
http ://www.google.com/support/analytics/bin/answer.py?hl = zh_CN& answer = 55524


I have my site.com and blog.mysite.com on a different IP address. Can I use the same Google analytics ID for both sites? Does Google analytics look at what IP address the recorded visitor information is from? If it doesn't, what prevents random sites from including your Google analytics tag and sending random data to your account?

解决方案

You have to modify your script tag a little. Google's FAQs cover this: http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55524

这篇关于我可以使用与我的网站的博客子网域相同的Google Analytics代码作为主网站吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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