GA Google Analytics 20221008

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: 25.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 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=33d89a4508
Aspect after-activation
HTTP status 200
Load time 0.406 s
Memory usage 3.72 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.463 s
Memory usage 3.82 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.470 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.576 s0.475 s-0.101 s3.72 MiB3.74 MiB+ 20.45 KiB
/wp-admin/edit.php0.321 s0.382 s+0.061 s3.76 MiB3.78 MiB+ 19.72 KiB
/wp-admin/post-new.php1.325 s2.224 s+0.899 s5.55 MiB5.58 MiB+ 28.02 KiB
/wp-admin/upload.php0.512 s0.538 s+0.026 s3.69 MiB3.7 MiB+ 19.32 KiB
/wp-admin/options-writing.php0.419 s0.190 s-0.229 s3.62 MiB3.68 MiB+ 63.23 KiB
/wp-admin/media-new.php0.467 s0.253 s-0.214 s3.66 MiB3.68 MiB+ 19.49 KiB
/wp-admin/edit-tags.php?taxonomy=category0.309 s0.201 s-0.108 s3.69 MiB3.71 MiB+ 20.4 KiB
/wp-admin/post-new.php?post_type=page1.697 s1.046 s-0.651 s5.54 MiB5.56 MiB+ 19.6 KiB
/wp-admin/options-discussion.php0.344 s0.441 s+0.097 s3.6 MiB3.68 MiB+ 83.8 KiB
/wp-admin/edit-comments.php0.348 s0.337 s-0.011 s3.7 MiB3.72 MiB+ 19.3 KiB
/0.604 s0.254 s-0.350 s3.6 MiB3.57 MiB- 30.98 KiB
Average 0.629 s0.576 s-0.053 s4.01 MiB4.04 MiB+ 25.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
PHP92.3%746525
CSS5.3%4311
JavaScript2.4%1911
Total 808 54 7

PHP Code Analysis | More results »

Lines of code 454
Total complexity 144
Median class complexity 88.0
Median method complexity 1.0
Most complex class GA_Google_Analytics
Most complex function GA_Google_Analytics::validate_settings()
Classes 1
Methods 23
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