Google Analytics for WordPress by MonsterInsights 7.16.1

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

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

Environment
WordPress version5.6.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=986d8dee4d
Aspect after-activation
HTTP status 200
Load time 1.002 s
Memory usage 3.03 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.597 s
Memory usage 3.04 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.641 s
Memory usage 3.04 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.262 s
Memory usage 2.7 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.405 s
Memory usage 3.2 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.046 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.260 s0.567 s+0.307 s2.79 MiB3.2 MiB+ 417.09 KiB
/wp-admin/edit.php0.176 s0.437 s+0.261 s2.84 MiB3.22 MiB+ 396.66 KiB
/wp-admin/post-new.php0.873 s1.058 s+0.185 s4.94 MiB5.35 MiB+ 423.6 KiB
/wp-admin/upload.php0.759 s0.486 s-0.273 s2.67 MiB3.07 MiB+ 407.62 KiB
/wp-admin/options-writing.php0.147 s0.194 s+0.047 s2.68 MiB3.05 MiB+ 376.79 KiB
/wp-admin/media-new.php0.225 s0.266 s+0.041 s2.65 MiB3.04 MiB+ 407.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.242 s+0.063 s2.68 MiB3.08 MiB+ 410.52 KiB
/wp-admin/post-new.php?post_type=page1.058 s0.727 s-0.331 s4.92 MiB5.33 MiB+ 418.56 KiB
/wp-admin/options-discussion.php0.284 s0.309 s+0.025 s2.65 MiB3.05 MiB+ 409.61 KiB
/wp-admin/edit-comments.php0.215 s0.236 s+0.021 s2.75 MiB3.08 MiB+ 343.27 KiB
/0.256 s0.315 s+0.059 s2.61 MiB2.7 MiB+ 86.31 KiB
Average 0.403 s0.440 s+0.037 s3.11 MiB3.47 MiB+ 372.52 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.8%36,5557,796108
JavaScript3.1%1,20315113
SVG1.2%47808
CSS0.7%265918
JSON0.1%2001
Markdown0.0%1902
Total 38,540 7,956 150

PHP Code Analysis | More results »

Lines of code 13,953
Total complexity 2,934
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