GA Google Analytics 20251120

Does GA Google Analytics work with WordPress 6.9.1 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: 19.06 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.9.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400,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=fab001dfc5
Aspect after-activation
HTTP status 200
Load time 0.358 s
Memory usage 3.76 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.341 s
Memory usage 3.79 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.211 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.036 s0.884 s-0.152 s3.78 MiB3.8 MiB+ 23.48 KiB
/wp-admin/edit.php0.474 s0.413 s-0.061 s3.79 MiB3.81 MiB+ 21.21 KiB
/wp-admin/post-new.php1.194 s1.376 s+0.182 s6.31 MiB6.34 MiB+ 26.37 KiB
/wp-admin/upload.php0.510 s0.597 s+0.087 s3.74 MiB3.75 MiB+ 9.01 KiB
/wp-admin/options-writing.php0.346 s0.359 s+0.013 s3.71 MiB3.72 MiB+ 13 KiB
/wp-admin/media-new.php0.560 s0.380 s-0.180 s3.7 MiB3.72 MiB+ 21.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.435 s0.313 s-0.122 s3.72 MiB3.75 MiB+ 31.87 KiB
/wp-admin/post-new.php?post_type=page1.322 s0.687 s-0.635 s6.3 MiB6.32 MiB+ 26.27 KiB
/wp-admin/options-discussion.php0.465 s1.018 s+0.553 s3.71 MiB3.72 MiB+ 9.5 KiB
/wp-admin/edit-comments.php0.370 s0.488 s+0.118 s3.73 MiB3.74 MiB+ 9 KiB
/0.332 s0.230 s-0.102 s4.11 MiB4.13 MiB+ 18.73 KiB
Average 0.640 s0.613 s-0.027 s4.24 MiB4.26 MiB+ 19.06 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
PHP91.7%830555
CSS6.2%5611
JavaScript2.1%1911
Total 905 57 7

PHP Code Analysis | More results »

Lines of code 632
Total complexity 173
Median class complexity 112.0
Median method complexity 2.0
Most complex class GA_Google_Analytics
Most complex function GA_Google_Analytics::validate_settings()
Classes 1
Methods 31
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