GTM4WP - A Google Tag Manager (GTM) plugin for WordPress 1.21.1

Does "GTM4WP - A Google Tag Manager (GTM) plugin for WordPress" work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 236.36 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700,000+
WordPress.org page https://wordpress.org/plugins/duracelltomi-google-tag-manager/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=duracelltomi-google-tag-manager%2Fduracelltomi-google-tag-manager-for-wordpress.php&plugin_status=all&paged=1&s&_wpnonce=7ed3f68a4d
Aspect after-activation
HTTP status 200
Load time 0.260 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Settings → Google Tag Manager

Page screenshot: Settings → Google Tag Manager
URL /wp-admin/options-general.php?page=gtm4wp-settings
Aspect menu-item
HTTP status 200
Load time 0.247 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

Settings → Google Tag Manager → Basic data

Page screenshot: Settings → Google Tag Manager → Basic data
URL /wp-admin/options-general.php?page=gtm4wp-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.231 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Settings → Google Tag Manager → Events

Page screenshot: Settings → Google Tag Manager → Events
URL /wp-admin/options-general.php?page=gtm4wp-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.250 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Settings → Google Tag Manager → Scroll tracking

Page screenshot: Settings → Google Tag Manager → Scroll tracking
URL /wp-admin/options-general.php?page=gtm4wp-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.213 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Settings → Google Tag Manager → Security

Page screenshot: Settings → Google Tag Manager → Security
URL /wp-admin/options-general.php?page=gtm4wp-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.265 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Settings → Google Tag Manager → Integration

Page screenshot: Settings → Google Tag Manager → Integration
URL /wp-admin/options-general.php?page=gtm4wp-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.263 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Settings → Google Tag Manager → Advanced

Page screenshot: Settings → Google Tag Manager → Advanced
URL /wp-admin/options-general.php?page=gtm4wp-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.232 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Settings → Google Tag Manager → Credits

Page screenshot: Settings → Google Tag Manager → Credits
URL /wp-admin/options-general.php?page=gtm4wp-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.247 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.271 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.297 s0.414 s+0.117 s3.51 MiB3.76 MiB+ 260.78 KiB
/wp-admin/edit.php0.195 s0.168 s-0.027 s3.57 MiB3.83 MiB+ 261.53 KiB
/wp-admin/post-new.php0.773 s0.993 s+0.220 s6.06 MiB6.32 MiB+ 264.34 KiB
/wp-admin/upload.php0.565 s0.400 s-0.165 s3.52 MiB3.76 MiB+ 244.18 KiB
/wp-admin/options-writing.php0.218 s0.206 s-0.012 s3.5 MiB3.74 MiB+ 248.17 KiB
/wp-admin/media-new.php0.265 s0.403 s+0.138 s3.49 MiB3.74 MiB+ 256.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.173 s-0.018 s3.51 MiB3.77 MiB+ 267.04 KiB
/wp-admin/post-new.php?post_type=page0.613 s0.674 s+0.061 s6.05 MiB6.31 MiB+ 264.34 KiB
/wp-admin/options-discussion.php0.317 s0.243 s-0.074 s3.5 MiB3.74 MiB+ 244.67 KiB
/wp-admin/edit-comments.php0.217 s0.252 s+0.035 s3.52 MiB3.76 MiB+ 244.17 KiB
/0.296 s0.208 s-0.088 s3.43 MiB3.48 MiB+ 44.36 KiB
Average 0.359 s0.376 s+0.017 s3.97 MiB4.2 MiB+ 236.36 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP97.5%57,3011,977123
JavaScript2.4%1,4159410
CSS0.1%6001
Total 58,776 2,071 134

PHP Code Analysis | More results »

Lines of code 13,495
Total complexity 3,143
Median class complexity 5.0
Median method complexity 4.0
Most complex class WhichBrowser\Model\Main
Most complex function gtm4wp_add_basic_datalayer_data()
Classes 36
Methods 92
Functions 84

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Google Tag Manager" Admin Menu