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

Does "GTM4WP - A Google Tag Manager (GTM) plugin for WordPress" work with WordPress 6.4.3 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: 228.06 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.4.3
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=41cf9ed54f
Aspect after-activation
HTTP status 200
Load time 0.260 s
Memory usage 3.58 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.259 s
Memory usage 3.56 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.219 s
Memory usage 3.54 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.268 s
Memory usage 3.54 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.222 s
Memory usage 3.54 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.246 s
Memory usage 3.54 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.54 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.235 s
Memory usage 3.54 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.250 s
Memory usage 3.54 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.232 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.372 s0.455 s+0.083 s3.38 MiB3.64 MiB+ 259.05 KiB
/wp-admin/edit.php0.201 s0.203 s+0.002 s3.41 MiB3.66 MiB+ 259.41 KiB
/wp-admin/post-new.php0.843 s0.941 s+0.098 s5.46 MiB5.72 MiB+ 262.57 KiB
/wp-admin/upload.php0.560 s0.370 s-0.190 s3.33 MiB3.56 MiB+ 242.27 KiB
/wp-admin/options-writing.php0.224 s0.315 s+0.091 s3.32 MiB3.55 MiB+ 235.36 KiB
/wp-admin/media-new.php0.323 s0.297 s-0.026 s3.3 MiB3.55 MiB+ 255.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.191 s-0.018 s3.32 MiB3.57 MiB+ 259.37 KiB
/wp-admin/post-new.php?post_type=page0.586 s0.592 s+0.006 s5.45 MiB5.7 MiB+ 258.16 KiB
/wp-admin/options-discussion.php0.350 s0.320 s-0.030 s3.3 MiB3.54 MiB+ 243.27 KiB
/wp-admin/edit-comments.php0.240 s0.281 s+0.041 s3.34 MiB3.57 MiB+ 242 KiB
/0.300 s0.188 s-0.112 s3.36 MiB3.35 MiB- 7.86 KiB
Average 0.383 s0.378 s-0.005 s3.72 MiB3.95 MiB+ 228.06 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,2671,938123
JavaScript2.4%1,4039410
CSS0.1%6001
Total 58,730 2,032 134

PHP Code Analysis | More results »

Lines of code 13,475
Total complexity 3,173
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 79

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