Google Analytics 1.3

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

Summary

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

Memory usage: 6.8 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 version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=6312a210fd
Aspect after-activation
HTTP status 200
Load time 0.432 s
Memory usage 3.05 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.146 s
Memory usage 3.01 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.331 s
Memory usage 2.92 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.349 s0.330 s-0.019 s3.08 MiB3.09 MiB+ 12.34 KiB
/wp-admin/edit.php0.197 s0.221 s+0.024 s3.11 MiB3.12 MiB+ 12.34 KiB
/wp-admin/post-new.php1.285 s1.229 s-0.056 s5.27 MiB5.28 MiB+ 16.53 KiB
/wp-admin/upload.php0.643 s0.367 s-0.276 s3.03 MiB3.04 MiB+ 11.21 KiB
/wp-admin/options-writing.php0.180 s0.148 s-0.032 s3.02 MiB3.02 MiB- 4.88 KiB
/wp-admin/media-new.php0.256 s0.208 s-0.048 s3.01 MiB3.02 MiB+ 11.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.206 s-0.003 s3.04 MiB3.05 MiB+ 12.29 KiB
/wp-admin/post-new.php?post_type=page0.929 s1.095 s+0.166 s5.26 MiB5.27 MiB+ 12.12 KiB
/wp-admin/options-discussion.php0.259 s0.316 s+0.057 s3 MiB3.01 MiB+ 11.63 KiB
/wp-admin/edit-comments.php0.233 s0.284 s+0.051 s3.04 MiB3.05 MiB+ 11.2 KiB
/0.327 s0.241 s-0.086 s2.96 MiB2.92 MiB- 31.36 KiB
Average 0.442 s0.422 s-0.020 s3.44 MiB3.44 MiB+ 6.8 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 0.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

[13-Sep-2021 00:51:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 78
[13-Sep-2021 00:51:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 117
[13-Sep-2021 00:52:06 UTC] PHP Notice:  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