Google Analytics for WordPress by MonsterInsights 7.17.0

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

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

Environment
WordPress version5.7.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=1e6284c39f
Aspect after-activation
HTTP status 200
Load time 1.072 s
Memory usage 3.04 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.628 s
Memory usage 3.03 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.636 s
Memory usage 3.03 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.518 s
Memory usage 2.73 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.544 s
Memory usage 3.19 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 0.951 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.265 s0.513 s+0.248 s2.82 MiB3.19 MiB+ 379.62 KiB
/wp-admin/edit.php0.186 s0.258 s+0.072 s2.86 MiB3.21 MiB+ 359.2 KiB
/wp-admin/post-new.php0.930 s1.481 s+0.551 s5.02 MiB5.42 MiB+ 406.95 KiB
/wp-admin/upload.php0.502 s0.484 s-0.018 s2.7 MiB3.06 MiB+ 369.84 KiB
/wp-admin/options-writing.php0.227 s0.218 s-0.009 s2.71 MiB3.04 MiB+ 339.38 KiB
/wp-admin/media-new.php0.218 s0.246 s+0.028 s2.67 MiB3.03 MiB+ 370.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.338 s+0.147 s2.77 MiB3.07 MiB+ 309.1 KiB
/wp-admin/post-new.php?post_type=page1.138 s0.753 s-0.385 s5.01 MiB5.41 MiB+ 406.32 KiB
/wp-admin/options-discussion.php0.270 s0.266 s-0.004 s2.68 MiB3.04 MiB+ 372.14 KiB
/wp-admin/edit-comments.php0.231 s0.259 s+0.028 s2.78 MiB3.07 MiB+ 305.8 KiB
/0.354 s0.356 s+0.002 s2.71 MiB2.73 MiB+ 26.32 KiB
Average 0.410 s0.470 s+0.060 s3.16 MiB3.48 MiB+ 331.36 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.9%36,6597,777108
JavaScript3.1%1,20615613
SVG1.2%47808
CSS0.7%265918
JSON0.1%2001
Markdown0.0%1902
Total 38,647 7,942 150

PHP Code Analysis | More results »

Lines of code 14,056
Total complexity 2,952
Median class complexity 19.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 67
Methods 497
Functions 148

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