GTM4WP 1.16.1

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

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

Environment
WordPress version6.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=a1f0a87cfc
Aspect after-activation
HTTP status 200
Load time 0.280 s
Memory usage 3.74 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.244 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.207 s
Memory usage 3.62 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.307 s
Memory usage 3.62 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.230 s
Memory usage 3.62 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.262 s
Memory usage 3.62 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.239 s
Memory usage 3.62 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.274 s
Memory usage 3.62 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.272 s
Memory usage 3.62 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.270 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.316 s0.441 s+0.125 s3.54 MiB3.79 MiB+ 254.45 KiB
/wp-admin/edit.php0.188 s0.208 s+0.020 s3.57 MiB3.82 MiB+ 254.45 KiB
/wp-admin/post-new.php1.080 s1.802 s+0.722 s5.46 MiB5.71 MiB+ 249.96 KiB
/wp-admin/upload.php0.744 s0.345 s-0.399 s3.41 MiB3.65 MiB+ 246.11 KiB
/wp-admin/options-writing.php0.140 s0.165 s+0.025 s3.4 MiB3.63 MiB+ 236.52 KiB
/wp-admin/media-new.php0.235 s0.236 s+0.001 s3.39 MiB3.63 MiB+ 246.28 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.195 s+0.016 s3.48 MiB3.73 MiB+ 254.36 KiB
/wp-admin/post-new.php?post_type=page1.049 s0.920 s-0.129 s5.46 MiB5.7 MiB+ 245.52 KiB
/wp-admin/options-discussion.php0.207 s0.288 s+0.081 s3.39 MiB3.63 MiB+ 254.53 KiB
/wp-admin/edit-comments.php0.230 s0.241 s+0.011 s3.48 MiB3.73 MiB+ 253.27 KiB
/0.253 s0.218 s-0.035 s3.47 MiB3.45 MiB- 15.55 KiB
Average 0.420 s0.460 s+0.040 s3.82 MiB4.04 MiB+ 225.44 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,4571,853123
JavaScript3.1%1,82213210
CSS0.1%6001
Total 59,339 1,985 134

PHP Code Analysis | More results »

Lines of code 13,730
Total complexity 3,211
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.

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

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