Analytics_GTAG 1.8.1

Does Analytics_GTAG work with WordPress 6.8.1 and PHP 8.1.12? 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: 8.36 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=46f2ed715f
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 3.53 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.217 s
Memory usage 3.51 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.266 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.395 s0.374 s-0.021 s3.51 MiB3.52 MiB+ 15.43 KiB
/wp-admin/edit.php0.216 s0.269 s+0.053 s3.57 MiB3.59 MiB+ 15.16 KiB
/wp-admin/post-new.php0.871 s0.694 s-0.177 s6.06 MiB6.08 MiB+ 19.06 KiB
/wp-admin/upload.php0.906 s0.553 s-0.353 s3.52 MiB3.52 MiB- 2.25 KiB
/wp-admin/options-writing.php0.243 s0.224 s-0.019 s3.5 MiB3.5 MiB+ 1.74 KiB
/wp-admin/media-new.php0.329 s0.262 s-0.067 s3.49 MiB3.5 MiB+ 9.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.207 s-0.003 s3.5 MiB3.52 MiB+ 20.61 KiB
/wp-admin/post-new.php?post_type=page0.772 s0.669 s-0.103 s6.05 MiB6.06 MiB+ 14.59 KiB
/wp-admin/options-discussion.php0.341 s0.470 s+0.129 s3.5 MiB3.5 MiB- 1.76 KiB
/wp-admin/edit-comments.php0.443 s0.228 s-0.215 s3.52 MiB3.52 MiB- 2.26 KiB
/0.343 s0.454 s+0.111 s3.43 MiB3.44 MiB+ 1.7 KiB
Average 0.461 s0.400 s-0.060 s3.97 MiB3.98 MiB+ 8.36 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