Google Analytics for WordPress by MonsterInsights 8.5.3

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

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

Environment
WordPress version6.0
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=039197f6f8
Aspect after-activation
HTTP status 200
Load time 1.037 s
Memory usage 4.07 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.687 s
Memory usage 4.08 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 0.926 s
Memory usage 4.08 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.314 s
Memory usage 3.65 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.460 s
Memory usage 4.15 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.567 s
Memory usage 5.95 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.359 s0.483 s+0.124 s3.72 MiB4.15 MiB+ 441.91 KiB
/wp-admin/edit.php0.172 s0.291 s+0.119 s3.75 MiB4.17 MiB+ 431.09 KiB
/wp-admin/post-new.php0.742 s1.118 s+0.376 s5.53 MiB5.97 MiB+ 452.14 KiB
/wp-admin/upload.php0.395 s0.573 s+0.178 s3.68 MiB4.1 MiB+ 431.35 KiB
/wp-admin/options-writing.php0.284 s0.224 s-0.060 s3.61 MiB4.08 MiB+ 476.86 KiB
/wp-admin/media-new.php0.282 s0.267 s-0.015 s3.66 MiB4.07 MiB+ 423.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.235 s+0.048 s3.68 MiB4.11 MiB+ 433 KiB
/wp-admin/post-new.php?post_type=page0.578 s0.686 s+0.108 s5.53 MiB5.96 MiB+ 443.73 KiB
/wp-admin/options-discussion.php0.237 s0.343 s+0.106 s3.59 MiB4.08 MiB+ 497.34 KiB
/wp-admin/edit-comments.php0.229 s0.248 s+0.019 s3.69 MiB4.11 MiB+ 431.12 KiB
/0.252 s0.277 s+0.025 s3.55 MiB3.64 MiB+ 100.59 KiB
Average 0.338 s0.431 s+0.093 s4 MiB4.4 MiB+ 414.81 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,8598,619128
JavaScript3.4%1,37715614
CSS1.6%6401920
SVG0.3%120042
JSON0.0%2001
Markdown0.0%1902
Total 41,035 8,794 207

PHP Code Analysis | More results »

Lines of code 16,020
Total complexity 3,368
Median class complexity 12.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