Google Analytics for WordPress by MonsterInsights 8.9.1

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

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

Environment
WordPress version6.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=f55c3c784c
Aspect after-activation
HTTP status 200
Load time 1.109 s
Memory usage 3.92 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.808 s
Memory usage 3.9 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.036 s
Memory usage 3.9 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.402 s
Memory usage 3.52 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.407 s
Memory usage 3.99 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 3.145 s
Memory usage 5.9 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.302 s0.561 s+0.259 s3.55 MiB3.99 MiB+ 455.51 KiB
/wp-admin/edit.php0.192 s0.257 s+0.065 s3.58 MiB4.02 MiB+ 446.38 KiB
/wp-admin/post-new.php0.881 s1.533 s+0.652 s5.48 MiB5.93 MiB+ 466.37 KiB
/wp-admin/upload.php0.808 s0.552 s-0.256 s3.49 MiB3.94 MiB+ 465.43 KiB
/wp-admin/options-writing.php0.178 s0.298 s+0.120 s3.48 MiB3.92 MiB+ 447.74 KiB
/wp-admin/media-new.php0.283 s0.288 s+0.005 s3.47 MiB3.92 MiB+ 457.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.228 s+0.027 s3.5 MiB3.95 MiB+ 462.62 KiB
/wp-admin/post-new.php?post_type=page0.758 s0.768 s+0.010 s5.47 MiB5.92 MiB+ 457.92 KiB
/wp-admin/options-discussion.php0.239 s0.266 s+0.027 s3.47 MiB3.92 MiB+ 467.42 KiB
/wp-admin/edit-comments.php0.243 s0.247 s+0.004 s3.5 MiB3.96 MiB+ 465.2 KiB
/0.290 s0.329 s+0.039 s3.47 MiB3.52 MiB+ 47.48 KiB
Average 0.398 s0.484 s+0.087 s3.86 MiB4.27 MiB+ 421.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
PHP92.7%39,8889,307134
JavaScript3.2%1,38215614
CSS2.7%1,1801920
SVG1.2%535048
JSON0.1%2601
Markdown0.0%1902
Total 43,030 9,482 219

PHP Code Analysis | More results »

Lines of code 16,971
Total complexity 3,515
Median class complexity 11.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 92
Methods 622
Functions 172

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

User Metadata wp_usermeta 1

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