GA Google Analytics 20221016

Does GA Google Analytics work with WordPress 6.1.1 and PHP 7.4.8? 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: 28.01 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=5f29580ca2
Aspect after-activation
HTTP status 200
Load time 0.230 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.218 s
Memory usage 3.54 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.169 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.266 s0.390 s+0.124 s3.54 MiB3.56 MiB+ 21.04 KiB
/wp-admin/edit.php0.175 s0.322 s+0.147 s3.57 MiB3.59 MiB+ 20.3 KiB
/wp-admin/post-new.php0.765 s0.866 s+0.101 s5.46 MiB5.49 MiB+ 24.6 KiB
/wp-admin/upload.php0.493 s0.263 s-0.230 s3.41 MiB3.49 MiB+ 83.91 KiB
/wp-admin/options-writing.php0.141 s0.147 s+0.006 s3.4 MiB3.43 MiB+ 30.05 KiB
/wp-admin/media-new.php0.312 s0.187 s-0.125 s3.39 MiB3.47 MiB+ 84.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.174 s-0.040 s3.48 MiB3.5 MiB+ 20.99 KiB
/wp-admin/post-new.php?post_type=page0.631 s0.603 s-0.028 s5.46 MiB5.48 MiB+ 20.16 KiB
/wp-admin/options-discussion.php0.254 s0.250 s-0.004 s3.38 MiB3.4 MiB+ 20.4 KiB
/wp-admin/edit-comments.php0.184 s0.203 s+0.019 s3.48 MiB3.5 MiB+ 19.9 KiB
/0.238 s0.194 s-0.044 s3.47 MiB3.43 MiB- 37.28 KiB
Average 0.334 s0.327 s-0.007 s3.82 MiB3.85 MiB+ 28.01 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%746525
CSS5.4%4411
JavaScript2.3%1911
Total 809 54 7

PHP Code Analysis | More results »

Lines of code 454
Total complexity 144
Median class complexity 88.0
Median method complexity 1.0
Most complex class GA_Google_Analytics
Most complex function GA_Google_Analytics::validate_settings()
Classes 1
Methods 23
Functions 8

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.

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Google Analytics" Admin Menu