Google Analytics for WordPress by MonsterInsights 8.18

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

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

Environment
WordPress version6.3
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=1798049dd5
Aspect after-activation
HTTP status 200
Load time 1.247 s
Memory usage 3.11 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.729 s
Memory usage 3.11 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.206 s
Memory usage 3.12 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.325 s
Memory usage 3.26 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.704 s
Memory usage 3.18 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.736 s
Memory usage 5.56 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.372 s0.850 s+0.478 s2.82 MiB3.18 MiB+ 367.48 KiB
/wp-admin/edit.php0.201 s0.408 s+0.207 s2.85 MiB3.22 MiB+ 379.82 KiB
/wp-admin/post-new.php0.754 s2.024 s+1.270 s5.21 MiB5.63 MiB+ 424.2 KiB
/wp-admin/upload.php0.626 s0.370 s-0.256 s2.77 MiB3.1 MiB+ 340.77 KiB
/wp-admin/options-writing.php0.335 s0.281 s-0.054 s2.76 MiB3.09 MiB+ 333.3 KiB
/wp-admin/media-new.php0.300 s0.585 s+0.285 s2.74 MiB3.09 MiB+ 353.1 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.289 s+0.081 s2.76 MiB3.13 MiB+ 378.44 KiB
/wp-admin/post-new.php?post_type=page0.595 s0.931 s+0.336 s5.21 MiB5.62 MiB+ 420.88 KiB
/wp-admin/options-discussion.php0.240 s0.265 s+0.025 s2.75 MiB3.08 MiB+ 343.39 KiB
/wp-admin/edit-comments.php0.430 s0.268 s-0.162 s2.78 MiB3.11 MiB+ 339.66 KiB
/0.285 s0.313 s+0.028 s3.13 MiB3.26 MiB+ 137.97 KiB
Average 0.395 s0.599 s+0.203 s3.25 MiB3.59 MiB+ 347.18 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,45920,557133
JavaScript4.3%1,41727415
CSS3.7%1,2092421
SVG1.7%547060
JSON0.1%2601
Markdown0.1%1902
Total 32,677 20,855 232

PHP Code Analysis | More results »

Lines of code 17,454
Total complexity 3,510
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 642
Functions 171

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

[09-Aug-2023 03:12:19 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