Google Analytics for WordPress by MonsterInsights 10.2.2

Does "Google Analytics for WordPress by MonsterInsights" work with WordPress 7.0.2 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: 830.96 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.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 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=899c18d821
Aspect after-activation
HTTP status 200
Load time 2.028 s
Memory usage 4.72 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.633 s
Memory usage 4.81 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.811 s
Memory usage 4.71 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.737 s
Memory usage 4.8 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.415 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.715 s
Memory usage 4.83 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.408 s
Memory usage 7.28 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.850 s1.138 s+0.288 s3.93 MiB4.83 MiB+ 929.99 KiB
/wp-admin/edit.php1.064 s0.919 s-0.145 s3.98 MiB4.81 MiB+ 848.55 KiB
/wp-admin/post-new.php1.977 s2.401 s+0.424 s6.56 MiB7.53 MiB+ 998.38 KiB
/wp-admin/upload.php1.301 s0.812 s-0.489 s3.89 MiB4.77 MiB+ 900.81 KiB
/wp-admin/options-writing.php0.761 s0.732 s-0.029 s3.86 MiB4.67 MiB+ 827.78 KiB
/wp-admin/media-new.php0.730 s1.201 s+0.471 s3.85 MiB4.67 MiB+ 835.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.933 s0.833 s-0.100 s3.86 MiB4.74 MiB+ 894.27 KiB
/wp-admin/post-new.php?post_type=page2.486 s1.889 s-0.597 s6.55 MiB7.51 MiB+ 986.64 KiB
/wp-admin/options-discussion.php0.867 s0.754 s-0.113 s3.86 MiB4.66 MiB+ 818.78 KiB
/wp-admin/edit-comments.php0.715 s0.682 s-0.033 s3.89 MiB4.76 MiB+ 897.05 KiB
/0.386 s0.303 s-0.083 s4.23 MiB4.43 MiB+ 202.27 KiB
Average 1.097 s1.060 s-0.037 s4.41 MiB5.22 MiB+ 830.96 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.3%136,6727,51030
PHP20.2%40,46524,555209
CSS9.5%19,0269541
SVG0.9%1,7664168
JSON0.9%1,73403
Markdown0.2%43203
Total 200,095 32,164 454

PHP Code Analysis | More results »

Lines of code 28,383
Total complexity 5,831
Median class complexity 13.0
Median method complexity 2.0
Most complex class MonsterInsights_Rest_Routes
Most complex function MonsterInsights_Rest_Routes::get_addons()
Classes 159
Methods 1,217
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

[17-Jul-2026 19:30:54 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
[17-Jul-2026 19:30:54 UTC] MonsterInsights: Running migration 1.0.0-cache-table: Create custom cache table for improved performance
[17-Jul-2026 19:30:54 UTC] MonsterInsights Migration [1.0.0-cache-table] [info]: Creating cache table
[17-Jul-2026 19:30:54 UTC] MonsterInsights Migration [1.0.0-cache-table] [success]: Cache table created successfully
[17-Jul-2026 19:30:54 UTC] MonsterInsights Migration [1.0.0-cache-table] [info]: Checking for old cache data to clean up
[17-Jul-2026 19:30:54 UTC] MonsterInsights Migration [1.0.0-cache-table] [info]: No old cache data found to clean up
[17-Jul-2026 19:30:54 UTC] MonsterInsights Migration [1.0.0-cache-table] [success]: Cache table migration completed
[17-Jul-2026 19:30:54 UTC] MonsterInsights: Migration 1.0.0-cache-table completed successfully in 0.05 seconds
[17-Jul-2026 19:30:54 UTC] MonsterInsights: Running migration 1.0.1-remove-per-user-cache: Remove per-user cache metadata (switched to site-wide cache)
[17-Jul-2026 19:30:54 UTC] MonsterInsights Migration [1.0.1-remove-per-user-cache] [info]: Starting per-user cache cleanup
[17-Jul-2026 19:30:54 UTC] MonsterInsights Migration [1.0.1-remove-per-user-cache] [success]: Removed 0 per-user cache tracking entries from user meta
[17-Jul-2026 19:30:54 UTC] MonsterInsights Migration [1.0.1-remove-per-user-cache] [success]: Per-user cache cleanup completed
[17-Jul-2026 19:30:54 UTC] MonsterInsights: Migration 1.0.1-remove-per-user-cache completed successfully in 0.01 seconds
[17-Jul-2026 19:30:55 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
[17-Jul-2026 19:30:59 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
[17-Jul-2026 19:30:59 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
[17-Jul-2026 19:31:03 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
[17-Jul-2026 19:31: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
See also: All tests for this plugin