Google Analytics for WordPress by MonsterInsights 8.13.1

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

Summary

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

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

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

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=73e380e1dd
Aspect after-activation
HTTP status 200
Load time 0.885 s
Memory usage 3.28 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.934 s
Memory usage 3.28 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.737 s
Memory usage 3.28 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.318 s
Memory usage 3.1 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.553 s
Memory usage 3.36 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.307 s
Memory usage 5.25 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.600 s0.326 s-0.274 s3.05 MiB3.36 MiB+ 321.05 KiB
/wp-admin/edit.php0.170 s0.239 s+0.069 s3.08 MiB3.44 MiB+ 375.73 KiB
/wp-admin/post-new.php0.762 s1.406 s+0.644 s4.97 MiB5.29 MiB+ 333.37 KiB
/wp-admin/upload.php0.624 s0.514 s-0.110 s2.99 MiB3.28 MiB+ 295.58 KiB
/wp-admin/options-writing.php0.333 s0.200 s-0.133 s2.99 MiB3.27 MiB+ 283.42 KiB
/wp-admin/media-new.php0.260 s0.283 s+0.023 s2.97 MiB3.26 MiB+ 299.29 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.216 s+0.042 s2.98 MiB3.31 MiB+ 332.68 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.721 s+0.101 s4.96 MiB5.28 MiB+ 324.95 KiB
/wp-admin/options-discussion.php0.199 s0.222 s+0.023 s2.98 MiB3.29 MiB+ 317.58 KiB
/wp-admin/edit-comments.php0.204 s0.238 s+0.034 s3 MiB3.31 MiB+ 314.38 KiB
/0.269 s0.230 s-0.039 s2.94 MiB3.09 MiB+ 153.45 KiB
Average 0.383 s0.418 s+0.035 s3.35 MiB3.65 MiB+ 304.68 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
PHP90.2%29,10620,514134
JavaScript4.3%1,40026814
CSS3.7%1,1871920
SVG1.7%538051
JSON0.1%2601
Markdown0.1%1902
Total 32,276 20,801 222

PHP Code Analysis | More results »

Lines of code 17,269
Total complexity 3,569
Median class complexity 11.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 92
Methods 624
Functions 177

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

[14-Mar-2023 14:10:13 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/google-analytics-for-wordpress/includes/admin/notification-event-runner.php on line 94
See also: All tests for this plugin, How to Hide Google Analytics for WordPress by MonsterInsights Admin Menus and Widgets