GTM4WP 1.18.1

Does GTM4WP work with WordPress 6.4.2 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: 223.02 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.4.2
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=40c00058c1
Aspect after-activation
HTTP status 200
Load time 0.658 s
Memory usage 3.57 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.299 s
Memory usage 3.55 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.267 s
Memory usage 3.53 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.290 s
Memory usage 3.53 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.249 s
Memory usage 3.53 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.260 s
Memory usage 3.53 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.300 s
Memory usage 3.53 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.244 s
Memory usage 3.53 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.284 s
Memory usage 3.53 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.267 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.419 s0.517 s+0.098 s3.38 MiB3.63 MiB+ 252.81 KiB
/wp-admin/edit.php0.285 s0.219 s-0.066 s3.41 MiB3.65 MiB+ 253.18 KiB
/wp-admin/post-new.php1.028 s1.035 s+0.007 s5.46 MiB5.71 MiB+ 256.34 KiB
/wp-admin/upload.php0.596 s0.844 s+0.248 s3.32 MiB3.55 MiB+ 236.04 KiB
/wp-admin/options-writing.php0.303 s0.246 s-0.057 s3.32 MiB3.54 MiB+ 229.13 KiB
/wp-admin/media-new.php0.370 s0.283 s-0.087 s3.3 MiB3.55 MiB+ 256.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.237 s+0.033 s3.31 MiB3.56 MiB+ 253.13 KiB
/wp-admin/post-new.php?post_type=page0.646 s0.656 s+0.010 s5.45 MiB5.7 MiB+ 251.92 KiB
/wp-admin/options-discussion.php0.245 s0.388 s+0.143 s3.3 MiB3.53 MiB+ 237.03 KiB
/wp-admin/edit-comments.php0.307 s0.403 s+0.096 s3.34 MiB3.57 MiB+ 235.77 KiB
/0.318 s0.253 s-0.065 s3.36 MiB3.35 MiB- 8.86 KiB
Average 0.429 s0.462 s+0.033 s3.72 MiB3.94 MiB+ 223.02 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
PHP96.8%57,5191,877123
JavaScript3.1%1,82713310
CSS0.1%6001
Total 59,406 2,010 134

PHP Code Analysis | More results »

Lines of code 13,779
Total complexity 3,226
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 80

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