Google Analytics for WordPress by MonsterInsights 9.8.0

Does "Google Analytics for WordPress by MonsterInsights" work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 739.26 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,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=759fa40ae3
Aspect after-activation
HTTP status 200
Load time 1.669 s
Memory usage 4.24 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.264 s
Memory usage 4.23 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.095 s
Memory usage 4.24 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.349 s
Memory usage 3.83 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.443 s
Memory usage 4.31 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 1.470 s
Memory usage 6.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.290 s0.882 s+0.592 s3.51 MiB4.31 MiB+ 823.69 KiB
/wp-admin/edit.php0.195 s0.382 s+0.187 s3.57 MiB4.33 MiB+ 773.95 KiB
/wp-admin/post-new.php0.785 s1.282 s+0.497 s6.06 MiB6.94 MiB+ 901.88 KiB
/wp-admin/upload.php0.547 s0.508 s-0.039 s3.52 MiB4.23 MiB+ 727.34 KiB
/wp-admin/options-writing.php0.191 s0.326 s+0.135 s3.5 MiB4.22 MiB+ 731.73 KiB
/wp-admin/media-new.php0.267 s0.591 s+0.324 s3.49 MiB4.21 MiB+ 739.93 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.355 s+0.168 s3.5 MiB4.23 MiB+ 745.2 KiB
/wp-admin/post-new.php?post_type=page0.619 s1.163 s+0.544 s6.05 MiB6.93 MiB+ 897.41 KiB
/wp-admin/options-discussion.php0.451 s0.371 s-0.080 s3.5 MiB4.21 MiB+ 728.54 KiB
/wp-admin/edit-comments.php0.197 s0.369 s+0.172 s3.52 MiB4.23 MiB+ 727.89 KiB
/0.295 s0.491 s+0.196 s3.5 MiB3.83 MiB+ 334.25 KiB
Average 0.366 s0.611 s+0.245 s3.98 MiB4.7 MiB+ 739.26 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.6%33,79420,732175
JavaScript16.6%8,2971,25310
CSS7.7%3,8503817
SVG5.1%2,5253135
JSON3.0%1,50602
Markdown0.0%1902
Total 49,991 22,026 341

PHP Code Analysis | More results »

Lines of code 22,369
Total complexity 4,425
Median class complexity 9.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function MonsterInsights_Report::get_data()
Classes 130
Methods 843
Functions 205

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

[10-Sep-2025 15:01:34 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>google-analytics-for-wordpress</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide Google Analytics for WordPress by MonsterInsights Admin Menus and Widgets