GA Google Analytics 20240820

Does GA Google Analytics work with WordPress 6.6.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: 35.82 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500,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=a6bab9c224
Aspect after-activation
HTTP status 200
Load time 0.536 s
Memory usage 3.51 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.376 s
Memory usage 3.55 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.233 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.341 s0.309 s-0.032 s3.47 MiB3.5 MiB+ 25.17 KiB
/wp-admin/edit.php0.209 s0.210 s+0.001 s3.54 MiB3.56 MiB+ 24.84 KiB
/wp-admin/post-new.php0.797 s0.582 s-0.215 s5.75 MiB5.78 MiB+ 28.75 KiB
/wp-admin/upload.php0.670 s0.357 s-0.313 s3.49 MiB3.5 MiB+ 7.44 KiB
/wp-admin/options-writing.php0.228 s0.185 s-0.043 s3.41 MiB3.48 MiB+ 70.24 KiB
/wp-admin/media-new.php0.251 s0.259 s+0.008 s3.4 MiB3.48 MiB+ 83.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.312 s+0.118 s3.47 MiB3.5 MiB+ 30.3 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.589 s-0.016 s5.75 MiB5.77 MiB+ 24.33 KiB
/wp-admin/options-discussion.php0.227 s0.260 s+0.033 s3.41 MiB3.48 MiB+ 71.93 KiB
/wp-admin/edit-comments.php0.279 s0.211 s-0.068 s3.49 MiB3.5 MiB+ 7.43 KiB
/0.316 s0.205 s-0.111 s3.4 MiB3.42 MiB+ 19.96 KiB
Average 0.374 s0.316 s-0.058 s3.87 MiB3.91 MiB+ 35.82 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.4%791545
CSS6.4%5511
JavaScript2.2%1911
Total 865 56 7

PHP Code Analysis | More results »

Lines of code 592
Total complexity 169
Median class complexity 109.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