WP Manifestindependent plugin directory
manifest / analytics / hm-gtm

Google Tag Manager tools #2 in Analytics & Tracking

Google Tag Manager template tags and settings tool

by Human Made Limited · github.com/humanmade/hm-gtm

35stars
186kcomposer installs
3forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/humanmade/hm-gtm/archive/refs/heads/master.zip

Also on Packagist as humanmade/hm-gtm:

composer require humanmade/hm-gtm

From the readme

Google Tag Manager Tools Google Tag Manager template tags and settings tool. Now supports Server Side GTM. v3 Breaking Changes There are some breaking changes in v3.0.0: data layer no longer passes post.authorid by default data layer post.ID renamed to post.id data layer term.ID renamed to term.id data layer author.ID renamed to author.id data layer user.role is no longer an array but a comma separated list of roles data layer post. is no longer an array but a comma separated list of term names data layer post.authorslug is no longer available by default, use post.authorname instead Usage Once the plugin is installed and activated there are 2 places you can configure: 1. On the general settings page in admin add your container ID eg. GTM-123ABC 2. For a multisite install you can set a network wide container ID on the network settings screen Server Side GTM You can optionally specify the following: 1. Server container URL - this should the absolute path to the server container, even if you are using a reverse proxy. 2. Custom code snippet - this is a block of code that will be added to the of the page. Some server side container providers have subtle or extensive c

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
3.1.4Oct 27, 2025
3.1.3Feb 12, 2025
3.1.2Sep 11, 2024
3.1.1Aug 28, 2024
3.1.0Aug 28, 2024
3.0.0Jul 15, 2024
2.1.2Jul 13, 2024
2.1.1Jul 18, 2022
2.1.0Jun 21, 2022
2.0.8May 30, 2022
2.0.7Feb 3, 2021
2.0.6May 21, 2020
2.0.5Apr 13, 2020
2.0.4Apr 13, 2020
2.0.3Mar 5, 2020
2.0.2Dec 11, 2019
2.0.1Sep 13, 2019
2.0.0Apr 15, 2019
1.1.0Sep 21, 2018