Google Analytics for WordPress by MonsterInsights 8.24.0

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: 666.08 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

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=d732775b98
Aspect after-activation
HTTP status 200
Load time 1.766 s
Memory usage 3.99 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.119 s
Memory usage 3.99 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 0.985 s
Memory usage 4 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.632 s
Memory usage 3.67 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.459 s
Memory usage 4.06 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 3.028 s
Memory usage 6.13 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.772 s+0.427 s3.38 MiB4.06 MiB+ 696.36 KiB
/wp-admin/edit.php0.198 s0.531 s+0.333 s3.41 MiB4.14 MiB+ 751.35 KiB
/wp-admin/post-new.php0.870 s1.034 s+0.164 s5.46 MiB6.18 MiB+ 738.83 KiB
/wp-admin/upload.php0.531 s0.910 s+0.379 s3.33 MiB3.98 MiB+ 670.2 KiB
/wp-admin/options-writing.php0.214 s0.340 s+0.126 s3.32 MiB3.97 MiB+ 663.03 KiB
/wp-admin/media-new.php0.294 s0.443 s+0.149 s3.3 MiB3.96 MiB+ 682.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.340 s+0.150 s3.31 MiB4.01 MiB+ 707.55 KiB
/wp-admin/post-new.php?post_type=page0.756 s0.770 s+0.014 s5.45 MiB6.17 MiB+ 739.52 KiB
/wp-admin/options-discussion.php0.247 s0.545 s+0.298 s3.3 MiB3.96 MiB+ 672.2 KiB
/wp-admin/edit-comments.php0.218 s0.366 s+0.148 s3.34 MiB4.01 MiB+ 689.09 KiB
/0.273 s0.296 s+0.023 s3.36 MiB3.67 MiB+ 316.52 KiB
Average 0.376 s0.577 s+0.201 s3.72 MiB4.37 MiB+ 666.08 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
PHP65.6%33,78522,095170
JavaScript20.1%10,3721,78488
CSS7.2%3,6953820
SVG4.3%2,239394
JSON2.7%1,39802
Markdown0.0%1902
Total 51,508 23,920 376

PHP Code Analysis | More results »

Lines of code 20,274
Total complexity 3,958
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 766
Functions 189

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

[19-Feb-2024 18:20:27 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