Google Analytics for WordPress by MonsterInsights 10.2.0

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

Summary

Errors
6PHP notices
12Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 849.53 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 version7.0
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 7

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=410909d115
Aspect after-activation
HTTP status 200
Load time 1.927 s
Memory usage 4.73 MiB
JS errors None
Resource errors None

Dashboard → Insights

Page screenshot: Dashboard → Insights
URL /wp-admin/admin.php?page=monsterinsights_overview_report#/
Requested URL /wp-admin/admin.php?page=monsterinsights_reports
Aspect menu-item
HTTP status 200
Load time 2.571 s
Memory usage 4.82 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.689 s
Memory usage 4.74 MiB
JS errors None
Resource errors None

Insights → Reports

Page screenshot: Insights → Reports
URL /wp-admin/admin.php?page=monsterinsights_overview_report#/
Requested URL /wp-admin/admin.php?page=monsterinsights_overview_report
Aspect menu-item
HTTP status 200
Load time 1.201 s
Memory usage 4.81 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.491 s
Memory usage 4.49 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.774 s
Memory usage 4.85 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.739 s
Memory usage 7.29 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.065 s0.759 s-0.306 s3.93 MiB4.85 MiB+ 942.06 KiB
/wp-admin/edit.php0.628 s0.849 s+0.221 s3.98 MiB4.83 MiB+ 868.62 KiB
/wp-admin/post-new.php2.211 s2.054 s-0.157 s6.56 MiB7.54 MiB+ 1010.46 KiB
/wp-admin/upload.php1.288 s0.842 s-0.446 s3.89 MiB4.78 MiB+ 912.89 KiB
/wp-admin/options-writing.php0.594 s1.038 s+0.444 s3.86 MiB4.74 MiB+ 899.2 KiB
/wp-admin/media-new.php0.620 s0.682 s+0.062 s3.85 MiB4.7 MiB+ 864.19 KiB
/wp-admin/edit-tags.php?taxonomy=category1.109 s0.600 s-0.509 s3.86 MiB4.75 MiB+ 906.34 KiB
/wp-admin/post-new.php?post_type=page1.707 s2.153 s+0.446 s6.55 MiB7.52 MiB+ 998.72 KiB
/wp-admin/options-discussion.php0.589 s0.840 s+0.251 s3.86 MiB4.68 MiB+ 830.86 KiB
/wp-admin/edit-comments.php0.948 s0.634 s-0.314 s3.89 MiB4.77 MiB+ 909.13 KiB
/0.367 s0.262 s-0.105 s4.23 MiB4.43 MiB+ 202.36 KiB
Average 1.011 s0.974 s-0.038 s4.41 MiB5.24 MiB+ 849.53 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.

JavaScript
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript68.1%136,6277,51030
PHP20.4%40,85924,754213
CSS9.6%19,2359541
SVG0.9%1,7664168
JSON0.9%1,73903
Markdown0.2%43203
Total 200,658 32,363 458

PHP Code Analysis | More results »

Lines of code 28,779
Total complexity 5,909
Median class complexity 14.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function MonsterInsights_Rest_Routes::get_addons()
Classes 163
Methods 1,249
Functions 234

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.

Database Tables 1

Options wp_options 17

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 18 lines

[20-May-2026 19:03:57 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 6170
[20-May-2026 19:03:57 UTC] MonsterInsights: Running migration 1.0.0-cache-table: Create custom cache table for improved performance
[20-May-2026 19:03:57 UTC] MonsterInsights Migration [1.0.0-cache-table] [info]: Creating cache table
[20-May-2026 19:03:57 UTC] MonsterInsights Migration [1.0.0-cache-table] [success]: Cache table created successfully
[20-May-2026 19:03:57 UTC] MonsterInsights Migration [1.0.0-cache-table] [info]: Checking for old cache data to clean up
[20-May-2026 19:03:57 UTC] MonsterInsights Migration [1.0.0-cache-table] [info]: No old cache data found to clean up
[20-May-2026 19:03:57 UTC] MonsterInsights Migration [1.0.0-cache-table] [success]: Cache table migration completed
[20-May-2026 19:03:57 UTC] MonsterInsights: Migration 1.0.0-cache-table completed successfully in 0.05 seconds
[20-May-2026 19:03:57 UTC] MonsterInsights: Running migration 1.0.1-remove-per-user-cache: Remove per-user cache metadata (switched to site-wide cache)
[20-May-2026 19:03:57 UTC] MonsterInsights Migration [1.0.1-remove-per-user-cache] [info]: Starting per-user cache cleanup
[20-May-2026 19:03:57 UTC] MonsterInsights Migration [1.0.1-remove-per-user-cache] [success]: Removed 0 per-user cache tracking entries from user meta
[20-May-2026 19:03:57 UTC] MonsterInsights Migration [1.0.1-remove-per-user-cache] [success]: Per-user cache cleanup completed
[20-May-2026 19:03:57 UTC] MonsterInsights: Migration 1.0.1-remove-per-user-cache completed successfully in 0.00 seconds
[20-May-2026 19:03:57 UTC] PHP Notice:  Function WP_Scripts::add was called <strong>incorrectly</strong>. The script with the handle "wp-date" was enqueued with dependencies that are not registered: moment. 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.9.1.) in /wp-includes/functions.php on line 6170
[20-May-2026 19:04:01 UTC] PHP Notice:  Function WP_Scripts::add was called <strong>incorrectly</strong>. The script with the handle "wp-date" was enqueued with dependencies that are not registered: moment. 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.9.1.) in /wp-includes/functions.php on line 6170
[20-May-2026 19:04:02 UTC] PHP Notice:  Function WP_Scripts::add was called <strong>incorrectly</strong>. The script with the handle "wp-date" was enqueued with dependencies that are not registered: moment. 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.9.1.) in /wp-includes/functions.php on line 6170
[20-May-2026 19:04:06 UTC] PHP Notice:  Function WP_Scripts::add was called <strong>incorrectly</strong>. The script with the handle "wp-date" was enqueued with dependencies that are not registered: moment. 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.9.1.) in /wp-includes/functions.php on line 6170
[20-May-2026 19:04:08 UTC] PHP Notice:  Function WP_Scripts::add was called <strong>incorrectly</strong>. The script with the handle "wp-date" was enqueued with dependencies that are not registered: moment. 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.9.1.) in /wp-includes/functions.php on line 6170
See also: All tests for this plugin