Google Analytics for WordPress by MonsterInsights 8.26.0

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

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

Environment
WordPress version6.5.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=e4dd80238f
Aspect after-activation
HTTP status 200
Load time 1.729 s
Memory usage 4.05 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.470 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Insights

Page screenshot: Insights
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.283 s
Memory usage 4.05 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.366 s
Memory usage 3.73 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.539 s
Memory usage 4.12 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.513 s
Memory usage 6.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.442 s0.556 s+0.114 s3.44 MiB4.12 MiB+ 699.83 KiB
/wp-admin/edit.php0.215 s0.700 s+0.485 s3.46 MiB4.2 MiB+ 754.82 KiB
/wp-admin/post-new.php0.886 s1.005 s+0.119 s5.59 MiB6.45 MiB+ 883.06 KiB
/wp-admin/upload.php0.612 s1.268 s+0.656 s3.38 MiB4.04 MiB+ 673.66 KiB
/wp-admin/options-writing.php0.225 s0.473 s+0.248 s3.37 MiB4.02 MiB+ 665.88 KiB
/wp-admin/media-new.php0.309 s0.463 s+0.154 s3.35 MiB4.02 MiB+ 685.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.361 s+0.166 s3.37 MiB4.06 MiB+ 711.02 KiB
/wp-admin/post-new.php?post_type=page0.591 s1.063 s+0.472 s5.59 MiB6.44 MiB+ 879.74 KiB
/wp-admin/options-discussion.php0.320 s0.624 s+0.304 s3.36 MiB4.04 MiB+ 695.66 KiB
/wp-admin/edit-comments.php0.258 s0.412 s+0.154 s3.39 MiB4.07 MiB+ 692.56 KiB
/0.311 s0.360 s+0.049 s3.37 MiB3.73 MiB+ 371.69 KiB
Average 0.397 s0.662 s+0.266 s3.79 MiB4.47 MiB+ 701.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
JavaScript
Language % Lines of code Comment lines Files
PHP68.4%33,68221,929170
JavaScript16.5%8,1191,26610
CSS7.5%3,7003817
SVG4.8%2,346397
JSON2.9%1,41002
Markdown0.0%1902
Total 49,276 23,236 298

PHP Code Analysis | More results »

Lines of code 20,312
Total complexity 3,968
Median class complexity 9.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 121
Methods 767
Functions 191

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

[16-Apr-2024 13:57:15 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