WordPress maintenance or security needs? Reach out!
TLDWP

Plugin: duracelltomi-google-tag-manager (Used by 88,712 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
o*h*y*e*i*c*u*.com A Aug 31, 2026
n*n*-*n*.com (WP 7.0.4) D Aug 31, 2026
j*u*n*y*o*h*e*e*g*c*u*t*.com F Aug 31, 2026
c*s*l*t*.com (WP 7.1) D Aug 31, 2026
o*h*m*s*a*e*h*i*s.com (WP 7.1) F Aug 31, 2026
o*h*m*s*a*e*h*i*.com (WP 7.1) F Aug 31, 2026
o*h*m*s*a*e.com (WP 7.1) F Aug 31, 2026
c*a*t*.com (WP 7.0.4) D Aug 31, 2026
c*n*u*u*e*s.c*m.br F Aug 31, 2026
n*n*n*a*i*y.com (WP 7.1) F Aug 31, 2026
m*r*o*v*l*e*-*o*c*i*g.com F Aug 31, 2026
o*h*c*a*r.com (WP 7.1) F Aug 31, 2026
r*m*b*r*.com (WP 6.9.7) F Aug 31, 2026
b*a*r*e*r*e*d*n*s*n*e*e*t*.com F Aug 31, 2026
y*b*l*.com (WP 5.4.2) F Aug 31, 2026
r*m*o*z.com F Aug 31, 2026
c*a*c*s*.com D Aug 31, 2026
c*s*s*n*a*d*e*.com F Aug 31, 2026
y*p*o*k.com (WP 7.0.4) F Aug 31, 2026
t*p*i*r*r*d*a*e*d*i*s*o*s.com F Aug 31, 2026
r*m*u*t*c*.com F Aug 31, 2026
r*m*e*u*r*s.com (WP 6.9.4) F Aug 31, 2026
j*u*n*y*b*v*n*y*e.com F Aug 31, 2026
t*p*i*r*d*i*s*o*s.com F Aug 31, 2026
a*a*e*i*c*s*i*.com F Aug 31, 2026
h*r*o*s*d*r*s*r*t*m*s*a*e*.com F Aug 31, 2026
c*2*u*m*t.com F Aug 31, 2026
l*o*a*c*e*t*v*.com (WP 7.1) F Aug 31, 2026
l*o*t*.com (WP 7.1) F Aug 31, 2026
t*n*o*d*o*n*e*i*g.com D Aug 31, 2026
t*p*i*r*o*l*g*a*p*i*a*i*n*.com F Aug 31, 2026
r*m*s*l*s.com F Aug 31, 2026
r*m*s*j.com (WP 7.0.4) F Aug 31, 2026
o*h*m*r*h*i*s.com F Aug 31, 2026
b*u*u*t*e*i*.fr F Aug 31, 2026
e*m*e*l*n*.com (WP 7.1) C Aug 31, 2026
w*c*z*e*i*h.ch (WP 7.1) F Aug 31, 2026
b*a*u*a.com (WP 7.1) F Aug 31, 2026
h*r*o*p*n*s*e*e*i*a*y*e*t*r.com F Aug 31, 2026
c*-*u*m*t.com (WP 7.1) F Aug 31, 2026
b*a*b*a*i*c.com (WP 4.9.26) F Aug 31, 2026
u*g*v*p*.org (WP 7.0.3) F Aug 31, 2026
a*a*e*i*c*l*n*a*e*i*o.com F Aug 31, 2026
a*l*m*b*e.pl F Aug 31, 2026
n*n*a*o*d.com (WP 6.9.7) F Aug 31, 2026
b*a*r*a*.com F Aug 31, 2026
c*-*n*u*t*y.com (WP 7.1) F Aug 31, 2026
n*n*a*o*.com B Aug 31, 2026
l*o*v*i*u*e.com F Aug 31, 2026
l*o*v*t*i*e.com F Aug 31, 2026
b*a*i*g*a*p.com (WP 6.9.7) D Aug 31, 2026
w*a*s*e*a*a*e*y.pl D Aug 31, 2026
d*k*-*a*y.pl (WP 7.0.4) F Aug 31, 2026
u*d*r*c*r*.pl F Aug 31, 2026
s*i*l*o*2*.com (WP 7.0.4) F Aug 31, 2026
s*i*l*o*s*a*r*c*.com (WP 7.1) F Aug 31, 2026
s*i*l*a*e*i*s*a*d.com (WP 6.8.5) F Aug 31, 2026
h*r*o*o*g*a*e*e*o*e*y.com (WP 7.1) D Aug 31, 2026
h*r*o*o*k*a*n*m*g.com A Aug 31, 2026
c*-*e*i*n*r.com (WP 7.1) C Aug 31, 2026
d*r*-*y*t*m*e*l*.de D Aug 31, 2026
f*b*r*a*.pl F Aug 31, 2026
s*r*t*h*e*t*.c*.nz D Aug 31, 2026
p*i*m*p*o*e*t.nl B Aug 31, 2026
s*a*t*i*e.net C Aug 31, 2026
h*r*o*h*m*c*m*a*y.com F Aug 31, 2026
a*a*i.ch (WP 6.8.1) A Aug 31, 2026
t*n*r*f*-*l*w*r*-*n*i*e.com (WP 6.9.4) F Aug 31, 2026
c*w*t*r*p*r*s*c*d*m*.com (WP 7.1) F Aug 31, 2026
c*w*t*r*p*r*s.com (WP 7.1) F Aug 31, 2026
n*n*e*t*.com F Aug 31, 2026
o*g*r*a*i*e.com (WP 7.1) B Aug 31, 2026
o*g*t*w*y*r*n*.com F Aug 31, 2026
s*e*k*t*y.com (WP 7.0.4) C Aug 31, 2026
p*t*r*o*l*f*.eu (WP 7.1) F Aug 31, 2026
p*o*b*e*-*h*l*p*e.be F Aug 31, 2026
s*y*-*t*d*o.de F Aug 31, 2026
h*r*o*3*0*o*e*.com F Aug 31, 2026
a*t*a*i*g*c*u*.c*.za (WP 7.0.4) C Aug 31, 2026
x*x*o*.com F Aug 31, 2026
x*x*a*i*o*a.com F Aug 31, 2026
i*w*l*t*m*w*l*.nl (WP 7.1) D Aug 31, 2026
e*u*e*.com (WP 7.1) F Aug 31, 2026
m*r*o*a*m.com F Aug 31, 2026
s*i*l*h*n*s.com (WP 5.5.20) F Aug 31, 2026
m*r*o*u*a*.com D Aug 31, 2026
k*t.ch F Aug 31, 2026
t*n*i*.com F Aug 31, 2026
t*n*o*p*i*.com F Aug 31, 2026
a*a*a*a*p*r*s.fr F Aug 31, 2026
t*n*o*o*l*.com (WP 7.0) B Aug 31, 2026
a*a*i*k*r*u*.com (WP 7.0.4) F Aug 31, 2026
t*p*a*.com C Aug 31, 2026
h*r*s*i*e*.com (WP 7.1) F Aug 31, 2026
t*p*a*r*l*.com (WP 6.7.7) F Aug 31, 2026
s*i*a*k.com (WP 6.9.7) F Aug 31, 2026
o*e*n*a*v*t*.com F Aug 31, 2026
c*t*m*x.com (WP 6.9.7) D Aug 31, 2026
y*y*c*i.com (WP 7.1) F Aug 31, 2026
j*u*n*y*o*m*n*t*c*u*c*.com F Aug 31, 2026

Top 50 Plugins

Plugin Count
elementor 1,732,950
contact-form-7 1,722,959
elementor-pro 1,032,190
woocommerce 800,396
revslider 592,861
jetpack 440,773
js_composer 409,056
wp-rocket 328,329
essential-addons-for-elementor-lite 258,054
gravityforms 253,018
complianz-gdpr 252,334
google-site-kit 246,822
cookie-law-info 223,721
instagram-feed 220,210
sitepress-multilingual-cms 206,677
header-footer-elementor 200,836
google-analytics-for-wordpress 199,774
bluehost-wordpress-plugin 189,526
elementskit-lite 174,459
gutenberg 165,291
litespeed-cache 145,261
cookie-notice 144,931
gutenberg-core 143,410
gtranslate 121,067
the-events-calendar 120,684
wpforms-lite 118,887
astra-sites 108,981
popup-maker 107,044
woocommerce-payments 106,429
tablepress 101,348
honeypot 96,702
coblocks 95,414
astra-addon 91,607
duracelltomi-google-tag-manager 88,558
wp-smushit 88,424
layerslider 86,569
all-in-one-seo-pack 86,461
bb-plugin 84,853
akismet 82,829
ml-slider 82,091
premium-addons-for-elementor 81,040
cleantalk-spam-protect 80,411
mailchimp-for-wp 79,083
megamenu 78,716
ewww-image-optimizer 76,908
jet-engine 76,636
wp-pagenavi 76,564
fusion-builder 75,520
smart-slider-3 74,381
gravityformsrecaptcha 72,878

Top 50 Themes

Theme Count
hello-elementor 610,429
Divi 484,432
astra 403,631
flatsome 145,009
Avada 118,544
generatepress 112,382
pub 99,293
oceanwp 78,268
kadence 77,738
enfold 67,042
salient 63,513
twentyseventeen 53,140
twentytwentyfour 52,111
bb-theme 51,761
betheme 51,550
cocoon-master 50,077
blocksy 49,916
h4 49,901
twentytwentyfive 45,534
woodmart 44,746
dt-the7 44,533
neve 37,128
Avada-Child-Theme 36,468
gox 36,026
lightning 30,695
bridge 30,377
twentytwentyone 29,480
swell 29,188
twentytwenty 28,075
bricks 26,781
Impreza 25,594
Newspaper 23,683
twentytwentythree 21,457
epik-redesign 18,874
twentytwentytwo 18,277
uncode 18,039
twentysixteen 17,350
pro 17,291
storefront 15,811
sydney 15,754
Total 14,109
factory-templates-4 13,871
hello-theme-child-master 13,669
themify-ultra 12,714
hestia 12,307
yootheme 12,280
yith-wonder 11,748
jupiter 11,606
porto 11,598
twentyfifteen 11,509