Analytics_GTAG 1.8.1

Does Analytics_GTAG work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 11.59 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 100+
WordPress.org page https://wordpress.org/plugins/analytics-gtag/
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=analytics-gtag%2Fanalytics-gtag.php&plugin_status=all&paged=1&s&_wpnonce=14fc601a05
Aspect after-activation
HTTP status 200
Load time 0.241 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Google Analytics

Page screenshot: Google Analytics
URL /wp-admin/admin.php?page=google-analytics-settings-page
Aspect menu-item
HTTP status 200
Load time 0.201 s
Memory usage 3.11 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token '<'",
        "trace": null,
        "code": null
    }
]
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.204 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.339 s0.274 s-0.065 s3.08 MiB3.1 MiB+ 14.5 KiB
/wp-admin/edit.php0.180 s0.184 s+0.004 s3.11 MiB3.13 MiB+ 14.19 KiB
/wp-admin/post-new.php1.071 s1.019 s-0.052 s5.27 MiB5.28 MiB+ 19 KiB
/wp-admin/upload.php0.622 s0.465 s-0.157 s3.03 MiB3.04 MiB+ 13.05 KiB
/wp-admin/options-writing.php0.207 s0.133 s-0.074 s3.02 MiB3.02 MiB- 2.97 KiB
/wp-admin/media-new.php0.250 s0.212 s-0.038 s3.01 MiB3.02 MiB+ 13.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.172 s-0.020 s3.04 MiB3.05 MiB+ 14.13 KiB
/wp-admin/post-new.php?post_type=page1.335 s0.944 s-0.391 s5.26 MiB5.27 MiB+ 14.59 KiB
/wp-admin/options-discussion.php0.331 s0.242 s-0.089 s3 MiB3.02 MiB+ 13.54 KiB
/wp-admin/edit-comments.php0.222 s0.254 s+0.032 s3.04 MiB3.06 MiB+ 13.08 KiB
/0.341 s0.238 s-0.103 s2.91 MiB2.91 MiB+ 1.11 KiB
Average 0.463 s0.376 s-0.087 s3.43 MiB3.45 MiB+ 11.59 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.

JavaScript
CSS
PHP
Language % Lines of code Comment lines Files
JavaScript45.9%1,7301178
CSS44.5%1,676583
PHP9.6%363245
Total 3,769 199 16

PHP Code Analysis | More results »

Lines of code 60
Total complexity 6
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function fn_AGbn_register_mysettings()
Classes 0
Methods 0
Functions 6

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

The log file is empty.

See also: All tests for this plugin, How to Hide the "Google Analytics" Admin Menu