Google Analytics for WordPress by MonsterInsights 8.17

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

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

Environment
WordPress version6.2.2
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=135824309c
Aspect after-activation
HTTP status 200
Load time 1.418 s
Memory usage 3.38 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 1.221 s
Memory usage 3.38 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.075 s
Memory usage 3.38 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 3.16 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.434 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.220 s
Memory usage 5.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.272 s0.498 s+0.226 s3.07 MiB3.45 MiB+ 382.36 KiB
/wp-admin/edit.php0.177 s0.317 s+0.140 s3.1 MiB3.53 MiB+ 437.11 KiB
/wp-admin/post-new.php0.742 s1.348 s+0.606 s5.02 MiB5.41 MiB+ 399.73 KiB
/wp-admin/upload.php0.624 s0.436 s-0.188 s3.02 MiB3.36 MiB+ 355.33 KiB
/wp-admin/options-writing.php0.214 s0.204 s-0.010 s3.01 MiB3.35 MiB+ 343.91 KiB
/wp-admin/media-new.php0.383 s0.279 s-0.104 s2.99 MiB3.35 MiB+ 367.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.252 s+0.061 s3.01 MiB3.39 MiB+ 393 KiB
/wp-admin/post-new.php?post_type=page0.586 s0.677 s+0.091 s5.01 MiB5.4 MiB+ 396.35 KiB
/wp-admin/options-discussion.php0.216 s0.305 s+0.089 s3 MiB3.35 MiB+ 357.95 KiB
/wp-admin/edit-comments.php0.226 s0.243 s+0.017 s3.03 MiB3.37 MiB+ 354.23 KiB
/0.374 s0.212 s-0.162 s2.97 MiB3.16 MiB+ 197.79 KiB
Average 0.364 s0.434 s+0.070 s3.38 MiB3.74 MiB+ 362.31 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.3%29,81020,655137
JavaScript4.3%1,41426415
CSS3.7%1,2092421
SVG1.7%547060
JSON0.1%2601
Markdown0.1%1902
Total 33,025 20,943 236

PHP Code Analysis | More results »

Lines of code 17,875
Total complexity 3,600
Median class complexity 11.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 95
Methods 649
Functions 174

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 9

Custom Post Types 1

ID Name
monsterinsights_notePosts

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

[29-Jun-2023 16:12:21 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