Google Analytics for WordPress by MonsterInsights 9.0.1

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

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

Environment
WordPress version6.6.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=92d15aef11
Aspect after-activation
HTTP status 200
Load time 1.866 s
Memory usage 4.17 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.315 s
Memory usage 4.22 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.169 s
Memory usage 4.23 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.750 s
Memory usage 3.78 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.463 s
Memory usage 4.24 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.819 s
Memory usage 6.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.358 s0.608 s+0.250 s3.47 MiB4.24 MiB+ 781.59 KiB
/wp-admin/edit.php0.214 s0.397 s+0.183 s3.54 MiB4.32 MiB+ 798.38 KiB
/wp-admin/post-new.php0.807 s1.233 s+0.426 s5.75 MiB6.7 MiB+ 967.46 KiB
/wp-admin/upload.php0.610 s0.930 s+0.320 s3.49 MiB4.22 MiB+ 751.02 KiB
/wp-admin/options-writing.php0.231 s0.441 s+0.210 s3.41 MiB4.2 MiB+ 808.08 KiB
/wp-admin/media-new.php0.254 s0.422 s+0.168 s3.4 MiB4.2 MiB+ 821.46 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.400 s+0.190 s3.47 MiB4.22 MiB+ 768.88 KiB
/wp-admin/post-new.php?post_type=page0.598 s0.833 s+0.235 s5.75 MiB6.7 MiB+ 972.57 KiB
/wp-admin/options-discussion.php0.272 s0.587 s+0.315 s3.41 MiB4.2 MiB+ 809.45 KiB
/wp-admin/edit-comments.php0.241 s0.424 s+0.183 s3.49 MiB4.22 MiB+ 751.58 KiB
/0.566 s0.402 s-0.164 s3.45 MiB3.78 MiB+ 336.25 KiB
Average 0.396 s0.607 s+0.211 s3.88 MiB4.64 MiB+ 778.79 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
PHP67.5%34,10422,399171
JavaScript16.9%8,5461,29510
CSS7.5%3,7823817
SVG5.1%2,5783108
JSON3.0%1,49402
Markdown0.0%1902
Total 50,523 23,735 310

PHP Code Analysis | More results »

Lines of code 20,532
Total complexity 4,027
Median class complexity 9.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function MonsterInsights_Report::get_data()
Classes 122
Methods 781
Functions 193

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 10

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

[10-Sep-2024 16:20:32 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