Google Analytics for WordPress by MonsterInsights 9.6.0

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

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

Environment
WordPress version6.8.1
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 5

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=ea3ea5c572
Aspect after-activation
HTTP status 200
Load time 1.374 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.467 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.437 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.396 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.496 s
Memory usage 4.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.375 s0.502 s+0.127 s3.51 MiB4.31 MiB+ 818.83 KiB
/wp-admin/edit.php0.214 s0.412 s+0.198 s3.57 MiB4.32 MiB+ 769.83 KiB
/wp-admin/post-new.php0.853 s1.618 s+0.765 s6.06 MiB6.94 MiB+ 897.93 KiB
/wp-admin/upload.php0.798 s0.921 s+0.123 s3.52 MiB4.23 MiB+ 723.38 KiB
/wp-admin/options-writing.php0.230 s0.364 s+0.134 s3.5 MiB4.21 MiB+ 727.78 KiB
/wp-admin/media-new.php0.276 s0.409 s+0.133 s3.49 MiB4.21 MiB+ 735.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.336 s+0.150 s3.5 MiB4.23 MiB+ 741.24 KiB
/wp-admin/post-new.php?post_type=page0.730 s0.845 s+0.115 s6.05 MiB6.92 MiB+ 893.46 KiB
/wp-admin/options-discussion.php0.465 s0.542 s+0.077 s3.5 MiB4.21 MiB+ 724.59 KiB
/wp-admin/edit-comments.php0.268 s0.388 s+0.120 s3.52 MiB4.23 MiB+ 723.94 KiB
/0.310 s0.417 s+0.107 s3.43 MiB3.83 MiB+ 401.7 KiB
Average 0.428 s0.614 s+0.186 s3.97 MiB4.69 MiB+ 741.7 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
PHP66.9%33,47820,603171
JavaScript17.1%8,5461,28310
CSS7.7%3,8583817
SVG5.3%2,6503110
JSON3.0%1,52702
Markdown0.0%1902
Total 50,078 21,927 312

PHP Code Analysis | More results »

Lines of code 22,050
Total complexity 4,357
Median class complexity 9.5
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function MonsterInsights_Report::get_data()
Classes 126
Methods 833
Functions 199

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 8

Custom Post Types 1

ID Name
monsterinsights_notePosts

Meta Boxes

{
    "dashboard": {
        "monsterinsights_reports_widget": {
            "title": "MonsterInsights",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[17-Jun-2025 14:54:43 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