Google Analytics 1.3

Does Google Analytics Easy work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 7.09 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/wp-ganalytics/
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=wp-ganalytics%2Fanalytics.php&plugin_status=all&paged=1&s&_wpnonce=7e6fe62d7c
Aspect after-activation
HTTP status 200
Load time 0.280 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Settings → Google Analytics

Page screenshot: Settings → Google Analytics
URL /wp-admin/options-general.php?page=analytics
Aspect menu-item
HTTP status 200
Load time 0.143 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.171 s
Memory usage 3.45 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token ','",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.342 s0.268 s-0.074 s3.51 MiB3.52 MiB+ 13.18 KiB
/wp-admin/edit.php0.212 s0.183 s-0.029 s3.57 MiB3.58 MiB+ 12.37 KiB
/wp-admin/post-new.php0.770 s0.634 s-0.136 s6.06 MiB6.08 MiB+ 16 KiB
/wp-admin/upload.php0.600 s0.499 s-0.101 s3.52 MiB3.52 MiB- 4.73 KiB
/wp-admin/options-writing.php0.220 s0.175 s-0.045 s3.5 MiB3.5 MiB- 1.05 KiB
/wp-admin/media-new.php0.329 s0.245 s-0.084 s3.49 MiB3.5 MiB+ 7.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.180 s-0.032 s3.5 MiB3.52 MiB+ 17.82 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.620 s+0.016 s6.05 MiB6.06 MiB+ 11.52 KiB
/wp-admin/options-discussion.php0.308 s0.272 s-0.036 s3.5 MiB3.5 MiB- 4.55 KiB
/wp-admin/edit-comments.php0.419 s0.171 s-0.248 s3.52 MiB3.52 MiB- 5.05 KiB
/0.298 s0.163 s-0.135 s3.43 MiB3.45 MiB+ 15.32 KiB
Average 0.392 s0.310 s-0.082 s3.97 MiB3.98 MiB+ 7.09 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%94221
Total 94 22 1

PHP Code Analysis | More results »

Lines of code 96
Total complexity 8
Median class complexity 8.0
Median method complexity 1.0
Most complex class gogl_plugin_analytics
Most complex function gogl_plugin_analytics::gogl_add_analytics_code()
Classes 1
Methods 8
Functions 0

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

[19-Jul-2025 22:39:51 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 78
[19-Jul-2025 22:39:52 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 117
[19-Jul-2025 22:39:59 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 117
See also: All tests for this plugin, How to Hide the "Google Analytics" Admin Menu