GA4WP 1.2

Does "GA4WP: Google Analytics for WordPress" work with WordPress 5.9.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 466.54 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.9.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/ga-for-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

GA4WP ‹ Test site — WordPress

Page screenshot: GA4WP ‹ Test site — WordPress
URL /wp-admin/admin.php?page=ga4wp_pro_plugin_options
Requested URL /wp-admin/plugins.php?action=activate&plugin=ga-for-wp%2Fga-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=e0b56ec340
Aspect after-activation
HTTP status 200
Load time 1.321 s
Memory usage 4.16 MiB
JS errors None
Resource errors None

GA4WP

Page screenshot: GA4WP
URL /wp-admin/admin.php?page=ga4wp_pro_plugin_options
Aspect menu-item
HTTP status 200
Load time 0.346 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

GA4WP → Contact Us

Page screenshot: GA4WP → Contact Us
URL /wp-admin/admin.php?page=ga4wp_pro_plugin_options-contact
Aspect menu-item
HTTP status 200
Load time 0.134 s
Memory usage 3.7 MiB
JS errors None
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.290 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.299 s0.200 s-0.099 s3.37 MiB3.87 MiB+ 516.8 KiB
/wp-admin/edit.php0.141 s0.151 s+0.010 s3.4 MiB3.91 MiB+ 518.07 KiB
/wp-admin/post-new.php0.673 s0.798 s+0.125 s6.14 MiB6.58 MiB+ 451.64 KiB
/wp-admin/upload.php0.399 s0.275 s-0.124 s3.25 MiB3.67 MiB+ 431.34 KiB
/wp-admin/options-writing.php0.230 s0.126 s-0.104 s3.24 MiB3.65 MiB+ 415.19 KiB
/wp-admin/media-new.php0.226 s0.155 s-0.071 s3.23 MiB3.65 MiB+ 432.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.146 s0.143 s-0.003 s3.27 MiB3.68 MiB+ 424.41 KiB
/wp-admin/post-new.php?post_type=page0.537 s0.662 s+0.125 s6.14 MiB6.57 MiB+ 447.23 KiB
/wp-admin/options-discussion.php0.199 s0.273 s+0.074 s3.22 MiB3.64 MiB+ 432.45 KiB
/wp-admin/edit-comments.php0.188 s0.164 s-0.024 s3.27 MiB3.83 MiB+ 579.36 KiB
/0.214 s0.169 s-0.045 s3.35 MiB3.82 MiB+ 483.38 KiB
Average 0.296 s0.283 s-0.012 s3.81 MiB4.26 MiB+ 466.54 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.

PHP
Language % Lines of code Comment lines Files
PHP97.9%30,83616,142114
JavaScript0.8%259523
Markdown0.7%21401
CSS0.5%166012
JSON0.1%2701
Total 31,502 16,194 131

PHP Code Analysis | More results »

Lines of code 21,586
Total complexity 5,492
Median class complexity 16.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 51
Methods 1,160
Functions 96

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.

Options wp_options 5

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide GA4WP Admin Menus and Widgets