GA Google Analytics 20221002

Does GA Google Analytics work with WordPress 6.0.2 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: 25.67 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.028 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.2
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=74120720fc
Aspect after-activation
HTTP status 200
Load time 0.391 s
Memory usage 3.72 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.444 s
Memory usage 3.82 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.478 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.629 s0.368 s-0.261 s3.72 MiB3.74 MiB+ 20.45 KiB
/wp-admin/edit.php0.351 s0.342 s-0.009 s3.76 MiB3.78 MiB+ 19.72 KiB
/wp-admin/post-new.php1.468 s2.203 s+0.735 s5.55 MiB5.58 MiB+ 28.02 KiB
/wp-admin/upload.php0.600 s0.594 s-0.006 s3.69 MiB3.7 MiB+ 19.32 KiB
/wp-admin/options-writing.php0.477 s0.274 s-0.203 s3.62 MiB3.68 MiB+ 63.23 KiB
/wp-admin/media-new.php0.295 s0.341 s+0.046 s3.66 MiB3.68 MiB+ 19.49 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.333 s+0.126 s3.69 MiB3.71 MiB+ 20.4 KiB
/wp-admin/post-new.php?post_type=page1.582 s1.333 s-0.249 s5.54 MiB5.56 MiB+ 19.6 KiB
/wp-admin/options-discussion.php0.282 s0.610 s+0.328 s3.6 MiB3.68 MiB+ 83.8 KiB
/wp-admin/edit-comments.php0.346 s0.427 s+0.081 s3.7 MiB3.72 MiB+ 19.3 KiB
/0.657 s0.378 s-0.279 s3.6 MiB3.57 MiB- 30.98 KiB
Average 0.627 s0.655 s+0.028 s4.01 MiB4.04 MiB+ 25.67 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.3%744525
CSS5.3%4311
JavaScript2.4%1911
Total 806 54 7

PHP Code Analysis | More results »

Lines of code 452
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.

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