Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k views
in Technique[技术] by (71.8m points)

If google tag manager is installed, the scripts of other tools are being downloaded in browser

We have implemented Google analytics, Facebook pixel and now going to including Google ads remarking script to collect browsing behavior data.

One of our concerns is: probable degradation of site speed due to inclusion of js file of each tool ( Google analytics, Facebook pixel , Google ads remarketing etc. as dependency)

Does Google Tag manager helps in that ? Is including, script of just GTM enough ?

I did run preview of GTM and saw network log of browser, it is downloading analytics.js from google and fbevents.js from facebook. That means collection and relaying of events happen at client side.

Need to confirm.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I confirm that they definitely happen on the client side. It deliver the same Javascript scripts on the page (which you can put directly on the page if you don't use Tag Manager).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...