Analytics_GTAG 1.8.1

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


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

Memory usage: 7.25 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.

WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+ page

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=a60a312c34
Aspect after-activation
HTTP status 200
Load time 0.386 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.161 s
Memory usage 3.1 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
Aspect front-page
HTTP status 200
Load time 0.193 s
Memory usage 2.91 MiB
JS errors None
Resource errors None


URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.301 s0.262 s-0.039 s3.08 MiB3.1 MiB+ 14.5 KiB
/wp-admin/edit.php0.173 s0.168 s-0.005 s3.11 MiB3.13 MiB+ 14.19 KiB
/wp-admin/post-new.php0.907 s1.040 s+0.133 s5.27 MiB5.28 MiB+ 19 KiB
/wp-admin/upload.php0.713 s0.320 s-0.393 s3.03 MiB3.04 MiB+ 13.05 KiB
/wp-admin/options-writing.php0.148 s0.137 s-0.011 s3.02 MiB3.02 MiB- 2.97 KiB
/wp-admin/media-new.php0.248 s0.165 s-0.083 s3.01 MiB3.02 MiB+ 13.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.169 s-0.009 s3.04 MiB3.05 MiB+ 14.13 KiB
/wp-admin/post-new.php?post_type=page0.821 s0.946 s+0.125 s5.26 MiB5.27 MiB+ 14.59 KiB
/wp-admin/options-discussion.php0.207 s0.268 s+0.061 s3 MiB3.02 MiB+ 13.54 KiB
/wp-admin/edit-comments.php0.205 s0.227 s+0.022 s3.04 MiB3.05 MiB+ 13.08 KiB
/0.234 s0.248 s+0.014 s2.96 MiB2.91 MiB- 46.55 KiB
Average 0.376 s0.359 s-0.017 s3.44 MiB3.44 MiB+ 7.25 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.

Language % Lines of code Comment lines Files
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


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