Do you want to easily install Google’s new global site tag in WordPress?
If so, you’ve reached the right place. Google upgrades its audience tracking system using the global site tag. It provides more accurate data about your visitors and lets you track each of their activities precisely.
In the future, Google will use gtag.js to add new Analytics features. So you should switch to the global site tag as early as possible.
What is gtag.js?
gtag.js is easy to manage and adds code to your website directly. After installation, you can configure it for multiple products, from the same framework.
Google Tag Manager vs gtag.js
Google Tag Manager and gtag.js are different methods to insert tags on web pages. You can use any of them to collect data and send them to various marketing products.
Tag Manager allows you to add and manage tags on your site or mobile app through a web interface. It supports both Google and third-party tags to insert them on both web and mobile apps. On the other hand, gtag.js is designed to add code to your web page directly. It captures events with the gtag() command and sends data to one or more target products.
Choose a method based on your requirements. Google Tag Manager users don’t need to insert gtag.js codes on their sites separately as Tag Manager is capable to handle those things on its own. If you are using gtag.js, you can upgrade to Tag Manager anytime.
Installing the global site tag (gtag.js) in WordPress
To install the gtag.js, you should insert this code on every page on your site. Don’t forget to replace GA_MEASUREMENT_ID with your Google Analytics property ID to connect and send data.
If you are looking for a quick solution to insert the snippet code, just install MonsterInsights. It will automatically install the global site tag on your site.
|Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page.|
What is MonsterInsights?
MonsterInsights is the #1 Google Analytics plugin for WordPress. It is easy to use and reliable. It allows you to track almost anything in WordPress such as most popular posts, digital downloads, affiliate links, and many others.
If you are serious about tracking the audience and finding new opportunities, MonsterInsights should be your first choice. It monitors your visitors and provides real-time statistics through a dashboard widget. So you don’t need to visit Google Analytics account to view insights. There is no need to insert any tracking code on your site, MonsterInsights will do it automatically immediately after activating the plugin.
MonsterInsights is a great plugin for businesses, blogs, and eCommerce shops to get a clear picture of their product sales or content traffic. Discover most selling products on your online shop or most popular authors on your multi-author blog or main referral channels that divert maximum traffic to your pages- using a single plugin. Since it automates everything, you don’t need to insert even a single piece of code in theme files.
It has premium customer support to address your queries and solve complaints if any as fast as possible. The company also offers a 14-day money-back guarantee to all customers. Read MonsterInsights Review 2021: Is It the Best Google Analytics Plugin for WordPress?.
Pricing: Starts at $199/mo
- Universal tracking
- eCommerce tracking
- External link tracking
- Affiliate link tracking
- Author tracking
- Digital download tracking
- File download tracking
- Category tracking
- SEO score tracking
- Custom event tracking
- Media tracking
- Scroll tracking
- Form conversion tracking
- Google AMP tracking
- Real-time reports
- Site speed report
- Google Search Console report
Click here to visit MonsterInsights and choose your subscription plan with up to 50% discount (14-day money-back guarantee)
MonsterInsights + gtag.js
If you are a new MonsterInsights customer, then you need not worry about gtag.js. By default, the plugin uses the global site tag to track audiences on newly connected websites. So you don’t have to insert any code specifically to upgrade the tracking system.
The existing customers will see a limited period option to upgrade to the gtag.js with a simple toggle button. Soon, MonsterInsights will make gtag.js the default tracking method and upgrade all installations to the new system.
If you are using any other plugin to track events, MonsterInsights can automatically detect and convert them to the global site tag.
Click here to visit MonsterInsights and choose your subscription plan with up to 50% discount (Limited-period offer + 14-day money-back guarantee)