Google Analytics for WordPress by MonsterInsights 8.5.2

Does "Google Analytics for WordPress by MonsterInsights" work with WordPress 5.9.3 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: 411.91 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000,000+
WordPress.org page https://wordpress.org/plugins/google-analytics-for-wordpress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Welcome to MonsterInsights ‹ Test site — WordPress

Page screenshot: Welcome to MonsterInsights ‹ Test site — WordPress
URL /wp-admin/index.php?page=monsterinsights-getting-started&monsterinsights-redirect=1#/
Requested URL /wp-admin/plugins.php?action=activate&plugin=google-analytics-for-wordpress%2Fgoogleanalytics.php&plugin_status=all&paged=1&s&_wpnonce=a88c4b75e7
Aspect after-activation
HTTP status 200
Load time 0.951 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Dashboard → Insights

Page screenshot: Dashboard → Insights
URL /wp-admin/admin.php?page=monsterinsights_reports#/
Requested URL /wp-admin/admin.php?page=monsterinsights_reports
Aspect menu-item
HTTP status 200
Load time 0.720 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Insights → Settings

Page screenshot: Insights → Settings
URL /wp-admin/admin.php?page=monsterinsights_settings#/
Requested URL /wp-admin/admin.php?page=monsterinsights_settings
Aspect menu-item
HTTP status 200
Load time 1.016 s
Memory usage 3.65 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.333 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.363 s
Memory usage 3.8 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.687 s
Memory usage 5.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.333 s0.515 s+0.182 s3.37 MiB3.8 MiB+ 438.26 KiB
/wp-admin/edit.php0.178 s0.285 s+0.107 s3.4 MiB3.82 MiB+ 429.96 KiB
/wp-admin/post-new.php0.846 s1.089 s+0.243 s5.68 MiB6.12 MiB+ 447.89 KiB
/wp-admin/upload.php0.354 s0.442 s+0.088 s3.25 MiB3.67 MiB+ 436.38 KiB
/wp-admin/options-writing.php0.241 s0.187 s-0.054 s3.24 MiB3.65 MiB+ 421.43 KiB
/wp-admin/media-new.php0.266 s0.493 s+0.227 s3.23 MiB3.65 MiB+ 436.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.283 s+0.095 s3.27 MiB3.75 MiB+ 494.03 KiB
/wp-admin/post-new.php?post_type=page0.658 s0.748 s+0.090 s5.68 MiB6.11 MiB+ 443.48 KiB
/wp-admin/options-discussion.php0.239 s0.338 s+0.099 s3.22 MiB3.65 MiB+ 438.38 KiB
/wp-admin/edit-comments.php0.208 s0.254 s+0.046 s3.27 MiB3.75 MiB+ 491.41 KiB
/0.280 s0.316 s+0.036 s3.4 MiB3.45 MiB+ 52.98 KiB
Average 0.345 s0.450 s+0.105 s3.73 MiB4.13 MiB+ 411.91 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.7%38,8558,640128
JavaScript3.3%1,37415614
CSS1.6%6401920
SVG0.3%120042
JSON0.0%2001
Markdown0.0%1902
Total 41,028 8,815 207

PHP Code Analysis | More results »

Lines of code 16,016
Total complexity 3,365
Median class complexity 11.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 85
Methods 581
Functions 166

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.

Options wp_options 8

Sidebar Widgets 1

ID Name
monsterinsights-popular-posts-widgetPopular Posts - MonsterInsights

Meta Boxes

{
    "dashboard": {
        "monsterinsights_reports_widget": {
            "title": "MonsterInsights",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Google Analytics for WordPress by MonsterInsights Admin Menus and Widgets