Is it OK (in google analytics) o have some pages w

2019-08-31 16:59发布

问题:

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.

回答1:

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.