Analytics_GTAG 1.8.1

Does Analytics_GTAG work with WordPress 6.0.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: 6.71 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 version6.0.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=15051d1739
Aspect after-activation
HTTP status 200
Load time 0.394 s
Memory usage 3.71 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.196 s
Memory usage 3.7 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.249 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.313 s-0.031 s3.72 MiB3.74 MiB+ 14.19 KiB
/wp-admin/edit.php0.190 s0.197 s+0.007 s3.76 MiB3.77 MiB+ 14.5 KiB
/wp-admin/post-new.php0.969 s1.208 s+0.239 s5.55 MiB5.57 MiB+ 22.38 KiB
/wp-admin/upload.php0.472 s0.390 s-0.082 s3.69 MiB3.7 MiB+ 13.37 KiB
/wp-admin/options-writing.php0.300 s0.153 s-0.147 s3.62 MiB3.61 MiB- 6.73 KiB
/wp-admin/media-new.php0.399 s0.203 s-0.196 s3.66 MiB3.68 MiB+ 13.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.298 s+0.082 s3.69 MiB3.7 MiB+ 14.45 KiB
/wp-admin/post-new.php?post_type=page0.903 s0.980 s+0.077 s5.54 MiB5.56 MiB+ 13.96 KiB
/wp-admin/options-discussion.php0.208 s0.204 s-0.004 s3.6 MiB3.61 MiB+ 13.85 KiB
/wp-admin/edit-comments.php0.215 s0.216 s+0.001 s3.7 MiB3.71 MiB+ 13.39 KiB
/0.276 s0.211 s-0.065 s3.6 MiB3.55 MiB- 53.07 KiB
Average 0.408 s0.398 s-0.011 s4.01 MiB4.02 MiB+ 6.71 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