Analytics_GTAG 1.8.1

Does Analytics_GTAG work with WordPress 5.7.2 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.89 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 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=1a4051f2d9
Aspect after-activation
HTTP status 200
Load time 0.231 s
Memory usage 2.72 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.169 s
Memory usage 2.8 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.167 s
Memory usage 2.65 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.256 s-0.026 s2.82 MiB2.84 MiB+ 18.42 KiB
/wp-admin/edit.php0.182 s0.198 s+0.016 s2.86 MiB2.88 MiB+ 18.11 KiB
/wp-admin/post-new.php0.948 s1.175 s+0.227 s5.02 MiB5.05 MiB+ 30.92 KiB
/wp-admin/upload.php0.510 s0.407 s-0.103 s2.69 MiB2.71 MiB+ 13.02 KiB
/wp-admin/options-writing.php0.316 s0.139 s-0.177 s2.71 MiB2.69 MiB- 19.01 KiB
/wp-admin/media-new.php0.217 s0.155 s-0.062 s2.67 MiB2.68 MiB+ 13.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.178 s-0.020 s2.77 MiB2.78 MiB+ 14.09 KiB
/wp-admin/post-new.php?post_type=page1.189 s0.707 s-0.482 s5.01 MiB5.02 MiB+ 14.51 KiB
/wp-admin/options-discussion.php0.326 s0.317 s-0.009 s2.67 MiB2.69 MiB+ 13.5 KiB
/wp-admin/edit-comments.php0.223 s0.227 s+0.004 s2.77 MiB2.79 MiB+ 13.04 KiB
/0.259 s0.212 s-0.047 s2.65 MiB2.65 MiB+ 1.03 KiB
Average 0.423 s0.361 s-0.062 s3.15 MiB3.16 MiB+ 11.89 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