本文介绍了是否可以(在谷歌分析)?有一些网页与GTM和其他与analytics.js?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据我的我有一些使用Google跟踪代码管理器报告Google Analytics的网页以及一些直接使用报告Analytics.js。



这似乎工作正常,但我想看看是否有任何问题我应该知道。

解决方案

您需要确保无论通过GTM追踪那些没有GTM的页面上的页面代码是否已经被跟踪。 / p>

一般而言,在同一站点上混合使用GA和GTM是不可取的(除非您正在将一个站点迁移到另一个站点)。因此,无论是全部GA还是全部GTM(我通常总是推荐使用GTM)。否则可能会有冲突。不用说,你也应该总是测试一切。


Per my answer here I have some pages using Google Tag Manager to report Google Analytics and some that report them directly using Analytics.js.

It seems to be working OK but I wanted to see if there were any issues I should be aware of.

解决方案

You would need to make sure that whatever you are tracking with on-page code on those pages that don't have GTM are not already being tracked through GTM.

Generally speaking, it's not advisable to mix both GA and GTM on the same site (unless you are in the middle of migrating one to the other). So either go all GA, or all GTM (I usually always recommend going GTM). Otherwise there could be conflicts. It goes without saying that you should always test everything, too.

这篇关于是否可以(在谷歌分析)?有一些网页与GTM和其他与analytics.js?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 01:10