Google Analytics for WordPress by MonsterInsights 8.6.0

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=e86f2e419a
Aspect after-activation
HTTP status 200
Load time 0.969 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.563 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.886 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.338 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.328 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.979 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.293 s0.474 s+0.181 s3.72 MiB4.15 MiB+ 441.91 KiB
/wp-admin/edit.php0.159 s0.219 s+0.060 s3.75 MiB4.17 MiB+ 431.09 KiB
/wp-admin/post-new.php0.777 s1.350 s+0.573 s5.53 MiB5.97 MiB+ 452.14 KiB
/wp-admin/upload.php0.354 s0.501 s+0.147 s3.68 MiB4.1 MiB+ 431.35 KiB
/wp-admin/options-writing.php0.160 s0.205 s+0.045 s3.61 MiB4.08 MiB+ 476.86 KiB
/wp-admin/media-new.php0.342 s0.221 s-0.121 s3.66 MiB4.07 MiB+ 423.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.263 s+0.047 s3.68 MiB4.11 MiB+ 433 KiB
/wp-admin/post-new.php?post_type=page0.923 s0.791 s-0.132 s5.53 MiB5.96 MiB+ 443.73 KiB
/wp-admin/options-discussion.php0.187 s0.250 s+0.063 s3.59 MiB4.08 MiB+ 497.34 KiB
/wp-admin/edit-comments.php0.187 s0.221 s+0.034 s3.69 MiB4.11 MiB+ 431.12 KiB
/0.235 s0.362 s+0.127 s3.55 MiB3.64 MiB+ 100.59 KiB
Average 0.348 s0.442 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,9388,633128
JavaScript3.3%1,37715614
CSS1.6%6401920
SVG0.3%120042
JSON0.0%2001
Markdown0.0%1902
Total 41,114 8,808 207

PHP Code Analysis | More results »

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