Google Analytics for WordPress by MonsterInsights 8.7.0

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

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

Environment
WordPress version6.0.1
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=10bee82a1d
Aspect after-activation
HTTP status 200
Load time 1.049 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.782 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.929 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.373 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.480 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.765 s
Memory usage 5.96 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.314 s0.792 s+0.478 s3.72 MiB4.15 MiB+ 441.91 KiB
/wp-admin/edit.php0.187 s0.279 s+0.092 s3.75 MiB4.18 MiB+ 431.41 KiB
/wp-admin/post-new.php0.742 s1.188 s+0.446 s5.55 MiB5.98 MiB+ 448.14 KiB
/wp-admin/upload.php0.553 s0.524 s-0.029 s3.68 MiB4.1 MiB+ 431.35 KiB
/wp-admin/options-writing.php0.320 s0.219 s-0.101 s3.62 MiB4.08 MiB+ 476.45 KiB
/wp-admin/media-new.php0.250 s0.259 s+0.009 s3.66 MiB4.08 MiB+ 423.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.305 s+0.132 s3.69 MiB4.11 MiB+ 433 KiB
/wp-admin/post-new.php?post_type=page0.594 s0.752 s+0.158 s5.54 MiB5.97 MiB+ 439.73 KiB
/wp-admin/options-discussion.php0.210 s0.252 s+0.042 s3.6 MiB4.08 MiB+ 497.34 KiB
/wp-admin/edit-comments.php0.203 s0.240 s+0.037 s3.69 MiB4.12 MiB+ 431.12 KiB
/0.309 s0.298 s-0.011 s3.6 MiB3.65 MiB+ 46.13 KiB
Average 0.350 s0.464 s+0.114 s4.01 MiB4.41 MiB+ 409.12 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,9398,620128
JavaScript3.3%1,37715614
CSS1.6%6401920
SVG0.3%120042
JSON0.0%2001
Markdown0.0%1902
Total 41,115 8,795 207

PHP Code Analysis | More results »

Lines of code 16,099
Total complexity 3,385
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 583
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