GA Google Analytics 20210211

Does GA Google Analytics work with WordPress 5.7.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: 12.64 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 version5.7.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=89aeccd73b
Aspect after-activation
HTTP status 200
Load time 0.265 s
Memory usage 2.8 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.229 s
Memory usage 2.84 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.202 s
Memory usage 2.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.260 s0.279 s+0.019 s2.82 MiB2.84 MiB+ 22.68 KiB
/wp-admin/edit.php0.177 s0.197 s+0.020 s2.86 MiB2.89 MiB+ 22.68 KiB
/wp-admin/post-new.php1.231 s1.146 s-0.085 s5.02 MiB5.06 MiB+ 34.24 KiB
/wp-admin/upload.php0.464 s0.535 s+0.071 s2.7 MiB2.71 MiB+ 17.59 KiB
/wp-admin/options-writing.php0.150 s0.143 s-0.007 s2.71 MiB2.7 MiB- 14.44 KiB
/wp-admin/media-new.php0.313 s0.158 s-0.155 s2.67 MiB2.69 MiB+ 17.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.300 s0.172 s-0.128 s2.77 MiB2.79 MiB+ 18.66 KiB
/wp-admin/post-new.php?post_type=page1.064 s0.853 s-0.211 s5.01 MiB5.03 MiB+ 25.83 KiB
/wp-admin/options-discussion.php0.283 s0.297 s+0.014 s2.67 MiB2.69 MiB+ 18.07 KiB
/wp-admin/edit-comments.php0.235 s0.214 s-0.021 s2.78 MiB2.79 MiB+ 17.57 KiB
/0.257 s0.204 s-0.053 s2.71 MiB2.67 MiB- 41.62 KiB
Average 0.430 s0.382 s-0.049 s3.16 MiB3.17 MiB+ 12.64 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
PHP94.0%724505
CSS4.8%3711
JavaScript1.2%911
Total 770 52 7

PHP Code Analysis | More results »

Lines of code 430
Total complexity 138
Median class complexity 84.0
Median method complexity 1.0
Most complex class GA_Google_Analytics
Most complex function GA_Google_Analytics::validate_settings()
Classes 1
Methods 22
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