Google Analytics for WordPress by MonsterInsights 8.14.0

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

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

Environment
WordPress version6.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=f2b5a59be1
Aspect after-activation
HTTP status 200
Load time 0.891 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.945 s
Memory usage 3.31 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.786 s
Memory usage 3.31 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.240 s
Memory usage 3.12 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.341 s
Memory usage 3.39 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.196 s
Memory usage 5.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.279 s0.336 s+0.057 s3.07 MiB3.39 MiB+ 322.4 KiB
/wp-admin/edit.php0.192 s0.224 s+0.032 s3.1 MiB3.47 MiB+ 376.65 KiB
/wp-admin/post-new.php0.776 s0.885 s+0.109 s5.02 MiB5.34 MiB+ 329.52 KiB
/wp-admin/upload.php0.567 s0.389 s-0.178 s3.02 MiB3.31 MiB+ 294.82 KiB
/wp-admin/options-writing.php0.183 s0.181 s-0.002 s3.01 MiB3.29 MiB+ 283.4 KiB
/wp-admin/media-new.php0.316 s0.277 s-0.039 s2.99 MiB3.29 MiB+ 298.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.230 s+0.038 s3.01 MiB3.33 MiB+ 332.49 KiB
/wp-admin/post-new.php?post_type=page0.627 s0.755 s+0.128 s5.01 MiB5.33 MiB+ 321.1 KiB
/wp-admin/options-discussion.php0.206 s0.282 s+0.076 s3 MiB3.29 MiB+ 297.45 KiB
/wp-admin/edit-comments.php0.212 s0.370 s+0.158 s3.03 MiB3.31 MiB+ 293.72 KiB
/0.287 s0.303 s+0.016 s2.97 MiB3.12 MiB+ 152.58 KiB
Average 0.349 s0.385 s+0.036 s3.39 MiB3.68 MiB+ 300.24 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,18320,523134
JavaScript4.4%1,40926814
CSS3.7%1,1871920
SVG1.7%538051
JSON0.1%2601
Markdown0.1%1902
Total 32,362 20,810 222

PHP Code Analysis | More results »

Lines of code 17,344
Total complexity 3,579
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 179

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

[29-Mar-2023 19:02: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