简体   繁体   English

Google Analytics(分析)跟踪ID会从其他域发送数据吗?

[英]Will a Google Analytics tracking id send data from a different domain?

We're using Google's Universal Analytics. 我们正在使用Google的Universal Analytics。 I've created a property with a website address of mywebsite.com and have therefore received the javascript snippet needed to embed in my page. 我创建了一个网站地址为mywebsite.com的媒体资源,因此收到了嵌入到页面中所需的javascript代码段。 From what I understand this will begin capturing data from this top level domain and subdomains for example, heynow.mywebsite.com. 据我了解,这将开始从顶级域和子域(例如,heynow.mywebsite.com)捕获数据。 However, in my case it is possible that this snippet will be served in a page that may have a completely different domain like yourwebsite.com. 但是,在我的情况下,可能会在一个网页(该网页可能具有完全不同的域)(例如yourwebsite.com)中提供该片段。 My expectation is I would not see this data in my Google Analytics views. 我的期望是我不会在Google Analytics(分析)视图中看到此数据。 Am I right? 我对吗?

Yes. 是。 Referrer spam use this technique to send you "false" events/pages/customDimensions hits to promoted their services. 引荐来源垃圾邮件使用此技术向您发送“假”事件/页面/ customDimensions匹配,以提升其服务水平。 To avoid this, make sure you : 为避免这种情况,请确保您:

  1. exclude bots traffic (a setting from the view settings.) 排除漫游器流量(视图设置中的设置)。
  2. include only traffic from your domain and sub-domain using a include filter (property level.) 使用包含过滤器(属性级别)仅包含来自您的域和子域的流量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM