Google Analytics for WordPress by MonsterInsights 8.8.2

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

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

Environment
WordPress version6.0.2
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=91215b553e
Aspect after-activation
HTTP status 200
Load time 0.939 s
Memory usage 4.08 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.836 s
Memory usage 4.09 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.134 s
Memory usage 4.09 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.348 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.411 s
Memory usage 4.16 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 2.335 s
Memory usage 5.97 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.321 s0.445 s+0.124 s3.72 MiB4.16 MiB+ 447.66 KiB
/wp-admin/edit.php0.169 s0.230 s+0.061 s3.76 MiB4.18 MiB+ 437.16 KiB
/wp-admin/post-new.php0.892 s1.329 s+0.437 s5.55 MiB5.99 MiB+ 453.9 KiB
/wp-admin/upload.php0.431 s0.503 s+0.072 s3.69 MiB4.11 MiB+ 437.11 KiB
/wp-admin/options-writing.php0.142 s0.331 s+0.189 s3.62 MiB4.09 MiB+ 482.21 KiB
/wp-admin/media-new.php0.392 s0.360 s-0.032 s3.66 MiB4.08 MiB+ 429.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.246 s+0.067 s3.69 MiB4.12 MiB+ 438.76 KiB
/wp-admin/post-new.php?post_type=page1.052 s1.011 s-0.041 s5.54 MiB5.98 MiB+ 445.48 KiB
/wp-admin/options-discussion.php0.228 s0.238 s+0.010 s3.6 MiB4.09 MiB+ 503.1 KiB
/wp-admin/edit-comments.php0.209 s0.241 s+0.032 s3.7 MiB4.12 MiB+ 436.88 KiB
/0.247 s0.302 s+0.055 s3.6 MiB3.65 MiB+ 46.25 KiB
Average 0.387 s0.476 s+0.089 s4.01 MiB4.42 MiB+ 414.37 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
PHP93.3%39,8339,307133
JavaScript3.2%1,37715614
CSS2.8%1,1801920
SVG0.6%240042
JSON0.1%2601
Markdown0.0%1902
Total 42,675 9,482 212

PHP Code Analysis | More results »

Lines of code 16,940
Total complexity 3,516
Median class complexity 11.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 91
Methods 613
Functions 171

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