GA Google Analytics 20230306

Does GA Google Analytics work with WordPress 6.2.2 and PHP 8.1.12? 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: 5.54 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=8ab11e202b
Aspect after-activation
HTTP status 200
Load time 0.223 s
Memory usage 3.03 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.340 s
Memory usage 3.15 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.196 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.734 s0.225 s-0.509 s3.07 MiB3.09 MiB+ 19.44 KiB
/wp-admin/edit.php0.172 s0.169 s-0.003 s3.1 MiB3.12 MiB+ 18.7 KiB
/wp-admin/post-new.php0.751 s0.579 s-0.172 s5.02 MiB5.04 MiB+ 23.01 KiB
/wp-admin/upload.php0.548 s0.520 s-0.028 s3.02 MiB3.02 MiB+ 2.06 KiB
/wp-admin/options-writing.php0.167 s0.151 s-0.016 s3.01 MiB3 MiB- 11.17 KiB
/wp-admin/media-new.php0.265 s0.226 s-0.039 s2.99 MiB3.01 MiB+ 13.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.170 s-0.009 s3.01 MiB3.02 MiB+ 19.43 KiB
/wp-admin/post-new.php?post_type=page0.593 s0.608 s+0.015 s5.01 MiB5.03 MiB+ 18.59 KiB
/wp-admin/options-discussion.php0.205 s0.218 s+0.013 s3 MiB3 MiB+ 2.56 KiB
/wp-admin/edit-comments.php0.211 s0.198 s-0.013 s3.03 MiB3.03 MiB+ 2.06 KiB
/0.290 s0.210 s-0.080 s3.03 MiB2.98 MiB- 47.22 KiB
Average 0.374 s0.298 s-0.076 s3.39 MiB3.4 MiB+ 5.54 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%753525
CSS5.4%4411
JavaScript2.3%1911
Total 816 54 7

PHP Code Analysis | More results »

Lines of code 542
Total complexity 150
Median class complexity 90.0
Median method complexity 1.5
Most complex class GA_Google_Analytics
Most complex function GA_Google_Analytics::validate_settings()
Classes 1
Methods 24
Functions 9

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