Would adding Tracking codes (GTM, GA) in common.js will keep the sage site faster?

So I use Cloudflare for my website. I have been wanting to know where is the best place to add a tracking code such as Google Tag Manager or Google Analytics to keep my website running fast. Would that be on common.js finalize()? Or through my CDN (Cloudflare)? or it doesn’t really matter. I am trying to get a good score on Google Page Insights. Any Recommendations?

Install the tag manager HTML, set up GA within tag manager, and manage the rest of your analytics scripts through GTM.

Also with efficient parallel downloading via HTTP/2 the performance increase of bundling can be negligible or even become negative.

This topic was automatically closed after 42 days. New replies are no longer allowed.