What is a GTAG?
What is a Gtag? Gtag is Googles new common tag that provides the simplest way of tagging your web pages. This will replace all other Google tags on your site and serve as a single source to connect them all. “One tag to rule them all”
What is Global Site Tag (GTAG) in Google Analytics?
Recently, Google introduced a new way to setup Google Analytics, which includes a new script known as Global Site Tag(gtag). From now onwards, you will be using this tag to setup Google Analytics on new websites. Let’s find out what gtag is, why you need it and why you should not migrate for now if you are already using GTM or Universal Analytics.
How to add GTAG to your website?
You will have to copy this code and add it right after the opening tag on every page of your website. The purpose of gtag is to have a unique tag on your site that will work for all Google products such as GA, GTM, Adwords, Firebase..etc. If you look at the gtag script, it’s totally different from the universal analytics.
How to use GTAG instead of Universal Analytics script?
“One tag to rule them all” From now on, you will have to copy this gtag script instead of universal analytics script. You will have to copy this code and add it right after the opening tag on every page of your website.