WP Global Site Tag source code

By digitalapps, on WordPress.org since 2017. 7,000+ active installs.

Browse code Download zip

WP Global Site Tag provides two related tools without mixing their state: Tracking installs a Google tag or Google Tag Manager container on the public site. Below is its source code for every one of its 7 releases, what changed in the latest one, and how often it ships.

What changed in 2.0.3

Released Sep 5, 2026, 1 week after 2.0.2
  • Preserved JavaScript string and regular-expression escapes when saving tracking settings.
  • Moved extended date-range controls and comparison calculations into the separately distributed Pro add-on.
  • Preserved case-sensitive Analytics metric names and rejected unsupported metric selections before caching or requesting reports.

9 files changed since 2.0.2: 9 modified, 0 added, 0 removed.

Compare 2.0.2 with 2.0.3

Release history

7 releases since March 2018
  1. 2.0.3 Sep 5, 2026 Preserved JavaScript string and regular-expression escapes when saving tracking settings.
  2. 2.0.2 Aug 27, 2026 Fixed property search so nonmatching Analytics properties are hidden as the administrator types.
  3. 2.0.1 Aug 21, 2026 Redesigned the Free Analytics dashboard for faster traffic, content, and engagement scanning.
  4. 2.0.0 Jul 28, 2026 Added a persistent Connect with Google flow, advanced self-managed OAuth, property selection, and website data-stream setup.
  5. 1.1.1 Jul 17, 2026
Full WP Global Site Tag changelog with diffs

Source of 2.0.3

37 files
Browse all WP Global Site Tag 2.0.3 files Browse trunk