你需要为 GA4 使用防闪烁代码吗?

huangapple go评论56阅读模式
英文:

Do I need an anti-flicker snippet for GA4?

问题

我正在将一个网站从通用分析迁移到GA4。我继承了这个网站,而且我没有连接通用分析。
现在,网站代码包括一个防闪烁片段,这是由Google推荐的,显然有添加它的原因。
在GA4中,Google标签和事件跟踪标签都发生了变化。然而,我找不到GA4中等效的防闪烁片段。它是否需要?或者对于GA4来说不再需要了吗?

我在Google上找不到明确的信息。

英文:

I am migrating a site from universal analytic to GA4. I inherited this site, and I did not connect universal analytic.
The site code now includes an anti-flicker snippet. It is recommended by Google, and apparently there were reasons to add it.
Both Google tag and event tracking tags have changed in GA4. However, I can't find an anti-flicker snippet equivalent for GA4. Is it needed at all? Or is it no longer necessary for GA4?

I couldn't find any definitive information on google.

答案1

得分: 2

谷歌优化正在使用中。检查网站是否仍在使用。

然而,该服务将在今年九月结束。因此,迁移到另一个AB测试工具是一个更好的选择。

这些类型的“抗闪烁”代码片段在AB测试工具中很常见。因为大多数AB测试会更改DOM或内容。

这将帮助用户直接看到变化后的版本,而不是先看到原始版本再变为变体版本。

英文:

It is using by Google Optimize. Check if the website is still using it or not.

However this service will end the service in September this year. So migrate it to another AB Test tool is a better option.

These kind of Anti Flicker snippet are common to see for AB Test tool. Because most of the AB Test will change the DOM or the content.

It will help the user to see the changed version directly rather than see original version first and changed to variant version

huangapple
  • 本文由 发表于 2023年4月17日 18:15:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/76034048.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定