Google Analytics 1.3

Does Google Analytics Easy work with WordPress 6.8.1 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.1
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=9931f70db8
Aspect after-activation
HTTP status 200
Load time 0.223 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.121 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.151 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.336 s0.259 s-0.077 s3.51 MiB3.52 MiB+ 13.18 KiB
/wp-admin/edit.php0.177 s0.159 s-0.018 s3.57 MiB3.58 MiB+ 12.37 KiB
/wp-admin/post-new.php0.717 s0.565 s-0.152 s6.06 MiB6.08 MiB+ 15.99 KiB
/wp-admin/upload.php0.503 s0.487 s-0.016 s3.52 MiB3.52 MiB- 4.73 KiB
/wp-admin/options-writing.php0.198 s0.174 s-0.024 s3.5 MiB3.5 MiB- 1.05 KiB
/wp-admin/media-new.php0.243 s0.191 s-0.052 s3.49 MiB3.5 MiB+ 7.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.190 s+0.011 s3.5 MiB3.52 MiB+ 17.82 KiB
/wp-admin/post-new.php?post_type=page0.574 s0.570 s-0.004 s6.05 MiB6.06 MiB+ 11.52 KiB
/wp-admin/options-discussion.php0.433 s0.346 s-0.087 s3.5 MiB3.5 MiB- 4.55 KiB
/wp-admin/edit-comments.php0.245 s0.193 s-0.052 s3.52 MiB3.52 MiB- 5.05 KiB
/0.250 s0.187 s-0.063 s3.43 MiB3.45 MiB+ 15.32 KiB
Average 0.350 s0.302 s-0.049 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

[04-May-2025 14:51: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
[04-May-2025 14:51: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
[04-May-2025 14:51:27 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