Google Analytics for WordPress by MonsterInsights 11.1.0

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
1PHP notices
12Unrecognized messages in the PHP error log
No JavaScript exceptions
1Page failed to load
  • 1 400 Bad Request
No resource errors
Performance

No data available.

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 1

Application Error - MonsterInsights App

Page screenshot: Application Error - MonsterInsights App
URL https://connect.monsterinsights.com/
Requested URL /wp-admin/plugins.php?action=activate&plugin=google-analytics-for-wordpress%2Fgoogleanalytics.php&plugin_status=all&paged=1&s&_wpnonce=5c949c2f92
Aspect after-activation
HTTP status 400
Load time 1.338 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

No benchmark data available.

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
CSS
PHP
Language % Lines of code Comment lines Files
JavaScript65.6%184,6947,398156
CSS15.2%42,846245107
PHP14.5%40,80024,861209
JSON3.7%10,49004
SVG0.8%2,2974225
Markdown0.2%43203
Total 281,559 32,508 704

PHP Code Analysis | More results »

Lines of code 28,726
Total complexity 5,911
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,219
Functions 236

Additions

No data available.

PHP Error Log 13 lines

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