WP Global Site Tag

Description

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

Supercharge Your GTM Setup with gtag

Wondering if you can make the most of gtag and set up Google Tag Manager (GTM) simultaneously? Heck yeah, you can!

Setting up GTM with gtag is a breeze. Just swap out that initial GA_TRACKING_ID with your GTM container ID, and you’re good to go. You can still keep the universal analytics tag running smoothly within GTM, all while having gtag in the mix.

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

  • Paste your Tracking ID and you are set to go
  • Advanced editor for those who need it

Installation

Follow these steps to install the plugin on your site.

  1. Upload wp-global-site-tag folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Reviews

Bélú 23, 2018
This is my first plugin review and it fully deserves the 5 stars – why? It’s extremely simple to use, not bloated, does not spy on your data and it does exactly what it promises – you just add your UA code for Google Analytics and then in advanced configuration your Global site tag, on your “Thank you” page you manually add the “Event snippet” and there your go – you’re all set! Look no further – this is the plugin for Analytics and Conversions tracking your were looking for.
Ẹrẹ́nà 2, 2018
Super easy to install and setup. A small suggestion would be to add the Settings hyperlink on the plugin in the Wordpress plugins list, rather than trying to locate the new Plugin menu on the left sidebar in Wordpress.
Read all 3 reviews

Contributors & Developers

“WP Global Site Tag” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WP Global Site Tag” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • First Release

1.0.2

  • Testing on WordPress 5.0. Version number bump.

1.0.3

  • Added settings hyperlink to the plugins page.
  • Move settings page under Settings.
  • Add update/install handlers.
  • Add new screenshot.

1.0.5

  • Updated label

1.0.6

  • Added mime type

1.0.7

  • remove warning message