Google Tag Manager for Wordpress 1.12.2

Does "Google Tag Manager for Wordpress" work with WordPress 5.7.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: 213.67 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 version5.7.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=bea20ab2d0
Aspect after-activation
HTTP status 200
Load time 0.302 s
Memory usage 3.01 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.246 s
Memory usage 2.9 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.206 s
Memory usage 2.9 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.270 s
Memory usage 2.9 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.189 s
Memory usage 2.9 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.214 s
Memory usage 2.9 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.267 s
Memory usage 2.9 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.205 s
Memory usage 2.9 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.218 s
Memory usage 2.9 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.300 s
Memory usage 2.69 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.265 s0.395 s+0.130 s2.82 MiB3.06 MiB+ 245.01 KiB
/wp-admin/edit.php0.195 s0.189 s-0.006 s2.86 MiB3.1 MiB+ 245.01 KiB
/wp-admin/post-new.php0.917 s1.028 s+0.111 s5.02 MiB5.27 MiB+ 248.57 KiB
/wp-admin/upload.php0.487 s0.255 s-0.232 s2.7 MiB2.92 MiB+ 231.88 KiB
/wp-admin/options-writing.php0.300 s0.147 s-0.153 s2.71 MiB2.91 MiB+ 207.79 KiB
/wp-admin/media-new.php0.250 s0.170 s-0.080 s2.67 MiB2.9 MiB+ 232.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.190 s-0.007 s2.77 MiB3.01 MiB+ 240.95 KiB
/wp-admin/post-new.php?post_type=page1.275 s0.770 s-0.505 s5.01 MiB5.24 MiB+ 240.16 KiB
/wp-admin/options-discussion.php0.314 s0.285 s-0.029 s2.68 MiB2.91 MiB+ 240.3 KiB
/wp-admin/edit-comments.php0.236 s0.226 s-0.010 s2.78 MiB3.01 MiB+ 239.86 KiB
/0.292 s0.242 s-0.050 s2.71 MiB2.69 MiB- 21.19 KiB
Average 0.430 s0.354 s-0.076 s3.16 MiB3.37 MiB+ 213.67 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.7%55,3091,009117
JavaScript3.2%1,81314712
CSS0.1%6001
Total 57,182 1,156 130

PHP Code Analysis | More results »

Lines of code 13,309
Total complexity 3,075
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 76

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