Google Analytics for WordPress by MonsterInsights 7.16.2

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

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

Environment
WordPress version5.7
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=5f56cd2c63
Aspect after-activation
HTTP status 200
Load time 0.998 s
Memory usage 3.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.619 s
Memory usage 3.07 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.645 s
Memory usage 3.07 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.275 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.437 s
Memory usage 3.23 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.167 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.259 s0.332 s+0.073 s2.82 MiB3.23 MiB+ 416.84 KiB
/wp-admin/edit.php0.179 s0.314 s+0.135 s2.86 MiB3.25 MiB+ 396.41 KiB
/wp-admin/post-new.php0.915 s1.318 s+0.403 s5.02 MiB5.46 MiB+ 444.16 KiB
/wp-admin/upload.php0.497 s0.534 s+0.037 s2.7 MiB3.09 MiB+ 407 KiB
/wp-admin/options-writing.php0.149 s0.276 s+0.127 s2.71 MiB3.08 MiB+ 376.54 KiB
/wp-admin/media-new.php0.318 s0.220 s-0.098 s2.67 MiB3.07 MiB+ 407.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.241 s+0.053 s2.77 MiB3.11 MiB+ 346.27 KiB
/wp-admin/post-new.php?post_type=page1.200 s1.572 s+0.372 s5.01 MiB5.44 MiB+ 439.13 KiB
/wp-admin/options-discussion.php0.255 s0.392 s+0.137 s2.67 MiB3.07 MiB+ 409.36 KiB
/wp-admin/edit-comments.php0.224 s0.275 s+0.051 s2.78 MiB3.11 MiB+ 343.02 KiB
/0.255 s0.373 s+0.118 s2.71 MiB2.73 MiB+ 26.38 KiB
Average 0.404 s0.532 s+0.128 s3.16 MiB3.51 MiB+ 364.78 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,803108
JavaScript3.1%1,20315113
SVG1.2%47808
CSS0.7%265918
JSON0.1%2001
Markdown0.0%1902
Total 38,540 7,963 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