Google Analytics 1.3

Does Google Analytics Easy work with WordPress 6.8.3 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.3
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=07a5f82cec
Aspect after-activation
HTTP status 200
Load time 0.258 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.151 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.241 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.366 s0.250 s-0.116 s3.51 MiB3.52 MiB+ 13.18 KiB
/wp-admin/edit.php0.218 s0.211 s-0.007 s3.57 MiB3.58 MiB+ 12.37 KiB
/wp-admin/post-new.php0.854 s0.650 s-0.204 s6.06 MiB6.08 MiB+ 16 KiB
/wp-admin/upload.php0.841 s0.370 s-0.471 s3.52 MiB3.52 MiB- 4.73 KiB
/wp-admin/options-writing.php0.214 s0.200 s-0.014 s3.5 MiB3.5 MiB- 1.05 KiB
/wp-admin/media-new.php0.265 s0.445 s+0.180 s3.49 MiB3.5 MiB+ 7.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.248 s+0.060 s3.5 MiB3.52 MiB+ 17.82 KiB
/wp-admin/post-new.php?post_type=page0.766 s0.644 s-0.122 s6.05 MiB6.06 MiB+ 11.52 KiB
/wp-admin/options-discussion.php0.281 s0.310 s+0.029 s3.5 MiB3.5 MiB- 4.55 KiB
/wp-admin/edit-comments.php0.244 s0.219 s-0.025 s3.52 MiB3.52 MiB- 5.05 KiB
/0.329 s0.229 s-0.100 s3.43 MiB3.45 MiB+ 15.32 KiB
Average 0.415 s0.343 s-0.072 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

[05-Oct-2025 01:20:19 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 78
[05-Oct-2025 01:20:20 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 117
[05-Oct-2025 01:20:28 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