GA Google Analytics 20220124

Does GA Google Analytics work with WordPress 5.9.3 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: 32.04 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.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 600,000+
WordPress.org page https://wordpress.org/plugins/ga-google-analytics/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=ga-google-analytics%2Fga-google-analytics.php&plugin_status=all&paged=1&s&_wpnonce=ec2304366e
Aspect after-activation
HTTP status 200
Load time 0.428 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Settings → Google Analytics

Page screenshot: Settings → Google Analytics
URL /wp-admin/options-general.php?page=ga-google-analytics
Aspect menu-item
HTTP status 200
Load time 0.217 s
Memory usage 3.38 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.237 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.376 s0.304 s-0.072 s3.37 MiB3.39 MiB+ 18.05 KiB
/wp-admin/edit.php0.188 s0.204 s+0.016 s3.4 MiB3.42 MiB+ 18.05 KiB
/wp-admin/post-new.php1.040 s1.207 s+0.167 s5.65 MiB5.68 MiB+ 21.61 KiB
/wp-admin/upload.php0.429 s0.345 s-0.084 s3.25 MiB3.34 MiB+ 88.91 KiB
/wp-admin/options-writing.php0.283 s0.142 s-0.141 s3.24 MiB3.25 MiB+ 8.77 KiB
/wp-admin/media-new.php0.281 s0.195 s-0.086 s3.23 MiB3.25 MiB+ 25.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.181 s-0.015 s3.27 MiB3.35 MiB+ 81.99 KiB
/wp-admin/post-new.php?post_type=page0.965 s1.108 s+0.143 s5.65 MiB5.67 MiB+ 17.2 KiB
/wp-admin/options-discussion.php0.232 s0.276 s+0.044 s3.22 MiB3.25 MiB+ 25.4 KiB
/wp-admin/edit-comments.php0.244 s0.205 s-0.039 s3.27 MiB3.35 MiB+ 80.9 KiB
/0.310 s0.217 s-0.093 s3.4 MiB3.36 MiB- 33.55 KiB
Average 0.413 s0.399 s-0.015 s3.72 MiB3.75 MiB+ 32.04 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
PHP94.1%729505
CSS4.8%3711
JavaScript1.2%911
Total 775 52 7

PHP Code Analysis | More results »

Lines of code 432
Total complexity 138
Median class complexity 84.0
Median method complexity 1.0
Most complex class GA_Google_Analytics
Most complex function GA_Google_Analytics::validate_settings()
Classes 1
Methods 22
Functions 8

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 Analytics" Admin Menu