Exclude IPs From Google Analytics 1.00

Does "Exclude IPs From Google Analytics" work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 4.06 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 version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/exclude-ips-from-google-analytics/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=exclude-ips-from-google-analytics%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=5cddbbbea3
Aspect after-activation
HTTP status 200
Load time 0.258 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Settings → Analytics

Page screenshot: Settings → Analytics
URL /wp-admin/options-general.php?page=analytics-plugin-settings
Aspect menu-item
HTTP status 200
Load time 0.148 s
Memory usage 3.52 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.172 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.280 s-0.058 s3.51 MiB3.52 MiB+ 10.23 KiB
/wp-admin/edit.php0.203 s0.192 s-0.011 s3.57 MiB3.58 MiB+ 10.59 KiB
/wp-admin/post-new.php0.789 s0.632 s-0.157 s6.06 MiB6.08 MiB+ 13.86 KiB
/wp-admin/upload.php0.767 s0.492 s-0.275 s3.52 MiB3.52 MiB- 6.82 KiB
/wp-admin/options-writing.php0.228 s0.183 s-0.045 s3.5 MiB3.5 MiB- 2.83 KiB
/wp-admin/media-new.php0.292 s0.249 s-0.043 s3.49 MiB3.5 MiB+ 5.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.179 s-0.013 s3.5 MiB3.52 MiB+ 16.04 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.629 s+0.018 s6.05 MiB6.06 MiB+ 9.39 KiB
/wp-admin/options-discussion.php0.455 s0.217 s-0.238 s3.5 MiB3.5 MiB- 6.33 KiB
/wp-admin/edit-comments.php0.405 s0.183 s-0.222 s3.52 MiB3.52 MiB- 6.83 KiB
/0.335 s0.172 s-0.163 s3.43 MiB3.44 MiB+ 1.94 KiB
Average 0.420 s0.310 s-0.110 s3.97 MiB3.97 MiB+ 4.06 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
Language % Lines of code Comment lines Files
PHP100.0%124233
Total 124 23 3

PHP Code Analysis | More results »

Lines of code 113
Total complexity 24
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function evgPlaceCodeFromGoogleAnalytics()
Classes 0
Methods 0
Functions 10

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.

No new entries found.

PHP Error Log 2 lines

[17-May-2025 21:29:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/exclude-ips-from-google-analytics/functions.php on line 49
[17-May-2025 21:29:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/exclude-ips-from-google-analytics/functions.php on line 61
See also: All tests for this plugin, How to Hide the "Analytics" Admin Menu