Wix 模板通过 fileusr 向我的站点发送跟踪 - 导致 Google Analytics 将流量视为引荐
Wix template sending tracking via fileusr to my site - causing Google Analytics to view traffic as referral
我的网站托管在 wix.com 上。 Wix 不允许您直接在网站页面中插入 HTML 代码。当我输入 HTML 代码时,Wix 会插入一个由不同域 (filesusr.com) 托管的 iframe。此 iframe 不使用 Google 分析跟踪,因此当浏览器加载此 iframe 时,GA 认为我的客户已经 "left" 我的网站并去了其他地方。当iframe加载时,流量的原始来源丢失了。
根据我所做的研究,此 Wix 功能似乎不适用于 GA 流量跟踪,因此除了使用不同的托管平台外没有其他解决方案。
不过,我敢肯定你们这些聪明的人是知道的!...
是的,Wix 以 "widget" 为基础的平台而臭名昭著,它不能很好地处理自定义代码。然而,整个 GA different-origin 是一个很常见的请求,如果你将你的 GA ID 插入你的网站设置,他们会直接自己实现跟踪器。你有什么理由不使用这个? - https://support.wix.com/en/article/adding-your-google-analytics-tracking-id-to-your-wix-site. They also claim to support other custom tracking snippets - make sure you are pasting it into the "Tracking & Analytics" section 而不是自定义 HTML 小部件。
如果由于某种原因您不能或不想使用上述方法,那曾经是您运气不好。 Wix 不像其他平台那样受到需要实施跟踪代码的数字营销人员的青睐是有原因的。但是,如果您真的下定决心,您可能可以通过名为 Corvid, which exposes internal APIs and extra coding features. How to do so is beyond the scope of this question, but the postMessage()
method is the normal way to pass messages from a parent to a child (iframe) container. Or you could use wix-fetch
, which is an internal version of the web API fetch()
的新功能实现非常自定义的 GA 跟踪器或任何自定义代码,以手动向 GA 发送 hit 请求.
我的网站托管在 wix.com 上。 Wix 不允许您直接在网站页面中插入 HTML 代码。当我输入 HTML 代码时,Wix 会插入一个由不同域 (filesusr.com) 托管的 iframe。此 iframe 不使用 Google 分析跟踪,因此当浏览器加载此 iframe 时,GA 认为我的客户已经 "left" 我的网站并去了其他地方。当iframe加载时,流量的原始来源丢失了。
根据我所做的研究,此 Wix 功能似乎不适用于 GA 流量跟踪,因此除了使用不同的托管平台外没有其他解决方案。
不过,我敢肯定你们这些聪明的人是知道的!...
是的,Wix 以 "widget" 为基础的平台而臭名昭著,它不能很好地处理自定义代码。然而,整个 GA different-origin 是一个很常见的请求,如果你将你的 GA ID 插入你的网站设置,他们会直接自己实现跟踪器。你有什么理由不使用这个? - https://support.wix.com/en/article/adding-your-google-analytics-tracking-id-to-your-wix-site. They also claim to support other custom tracking snippets - make sure you are pasting it into the "Tracking & Analytics" section 而不是自定义 HTML 小部件。
如果由于某种原因您不能或不想使用上述方法,那曾经是您运气不好。 Wix 不像其他平台那样受到需要实施跟踪代码的数字营销人员的青睐是有原因的。但是,如果您真的下定决心,您可能可以通过名为 Corvid, which exposes internal APIs and extra coding features. How to do so is beyond the scope of this question, but the postMessage()
method is the normal way to pass messages from a parent to a child (iframe) container. Or you could use wix-fetch
, which is an internal version of the web API fetch()
的新功能实现非常自定义的 GA 跟踪器或任何自定义代码,以手动向 GA 发送 hit 请求.