Google Analytics 1.3

Does Google Analytics Easy work with WordPress 5.7.2 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: 12.86 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.7.2
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=02427c8a9a
Aspect after-activation
HTTP status 200
Load time 0.278 s
Memory usage 2.72 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.152 s
Memory usage 2.69 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.222 s
Memory usage 2.67 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.540 s0.269 s-0.271 s2.82 MiB2.84 MiB+ 16.71 KiB
/wp-admin/edit.php0.241 s0.211 s-0.030 s2.86 MiB2.88 MiB+ 16.71 KiB
/wp-admin/post-new.php0.824 s0.972 s+0.148 s5.02 MiB5.05 MiB+ 27.91 KiB
/wp-admin/upload.php0.323 s0.456 s+0.133 s2.69 MiB2.71 MiB+ 11.21 KiB
/wp-admin/options-writing.php0.177 s0.151 s-0.026 s2.71 MiB2.69 MiB- 20.51 KiB
/wp-admin/media-new.php0.250 s0.183 s-0.067 s2.67 MiB2.68 MiB+ 11.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.207 s+0.008 s2.77 MiB2.78 MiB+ 12.66 KiB
/wp-admin/post-new.php?post_type=page0.726 s0.661 s-0.065 s5.01 MiB5.03 MiB+ 19.49 KiB
/wp-admin/options-discussion.php0.310 s0.268 s-0.042 s2.67 MiB2.69 MiB+ 12 KiB
/wp-admin/edit-comments.php0.223 s0.216 s-0.007 s2.77 MiB2.79 MiB+ 11.56 KiB
/0.376 s0.255 s-0.121 s2.65 MiB2.67 MiB+ 21.94 KiB
Average 0.381 s0.350 s-0.031 s3.15 MiB3.16 MiB+ 12.86 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

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