Google Analytics 1.3

Does Google Analytics Easy work with WordPress 6.5.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: 1.15 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.5.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=3a177c90f2
Aspect after-activation
HTTP status 200
Load time 0.228 s
Memory usage 3.39 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.142 s
Memory usage 3.37 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.180 s
Memory usage 3.38 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.358 s0.301 s-0.057 s3.43 MiB3.45 MiB+ 12.98 KiB
/wp-admin/edit.php0.214 s0.181 s-0.033 s3.46 MiB3.47 MiB+ 12.98 KiB
/wp-admin/post-new.php0.950 s0.605 s-0.345 s5.59 MiB5.61 MiB+ 16.55 KiB
/wp-admin/upload.php0.529 s0.502 s-0.027 s3.38 MiB3.37 MiB- 4.42 KiB
/wp-admin/options-writing.php0.224 s0.190 s-0.034 s3.37 MiB3.36 MiB- 12.52 KiB
/wp-admin/media-new.php0.309 s0.240 s-0.069 s3.35 MiB3.36 MiB+ 7.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.198 s-0.012 s3.37 MiB3.38 MiB+ 12.94 KiB
/wp-admin/post-new.php?post_type=page0.531 s0.557 s+0.026 s5.58 MiB5.6 MiB+ 12.14 KiB
/wp-admin/options-discussion.php0.320 s0.307 s-0.013 s3.36 MiB3.35 MiB- 3.99 KiB
/wp-admin/edit-comments.php0.235 s0.209 s-0.026 s3.39 MiB3.39 MiB- 4.43 KiB
/0.324 s0.193 s-0.131 s3.42 MiB3.38 MiB- 37.35 KiB
Average 0.382 s0.317 s-0.066 s3.79 MiB3.79 MiB+ 1.15 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

[14-Apr-2024 08:18:08 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 78
[14-Apr-2024 08:18:08 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 117
[14-Apr-2024 08:18:18 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