WordPress maintenance or security needs? Reach out!
TLDWP

Plugin: duracelltomi-google-tag-manager (Used by 88,428 domains)

GTM4WP – A Google Tag Manager (GTM) plugin for WordPress

Google Tag Manager (GTM) is Google’s free tool for everyone to manage and deploy analytics and marketing tags as well as other code snippets
using an intuitive web UI. To learn more about this tool, visit the official website.

This plugin places the GTM container code snippets onto your WordPress website so that you do not need to add it manually.
Multiple containers are also supported!

The plugin complements your GTM setup by pushing page meta data and user information into the so called data layer.
Google’s official help pages includes more details about the data layer.

PHP 7.4 is required to use this plugin.

GTM container code placement

The original GTM container code is divided into two parts:

The first part is a javascript code snippet that is added to the section of every page of the website.
This part is critical to enable all features of GTM, and this plugin helps to place this part
correctly on your site.

The second part is an iframe snippet that acts as a failsafe/fallback should users’ JavaScript be disabled.
Google recommends – for best performance – to place this code snippet directly after the opening tag on each page.

Albeit not ideal, it will work when placed lower in the code. This plugin provides a code placement option for the second code snippet.

If your WordPress theme is compatible with the additions of WordPress 5.2 then this plugin will place this second code to the right place.
Users of the Genisis theme, GeneratePress theme, Elementor, Oxygen Builder and Beaver Builder Theme will also have this placed correctly.
To utilize this, set the compatibility mode in plugin options to off.

All other users can place this second code snippet using a custom PHP code (“Manually coded” option) or select the so called “Footer” option to
add the code lower in the code (it is not the recommended way but will work)

Basic data included

  • post/page titles
  • post/page dates
  • post/page category names
  • post/page tag names
  • post/page author ID and name
  • post/page ID
  • post types
  • post format
  • post count on the current page + in the current category/tag/taxonomy
  • custom terms associated with any post type
  • logged in status
  • logged in user role
  • logged in user ID (to track cross device behaviour in Google Analytics)
  • logged in user email address (both unhashed and SHA256 hased values to be used with tracking)
  • logger in user creation date
  • site search data
  • site name and id (for WordPress multisite instances)
  • IP address of the visitor (please use the explicit consent of the visitor to utilize this)

Browser / OS / Device data

  • browser data (name, version, engine)
  • OS data (name, version)
  • device data (type, manufacturer, model)

Data is provided using the WhichBrowser library: http://whichbrowser.net/

Weather data

(beta)

Push data about users’ current weather conditions into the dataLayer. This can be used to generate weather-related
audience/remarketing lists on ad platforms and allows for user segmentation in your web analytics solutions:

  • weather category (clouds, rain, snow, etc.)
  • weather description: more detailed data
  • temperature in Celsius or Fahrenheit
  • air pressure
  • wind speed and degrees

Weather data is queried from Open Weather Map. Depending on your websites traffic, additional fees may apply:
http://openweathermap.org/price

An (free) API key from OpenWeatherMap is required for this feature to work.

ipstack.com is used to determine the site visitor’s location. A (free) API key from IPStack.com is required for this feature to work:
https://ipstack.com/product

Media player events

(experimental)

Track users’ interaction with any embedded media:

  • YouTube
  • Vimeo
  • Soundcloud

DataLayer events can be chosen to fire upon media player load, media is being played, paused/stopped and optionally when
the user reaches 10, 20, 30, …, 90, 100% of the media duration.

Tracking is supported for embedded media using the built-in oEmbed feature of WordPress as well as most other media plugins
and copy/pasted codes. Players injected into the website after page load are not currently supported.

Scroll tracking

Fire tags based on how the visitor scrolls from the top to the bottom of a page.
An example would be to separate “readers” (who spend a specified amount of time on a page) from “scrollers”
(who only scroll through within seconds). You can use these events to fire Analytics tags and/or remarketing/conversion tags
(for micro conversions).

Scroll tracking is based on the solution originally created by

  • Nick Mihailovski
  • Thomas Baekdal
  • Avinash Kaushik
  • Joost de Valk
  • Eivind Savio
  • Justin Cutroni

Original script:
http://cutroni.com/blog/2012/02/21/advanced-content-tracking-with-google-analytics-part-1/

Blacklist & Whitelist Tag Manager tags, triggers and variables

To increase website security, you have the option to white- and blacklist tags/triggers/variables.
You can prevent specific tags from firing or the use of certain variable types regardless of your GTM setup.

If the Google account associated with your GTM account is being hacked, an attacker could easily
execute malware on your website without accessing its code on your hosting server. By blacklisting custom HTML tags
and/or custom JavaScript variables you can secure the Tag Manager container.

Integration

Google Tag Manager for WordPress integrates with several popular plugins. More integration to come!

  • Contact Form 7: fire an event when a Contact Form 7 form was submitted with any result (mail sent, mail failed, spam detected, invalid input)
  • WooCommerce:
    • Implementation of GA4 E-commerce
    • Does not support promotions since WooCommerce does not have such a feature (yet)
    • Does not support refunds
    • Compatibility with High Performance Order Storage (HPOS)
  • AMP: load your AMP container on the AMP version of your pages
  • Cookiebot: use automatic cookie blocking mode if needed
  • Google Consent Mode v2: fire the “default” command with specific consent flags to integrat with non-certified Consent Management Platforms (CMPs) and plugins.

Server side containers

If you are using a server side container
you can enter your custom domain name and custom path to load gtm.js from your there.

Exclude specific user roles from being tracked

You can set which user roles needs to be excluded from tracking when a user with that role visits the frontend. This will completely disable the container code for that user.

DomainExposuresHeadersLast Checked
z*z*e*h*o*o*y.com (WP 7.0) D Sep 1, 2026
m*f*p*a*c.hu D Sep 1, 2026
n*p*i*o*l*l*n*.hu D Sep 1, 2026
o*i*i*n*t*r*l.hu (WP 7.0.2) D Sep 1, 2026
x*-*5*b*m*g*c*c.com (WP 6.8.8) F Sep 1, 2026
x*-*5*b*i*s*6*m.com A Sep 1, 2026
z*z*t*x.com (WP 7.0.2) F Sep 1, 2026
c*o*o*e*e*a*e*t*l*a*o.com (WP 6.8.3) F Sep 1, 2026
c*o*o*f*c*n*.com D Sep 1, 2026
a*e*e*t*n*a*.com (WP 6.9.7) F Sep 1, 2026
m*r*t*a*y*a*.com F Sep 1, 2026
o*f*c*6*.com F Sep 1, 2026
h*r*e*c*n*e*.com (WP 7.1) C Sep 1, 2026
b*a*a*r*.com (WP 6.9.7) D Sep 1, 2026
s*y*t*r*.com F Sep 1, 2026
z*z*m*d*t*t*o*.com F Sep 1, 2026
a*e*i*l*t*s.com F Sep 1, 2026
a*e*i*l*t*e*.com F Sep 1, 2026
x*-*4*q*4*x*6*b*g*p*u*e*b*x.com (WP 6.1.1) F Sep 1, 2026
n*r*h*o*i*i*n*v*t*e*t*r.com F Sep 1, 2026
r*s*b*r*y*i*q.com (WP 5.9.16) F Sep 1, 2026
s*g*a*a*i*a*.c*.uk F Sep 1, 2026
m*r*l*n*e*c*l*.org D Sep 1, 2026
z*z*z*j*w*l*y.com (WP 6.2.11) F Sep 1, 2026
z*z*t*c.com (WP 6.4.10) F Sep 1, 2026
j*r*o*s*r*c*i*n*e*v*c*s.com (WP 7.0.4) F Sep 1, 2026
c*n*i*g*a*d*l*a*.com (WP 7.1) F Sep 1, 2026
h*r*e*t*l*g*n*.com (WP 7.1) F Sep 1, 2026
t*t*l*d.com (WP 7.1) F Sep 1, 2026
s*y*o*a*p*o.com (WP 7.1) F Sep 1, 2026
t*t*m*s*c.com (WP 6.9.7) C Sep 1, 2026
e*n*t*a*e.com F Sep 1, 2026
a*w*y*c*.com D Sep 1, 2026
a*w*y*f*i*h*u*s*a*l*s.com F Sep 1, 2026
a*w*y*f*i*h*u*e*u*s*r*a*c*u*.com F Sep 1, 2026
j*p*o*m.com D Sep 1, 2026
c*n*m*t.com (WP 6.7.7) F Sep 1, 2026
x*-*4*b*y*m*c.com (WP 7.1) F Sep 1, 2026
x*-*4*c*b*c*c*1*6*f*n.com (WP 6.4.10) F Sep 1, 2026
z*y*e*r*s*a*.com F Sep 1, 2026
j*p*a*o.com F Sep 1, 2026
t*r*i*l*m*n.com F Sep 1, 2026
z*y*i*h.com (WP 7.0.4) F Sep 1, 2026
b*o*b*c*s*n*.com F Sep 1, 2026
o*f*c*-*e*e*o.com F Sep 1, 2026
a*w*y*b*s*c*r*k*.com (WP 6.9.4) F Sep 1, 2026
r*s*i*h*a*i*n*l.com F Sep 1, 2026
r*s*i*h.com F Sep 1, 2026
t*t*s*r*n*f*r.com (WP 7.0.4) D Sep 1, 2026
m*r*s*i*l*.com (WP 7.0.4) A Sep 1, 2026
v*r*u*g*a*s.nl F Sep 1, 2026
e*n*s*o*o*e*o.com (WP 6.8.8) F Sep 1, 2026
a*w*y*b*s*c*r*c*l*a*y*w.com (WP 6.9.4) F Sep 1, 2026
a*w*y*b*s*c*r*c*l*a*y*w.com (WP 6.9.4) F Sep 1, 2026
a*w*y*b*b*y*n*.com F Sep 1, 2026
c*n*a*a*s*c*.com F Sep 1, 2026
e*n*s*o*l*n*.com F Sep 1, 2026
c*n*z*n*.com (WP 7.1) F Sep 1, 2026
t*r*e*c*i*e*o*c*t*n*e.com F Sep 1, 2026
n*c*p*o*.eu F Sep 1, 2026
t*t*o*e*a*h*.com F Sep 1, 2026
m*s*e*y.com F Sep 1, 2026
h*s*f*t*.pl (WP 7.1) B Sep 1, 2026
c*n*-*a*h*w*.com F Sep 1, 2026
e*n*s*o*a*e*a*i*e*a*d*.com D Sep 1, 2026
e*n*s*e*v*l*n*i*.com (WP 6.8.8) F Sep 1, 2026
k*e*t*a*u*m*s*a.fi (WP 7.0.2) F Sep 1, 2026
e*n*s*-*t*l*l*.com (WP 7.0.4) F Sep 1, 2026
i*e*u*e*e*d*.c*.uk (WP 6.2.11) F Sep 1, 2026
h*r*e*t*r*y*k*m*.com (WP 7.0.4) F Sep 1, 2026
k*b*k*.org F Sep 1, 2026
t*t*i*s*d*.com (WP 6.7.7) F Sep 1, 2026
a*r*a.fr (WP 6.8.8) F Sep 1, 2026
b*g*n*r.de F Sep 1, 2026
e*m*s*r*c*l*k.com (WP 7.0.4) F Sep 1, 2026
h*r*a*d*o*i*t*.com F Sep 1, 2026
x*-*3*q*b*7*b*k*i*i*y*d*1*.com (WP 6.5.5) D Sep 1, 2026
o*t*k*n*t*c*.c*.uk (WP 7.0.4) F Sep 1, 2026
c*m*i*s*c*c*e*m*a*s.com (WP 7.0.4) D Sep 1, 2026
c*m*i*s*c*c*e*m*r*c*s.com (WP 7.0.4) D Sep 1, 2026
c*m*i*s*k*h*h*i*a*d.com F Sep 1, 2026
h*r*a*d*e*r*e.com F Sep 1, 2026
g*a*e*r*.ee (WP 6.6.7) F Sep 1, 2026
h*r*a*d*u*d*.com F Sep 1, 2026
h*r*a*d*d*i*s*o*s.com F Sep 1, 2026
m*r*s*w*.com (WP 7.1) F Sep 1, 2026
d*c*a*-*u*g*i*n.com (WP 7.1) F Sep 1, 2026
a*e*d*a*c*g*m*s.com (WP 7.0.2) F Sep 1, 2026
t*t*f*m*u*i*i*s.com (WP 7.1) F Sep 1, 2026
x*-*3*j*a*c*f*5*q*e*5*m*z*2*2*q*l*p*i*5*.com (WP 7.0.3) F Sep 1, 2026
m*r*r*e*l*r.com (WP 6.9.7) F Sep 1, 2026
j*l*w*e*m.com (WP 6.9.7) F Sep 1, 2026
t*r*e*l*a.com F Sep 1, 2026
l*m*a*m*e*s.c*.uk F Sep 1, 2026
t*r*a*a*d*c*m*o*o*o.com (WP 4.9.31) F Sep 1, 2026
n*r*h*a*d*b*a*d*a*e.com (WP 6.5.10) F Sep 1, 2026
a*e*m*t*y*w*t*.com F Sep 1, 2026
p*p*y*n*p*p*e*.c*m.au F Sep 1, 2026
e*j*y*i*i*g.c*m.au F Sep 1, 2026
a*t*a*o*a.com (WP 7.1) F Sep 1, 2026

Top 50 Plugins

Plugin Count
elementor 1,730,851
contact-form-7 1,721,189
elementor-pro 1,030,831
woocommerce 799,160
revslider 592,105
jetpack 437,583
js_composer 408,516
wp-rocket 327,452
essential-addons-for-elementor-lite 257,700
gravityforms 252,749
complianz-gdpr 252,105
google-site-kit 248,054
cookie-law-info 223,364
instagram-feed 219,947
sitepress-multilingual-cms 206,461
header-footer-elementor 200,562
google-analytics-for-wordpress 199,415
bluehost-wordpress-plugin 189,419
elementskit-lite 174,281
gutenberg 163,245
litespeed-cache 145,163
cookie-notice 144,698
gutenberg-core 142,214
gtranslate 120,894
the-events-calendar 120,488
wpforms-lite 118,651
astra-sites 108,787
popup-maker 106,954
woocommerce-payments 105,990
tablepress 101,271
honeypot 96,606
coblocks 94,330
astra-addon 91,513
duracelltomi-google-tag-manager 88,439
wp-smushit 88,309
layerslider 86,448
all-in-one-seo-pack 86,358
bb-plugin 84,742
akismet 82,542
ml-slider 82,050
premium-addons-for-elementor 80,896
cleantalk-spam-protect 80,348
mailchimp-for-wp 78,910
megamenu 78,677
ewww-image-optimizer 76,841
jet-engine 76,514
wp-pagenavi 76,498
fusion-builder 75,381
smart-slider-3 74,307
gravityformsrecaptcha 72,820

Top 50 Themes

Theme Count
hello-elementor 609,738
Divi 483,693
astra 402,996
flatsome 145,049
Avada 118,419
generatepress 112,324
pub 98,401
oceanwp 78,169
kadence 77,705
enfold 66,989
salient 63,402
twentyseventeen 53,040
twentytwentyfour 51,964
bb-theme 51,672
betheme 51,500
cocoon-master 50,020
blocksy 49,840
h4 49,515
twentytwentyfive 45,477
woodmart 44,738
dt-the7 44,471
neve 37,074
Avada-Child-Theme 36,431
gox 35,993
lightning 30,708
bridge 30,318
twentytwentyone 29,426
swell 29,172
twentytwenty 28,029
bricks 26,775
Impreza 25,573
Newspaper 23,658
twentytwentythree 21,408
epik-redesign 18,879
twentytwentytwo 18,239
uncode 18,008
twentysixteen 17,308
pro 17,260
storefront 15,772
sydney 15,730
Total 14,089
factory-templates-4 13,881
hello-theme-child-master 13,639
themify-ultra 12,712
hestia 12,288
yootheme 12,281
yith-wonder 11,735
jupiter 11,591
porto 11,567
twentyfifteen 11,459