Google Analytics for WordPress by MonsterInsights 8.0.1

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
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.144 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=a633bbbe82
Aspect after-activation
HTTP status 200
Load time 1.357 s
Memory usage 3.3 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.807 s
Memory usage 3.3 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.947 s
Memory usage 3.3 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.296 s
Memory usage 3.04 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.516 s
Memory usage 3.45 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.773 s
Memory usage 4.85 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'PluginSidebar')\n    at Object.<anonymous> (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.0.1:6:38269)\n    at t (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.0.1:1:101)\n    at Object.<anonymous> (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.0.1:6:37960)\n    at t (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.0.1:1:101)\n    at Object.<anonymous> (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.0.1:6:37704)\n    at t (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.0.1:1:101)\n    at /wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.0.1:1:451\n    at /wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.0.1:1:461",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.301 s0.505 s+0.204 s3.08 MiB3.45 MiB+ 371.89 KiB
/wp-admin/edit.php0.179 s0.265 s+0.086 s3.11 MiB3.48 MiB+ 378.8 KiB
/wp-admin/post-new.php0.839 s1.217 s+0.378 s5.27 MiB5.66 MiB+ 396.93 KiB
/wp-admin/upload.php0.400 s0.507 s+0.107 s3.03 MiB3.38 MiB+ 356.52 KiB
/wp-admin/options-writing.php0.252 s0.195 s-0.057 s3.02 MiB3.36 MiB+ 341.69 KiB
/wp-admin/media-new.php0.342 s0.223 s-0.119 s3.01 MiB3.36 MiB+ 356.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.218 s+0.043 s3.04 MiB3.41 MiB+ 378.16 KiB
/wp-admin/post-new.php?post_type=page0.651 s0.895 s+0.244 s5.26 MiB5.64 MiB+ 395.89 KiB
/wp-admin/options-discussion.php0.244 s0.288 s+0.044 s3 MiB3.29 MiB+ 294.51 KiB
/wp-admin/edit-comments.php0.214 s0.212 s-0.002 s3.04 MiB3.41 MiB+ 375.55 KiB
/0.347 s1.004 s+0.657 s2.91 MiB2.99 MiB+ 81.07 KiB
Average 0.359 s0.503 s+0.144 s3.43 MiB3.77 MiB+ 338.9 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.5%37,6698,129111
JavaScript3.4%1,35815613
CSS0.7%272918
SVG0.2%93021
JSON0.1%2001
Markdown0.0%1902
Total 39,431 8,294 166

PHP Code Analysis | More results »

Lines of code 15,009
Total complexity 3,243
Median class complexity 19.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 69
Methods 545
Functions 162

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