Google Analytics for WordPress by MonsterInsights 8.23.1

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.4.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=a97e6c4332
Aspect after-activation
HTTP status 200
Load time 1.074 s
Memory usage 3.77 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.943 s
Memory usage 3.77 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.014 s
Memory usage 3.77 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.242 s
Memory usage 3.46 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.417 s
Memory usage 3.84 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.473 s
Memory usage 5.91 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.429 s0.568 s+0.139 s3.38 MiB3.84 MiB+ 473.53 KiB
/wp-admin/edit.php0.237 s0.407 s+0.170 s3.41 MiB3.92 MiB+ 528.27 KiB
/wp-admin/post-new.php1.079 s0.876 s-0.203 s5.46 MiB5.96 MiB+ 515.75 KiB
/wp-admin/upload.php0.696 s0.615 s-0.081 s3.32 MiB3.76 MiB+ 447.12 KiB
/wp-admin/options-writing.php0.212 s0.266 s+0.054 s3.32 MiB3.75 MiB+ 439.96 KiB
/wp-admin/media-new.php0.344 s0.311 s-0.033 s3.3 MiB3.74 MiB+ 459.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.276 s+0.057 s3.31 MiB3.79 MiB+ 484.48 KiB
/wp-admin/post-new.php?post_type=page0.636 s0.698 s+0.062 s5.45 MiB5.95 MiB+ 516.44 KiB
/wp-admin/options-discussion.php0.354 s0.347 s-0.007 s3.3 MiB3.74 MiB+ 449.43 KiB
/wp-admin/edit-comments.php0.265 s0.260 s-0.005 s3.34 MiB3.79 MiB+ 465.7 KiB
/0.276 s0.238 s-0.038 s3.36 MiB3.46 MiB+ 100.49 KiB
Average 0.432 s0.442 s+0.010 s3.72 MiB4.16 MiB+ 443.66 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.8%32,17721,378146
JavaScript4.1%1,44828916
CSS3.4%1,2092421
SVG1.6%570094
JSON0.1%2601
Markdown0.1%1902
Total 35,449 21,691 280

PHP Code Analysis | More results »

Lines of code 18,604
Total complexity 3,761
Median class complexity 12.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function monsterinsights_admin_setup_notices()
Classes 97
Methods 691
Functions 190

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

[30-Jan-2024 21:46:31 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