GA Google Analytics 20231101

Does GA Google Analytics work with WordPress 6.4.3 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: 12.91 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.4.3
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=8fe2754f2f
Aspect after-activation
HTTP status 200
Load time 0.570 s
Memory usage 3.34 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.414 s
Memory usage 3.46 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.242 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.380 s0.337 s-0.043 s3.38 MiB3.41 MiB+ 24.86 KiB
/wp-admin/edit.php0.232 s0.206 s-0.026 s3.41 MiB3.43 MiB+ 24.49 KiB
/wp-admin/post-new.php1.017 s0.621 s-0.396 s5.46 MiB5.49 MiB+ 28.43 KiB
/wp-admin/upload.php0.588 s0.639 s+0.051 s3.32 MiB3.33 MiB+ 7.86 KiB
/wp-admin/options-writing.php0.223 s0.224 s+0.001 s3.32 MiB3.32 MiB+ 456 bytes
/wp-admin/media-new.php0.328 s0.241 s-0.087 s3.3 MiB3.31 MiB+ 19.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.213 s+0.012 s3.31 MiB3.34 MiB+ 25.22 KiB
/wp-admin/post-new.php?post_type=page0.629 s0.645 s+0.016 s5.45 MiB5.48 MiB+ 28.02 KiB
/wp-admin/options-discussion.php0.235 s0.275 s+0.040 s3.3 MiB3.31 MiB+ 8.35 KiB
/wp-admin/edit-comments.php0.309 s0.408 s+0.099 s3.34 MiB3.34 MiB+ 7.85 KiB
/0.299 s0.243 s-0.056 s3.36 MiB3.33 MiB- 32.84 KiB
Average 0.404 s0.368 s-0.035 s3.72 MiB3.74 MiB+ 12.91 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.2%806545
CSS5.6%4911
JavaScript2.2%1911
Total 874 56 7

PHP Code Analysis | More results »

Lines of code 596
Total complexity 166
Median class complexity 106.0
Median method complexity 2.0
Most complex class GA_Google_Analytics
Most complex function GA_Google_Analytics::validate_settings()
Classes 1
Methods 30
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