Google Analytics 1.3

Does Google Analytics Easy work with WordPress 5.8 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: 11.13 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
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=1481673597
Aspect after-activation
HTTP status 200
Load time 0.422 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.140 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.301 s
Memory usage 2.93 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.427 s0.301 s-0.126 s3.08 MiB3.09 MiB+ 12.34 KiB
/wp-admin/edit.php0.196 s0.214 s+0.018 s3.11 MiB3.12 MiB+ 12.34 KiB
/wp-admin/post-new.php1.148 s1.178 s+0.030 s5.27 MiB5.28 MiB+ 16.53 KiB
/wp-admin/upload.php0.602 s0.351 s-0.251 s3.03 MiB3.04 MiB+ 11.21 KiB
/wp-admin/options-writing.php0.195 s0.142 s-0.053 s3.02 MiB3.02 MiB- 4.88 KiB
/wp-admin/media-new.php0.320 s0.194 s-0.126 s3.01 MiB3.02 MiB+ 11.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.186 s-0.030 s3.04 MiB3.05 MiB+ 12.29 KiB
/wp-admin/post-new.php?post_type=page0.959 s1.086 s+0.127 s5.26 MiB5.27 MiB+ 12.12 KiB
/wp-admin/options-discussion.php0.245 s0.322 s+0.077 s3 MiB3.01 MiB+ 11.63 KiB
/wp-admin/edit-comments.php0.265 s0.225 s-0.040 s3.04 MiB3.05 MiB+ 11.2 KiB
/0.313 s0.290 s-0.023 s2.91 MiB2.93 MiB+ 16.3 KiB
Average 0.444 s0.408 s-0.036 s3.43 MiB3.44 MiB+ 11.13 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

[24-Jul-2021 16:11:31 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 78
[24-Jul-2021 16:11:32 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-ganalytics/analytics.php on line 117
[24-Jul-2021 16:11:39 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