GA Google Analytics 20220517

Does GA Google Analytics work with WordPress 6.0.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: 23.4 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.0.2
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=e12c874992
Aspect after-activation
HTTP status 200
Load time 0.251 s
Memory usage 3.71 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.278 s
Memory usage 3.81 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.306 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.235 s-0.097 s3.72 MiB3.74 MiB+ 18.05 KiB
/wp-admin/edit.php0.188 s0.185 s-0.003 s3.76 MiB3.77 MiB+ 18.05 KiB
/wp-admin/post-new.php1.075 s0.882 s-0.193 s5.55 MiB5.57 MiB+ 25.61 KiB
/wp-admin/upload.php0.408 s0.329 s-0.079 s3.69 MiB3.7 MiB+ 16.91 KiB
/wp-admin/options-writing.php0.250 s0.144 s-0.106 s3.62 MiB3.68 MiB+ 60.82 KiB
/wp-admin/media-new.php0.323 s0.185 s-0.138 s3.66 MiB3.68 MiB+ 17.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.176 s+0.000 s3.69 MiB3.71 MiB+ 17.99 KiB
/wp-admin/post-new.php?post_type=page0.584 s0.616 s+0.032 s5.54 MiB5.56 MiB+ 17.2 KiB
/wp-admin/options-discussion.php0.212 s0.274 s+0.062 s3.6 MiB3.68 MiB+ 81.4 KiB
/wp-admin/edit-comments.php0.229 s0.207 s-0.022 s3.7 MiB3.71 MiB+ 16.9 KiB
/0.271 s0.205 s-0.066 s3.6 MiB3.57 MiB- 32.66 KiB
Average 0.368 s0.313 s-0.055 s4.01 MiB4.03 MiB+ 23.4 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.0%739505
CSS4.8%3811
JavaScript1.1%911
Total 786 52 7

PHP Code Analysis | More results »

Lines of code 436
Total complexity 140
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