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

Does "GTM4WP - A Google Tag Manager (GTM) plugin for WordPress" work with WordPress 6.5 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: 227.91 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.035 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.5
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=e621463bdf
Aspect after-activation
HTTP status 200
Load time 0.370 s
Memory usage 3.63 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.217 s
Memory usage 3.62 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.223 s
Memory usage 3.6 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.220 s
Memory usage 3.6 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.186 s
Memory usage 3.6 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.202 s
Memory usage 3.6 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.213 s
Memory usage 3.6 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.203 s
Memory usage 3.6 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.226 s
Memory usage 3.6 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.218 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.345 s+0.008 s3.44 MiB3.69 MiB+ 258.98 KiB
/wp-admin/edit.php0.177 s0.171 s-0.006 s3.46 MiB3.71 MiB+ 259.34 KiB
/wp-admin/post-new.php0.828 s0.855 s+0.027 s5.59 MiB5.85 MiB+ 262.5 KiB
/wp-admin/upload.php0.479 s0.476 s-0.003 s3.38 MiB3.62 MiB+ 241.94 KiB
/wp-admin/options-writing.php0.190 s0.342 s+0.152 s3.37 MiB3.6 MiB+ 234.66 KiB
/wp-admin/media-new.php0.278 s0.247 s-0.031 s3.35 MiB3.6 MiB+ 254.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.204 s+0.034 s3.37 MiB3.62 MiB+ 259.3 KiB
/wp-admin/post-new.php?post_type=page0.500 s0.587 s+0.087 s5.59 MiB5.84 MiB+ 258.09 KiB
/wp-admin/options-discussion.php0.277 s0.486 s+0.209 s3.36 MiB3.6 MiB+ 243.2 KiB
/wp-admin/edit-comments.php0.257 s0.255 s-0.002 s3.39 MiB3.63 MiB+ 241.93 KiB
/0.271 s0.181 s-0.090 s3.42 MiB3.41 MiB- 7.86 KiB
Average 0.342 s0.377 s+0.035 s3.79 MiB4.01 MiB+ 227.91 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,2691,969123
JavaScript2.4%1,4059410
CSS0.1%6001
Total 58,734 2,063 134

PHP Code Analysis | More results »

Lines of code 13,478
Total complexity 3,176
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 81

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