Google Tag Manager for Wordpress 1.14

Does "Google Tag Manager for Wordpress" work with WordPress 5.8.2 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: 219.68 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.8.2
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=f71306e96d
Aspect after-activation
HTTP status 200
Load time 0.377 s
Memory usage 3.28 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.238 s
Memory usage 3.24 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.229 s
Memory usage 3.24 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.275 s
Memory usage 3.24 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.198 s
Memory usage 3.24 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.240 s
Memory usage 3.24 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.219 s
Memory usage 3.24 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.210 s
Memory usage 3.24 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.256 s
Memory usage 3.24 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.211 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.317 s0.375 s+0.058 s3.08 MiB3.33 MiB+ 247.88 KiB
/wp-admin/edit.php0.187 s0.196 s+0.009 s3.11 MiB3.36 MiB+ 247.88 KiB
/wp-admin/post-new.php0.769 s0.937 s+0.168 s5.27 MiB5.51 MiB+ 244.07 KiB
/wp-admin/upload.php0.372 s0.290 s-0.082 s3.03 MiB3.26 MiB+ 238.75 KiB
/wp-admin/options-writing.php0.153 s0.140 s-0.013 s3.02 MiB3.25 MiB+ 230.66 KiB
/wp-admin/media-new.php0.425 s0.208 s-0.217 s3.01 MiB3.24 MiB+ 238.92 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.185 s+0.010 s3.04 MiB3.28 MiB+ 247.83 KiB
/wp-admin/post-new.php?post_type=page0.966 s0.755 s-0.211 s5.26 MiB5.49 MiB+ 239.66 KiB
/wp-admin/options-discussion.php0.242 s0.289 s+0.047 s3 MiB3.24 MiB+ 247.17 KiB
/wp-admin/edit-comments.php0.216 s0.207 s-0.009 s3.04 MiB3.28 MiB+ 246.73 KiB
/0.295 s0.206 s-0.089 s2.96 MiB2.94 MiB- 13.08 KiB
Average 0.374 s0.344 s-0.030 s3.44 MiB3.65 MiB+ 219.68 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.6%56,9981,040118
JavaScript3.3%1,93417411
CSS0.1%6001
Total 58,992 1,214 130

PHP Code Analysis | More results »

Lines of code 13,757
Total complexity 3,170
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 82

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