Google Analytics for WordPress by MonsterInsights 7.18.0

Does "Google Analytics for WordPress by MonsterInsights" work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 310.99 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.8.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=1a039febf6
Aspect after-activation
HTTP status 200
Load time 1.166 s
Memory usage 3.29 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.983 s
Memory usage 3.29 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.968 s
Memory usage 3.29 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.426 s
Memory usage 2.98 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.364 s
Memory usage 3.43 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.015 s
Memory usage 4.82 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.303 s0.471 s+0.168 s3.08 MiB3.43 MiB+ 358.93 KiB
/wp-admin/edit.php0.174 s0.297 s+0.123 s3.11 MiB3.45 MiB+ 345.84 KiB
/wp-admin/post-new.php0.759 s1.645 s+0.886 s5.27 MiB5.64 MiB+ 383.97 KiB
/wp-admin/upload.php0.552 s0.626 s+0.074 s3.03 MiB3.36 MiB+ 343.55 KiB
/wp-admin/options-writing.php0.170 s0.255 s+0.085 s3.02 MiB3.28 MiB+ 264.73 KiB
/wp-admin/media-new.php0.243 s0.252 s+0.009 s3.01 MiB3.34 MiB+ 343.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.268 s+0.087 s3.04 MiB3.38 MiB+ 345.2 KiB
/wp-admin/post-new.php?post_type=page0.679 s1.106 s+0.427 s5.26 MiB5.63 MiB+ 382.93 KiB
/wp-admin/options-discussion.php0.242 s0.355 s+0.113 s3 MiB3.28 MiB+ 281.55 KiB
/wp-admin/edit-comments.php0.210 s0.290 s+0.080 s3.04 MiB3.38 MiB+ 342.59 KiB
/0.263 s0.492 s+0.229 s2.96 MiB2.98 MiB+ 27.63 KiB
Average 0.343 s0.551 s+0.207 s3.44 MiB3.74 MiB+ 310.99 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
PHP95.8%36,8157,872109
JavaScript3.2%1,21315613
CSS0.7%272918
SVG0.2%93021
JSON0.1%2001
Markdown0.0%1902
Total 38,432 8,037 164

PHP Code Analysis | More results »

Lines of code 14,167
Total complexity 2,988
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 501
Functions 153

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 1 lines

[09-Sep-2021 03:32:33 UTC] PHP Notice:  wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5663
See also: All tests for this plugin, How to Hide Google Analytics for WordPress by MonsterInsights Admin Menus and Widgets