WP Global Site Tag

plugin banner

The Global Site Tag (gtag.js) provides a framework for streamlined web page tagging – giving you better control while making implementation easier.

Author:Digital Apps (profile at wordpress.org)
WordPress version required:3.0.1
WordPress version tested:6.3.2
Plugin version:1.0.6
Added to WordPress repository:15-12-2017
Last updated:15-10-2023
Rating, %:100
Rated by:3
Plugin URI:https://digitalapps.com/wp-global-site-tag/
Total downloads:57 764
Active installs:10 000+
plugin download
Click to start download

Global Site Tag (gtag.js) is a new Google Analytics replacement. WP Global Site Tag provides a framework for streamlined web page tagging – giving you better control while making implementation easier. Using gtag.js lets you benefit from the latest tracking features and integrations as they become available. This is the WordPress version.

To use gtag.js to track your site, install the plugin and activate.

  • Simple to install and use even your clients can do it
  • Configure multiple Google Analytics properties
  • Minified version of the code is injected for faster loading times
  • Built using WordPress best practices and standards
  • Great for marketing agencies and individuals

How to use Global Site Tag

To use gtag.js to track your site, install the plugin. Replace GA_TRACKING_ID with the tracking ID of the Google Analytics property you want to send data to.

Why use Global Site Tag

Global Site Tag streamlines tracking across all Google products, including their measurement, conversion tracking, and remarketing products. Global Site Tag is the new replacement for old Google Analytics script.

Difference between Universal Analytics & Global Site Tag

There are few differences you need to know before thinking of migrating to Global Site Tag.

Install:
Universal Analytics(analytics.js) is only used for installing Google Analytics, and global tag can be used to install multiple tools like, GA and GTM.

Tracking:
Universal Analytics uses trackers(ga(‘create’, ‘G-XXXXX-Y’, ‘auto’);) to send pageviews to Google Analytics while gtag send pageviews to GA property identified by the GA_Tracking_ID(gtag(‘config’,’GA_Tracking_ID’)).

Use:
Global Site Tag can be used for conversion tracking and remarketing while universal analytics can’t.


Screenshots
ChangeLog