Google Analytics for WordPress by MonsterInsights 8.3.2

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

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

Environment
WordPress version5.9
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=2ef4552f58
Aspect after-activation
HTTP status 200
Load time 1.063 s
Memory usage 3.63 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.780 s
Memory usage 3.64 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 1.008 s
Memory usage 3.64 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.398 s
Memory usage 3.46 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.447 s
Memory usage 3.78 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.135 s
Memory usage 5.67 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.3.2:6:38276)\n    at t (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.3.2:1:101)\n    at Object.<anonymous> (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.3.2:6:37960)\n    at t (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.3.2:1:101)\n    at Object.<anonymous> (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.3.2:6:37704)\n    at t (/wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.3.2:1:101)\n    at /wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.3.2:1:451\n    at /wp-content/plugins/google-analytics-for-wordpress/assets/gutenberg/js/editor.min.js?ver=8.3.2: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.346 s0.576 s+0.230 s3.36 MiB3.78 MiB+ 424.16 KiB
/wp-admin/edit.php0.179 s0.288 s+0.109 s3.39 MiB3.8 MiB+ 415.86 KiB
/wp-admin/post-new.php1.025 s1.425 s+0.400 s6.14 MiB6.58 MiB+ 441.3 KiB
/wp-admin/upload.php0.381 s0.430 s+0.049 s3.24 MiB3.65 MiB+ 422.28 KiB
/wp-admin/options-writing.php0.340 s0.457 s+0.117 s3.24 MiB3.63 MiB+ 407.33 KiB
/wp-admin/media-new.php0.269 s0.264 s-0.005 s3.22 MiB3.63 MiB+ 422.71 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.216 s+0.038 s3.25 MiB3.67 MiB+ 423.93 KiB
/wp-admin/post-new.php?post_type=page0.961 s1.200 s+0.239 s6.14 MiB6.56 MiB+ 432.89 KiB
/wp-admin/options-discussion.php0.228 s0.274 s+0.046 s3.22 MiB3.63 MiB+ 424.27 KiB
/wp-admin/edit-comments.php0.219 s0.261 s+0.042 s3.26 MiB3.73 MiB+ 477.31 KiB
/0.311 s0.335 s+0.024 s3.4 MiB3.45 MiB+ 58.45 KiB
Average 0.403 s0.521 s+0.117 s3.81 MiB4.19 MiB+ 395.5 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.4%38,3008,407123
JavaScript3.4%1,36016113
CSS0.8%315919
SVG0.3%117041
JSON0.0%2001
Markdown0.0%1902
Total 40,131 8,577 199

PHP Code Analysis | More results »

Lines of code 15,511
Total complexity 3,306
Median class complexity 12.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 81
Methods 564
Functions 163

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