GA Google Analytics 20201120

Does GA Google Analytics work with WordPress 5.6.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: 15.89 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.6.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=86d3250344
Aspect after-activation
HTTP status 200
Load time 0.248 s
Memory usage 2.7 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.219 s
Memory usage 2.81 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.255 s
Memory usage 2.63 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.253 s-0.013 s2.79 MiB2.81 MiB+ 18.68 KiB
/wp-admin/edit.php0.181 s0.195 s+0.014 s2.84 MiB2.85 MiB+ 18.68 KiB
/wp-admin/post-new.php0.884 s0.855 s-0.029 s4.93 MiB4.96 MiB+ 22.24 KiB
/wp-admin/upload.php0.511 s0.447 s-0.064 s2.67 MiB2.68 MiB+ 17.59 KiB
/wp-admin/options-writing.php0.159 s0.159 s+0.000 s2.68 MiB2.67 MiB- 14.44 KiB
/wp-admin/media-new.php0.224 s0.166 s-0.058 s2.65 MiB2.66 MiB+ 17.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.203 s+0.006 s2.68 MiB2.76 MiB+ 82.66 KiB
/wp-admin/post-new.php?post_type=page1.207 s0.712 s-0.495 s4.92 MiB4.94 MiB+ 17.83 KiB
/wp-admin/options-discussion.php0.321 s0.221 s-0.100 s2.65 MiB2.66 MiB+ 18.07 KiB
/wp-admin/edit-comments.php0.225 s0.205 s-0.020 s2.75 MiB2.77 MiB+ 17.57 KiB
/0.282 s0.257 s-0.025 s2.67 MiB2.63 MiB- 41.87 KiB
Average 0.405 s0.334 s-0.071 s3.11 MiB3.13 MiB+ 15.89 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