GA Google Analytics 20241102

Does GA Google Analytics work with WordPress 6.7.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: 18.74 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.7.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=d5c7cdc857
Aspect after-activation
HTTP status 200
Load time 0.224 s
Memory usage 3.52 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.292 s
Memory usage 3.56 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.162 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.296 s0.214 s-0.082 s3.48 MiB3.51 MiB+ 25.09 KiB
/wp-admin/edit.php0.171 s0.184 s+0.013 s3.54 MiB3.57 MiB+ 24.76 KiB
/wp-admin/post-new.php0.703 s0.550 s-0.153 s5.93 MiB5.95 MiB+ 29.03 KiB
/wp-admin/upload.php0.500 s0.399 s-0.101 s3.5 MiB3.5 MiB+ 7.35 KiB
/wp-admin/options-writing.php0.201 s0.168 s-0.033 s3.47 MiB3.48 MiB+ 11.34 KiB
/wp-admin/media-new.php0.238 s0.206 s-0.032 s3.46 MiB3.48 MiB+ 19.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.160 s0.170 s+0.010 s3.48 MiB3.51 MiB+ 30.21 KiB
/wp-admin/post-new.php?post_type=page0.513 s0.524 s+0.011 s5.92 MiB5.94 MiB+ 24.24 KiB
/wp-admin/options-discussion.php0.236 s0.208 s-0.028 s3.48 MiB3.48 MiB+ 7.84 KiB
/wp-admin/edit-comments.php0.398 s0.183 s-0.215 s3.5 MiB3.5 MiB+ 7.34 KiB
/0.262 s0.345 s+0.083 s3.41 MiB3.43 MiB+ 19.37 KiB
Average 0.334 s0.286 s-0.048 s3.92 MiB3.94 MiB+ 18.74 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%793545
CSS6.5%5611
JavaScript2.2%1911
Total 868 56 7

PHP Code Analysis | More results »

Lines of code 595
Total complexity 170
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