GA4WP 2.5.0

Does "Google Analytics plugin for WordPress by GA4WP" work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 162.99 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.6.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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 6

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=90c54c7625
Aspect after-activation
HTTP status 200
Load time 1.067 s
Memory usage 3.76 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.231 s
Memory usage 3.6 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.888 s
Memory usage 3.6 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).tooltip is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ga-for-wp/assests/js/ga4wp.js:39:27)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

GA4WP → Upgrade  ➤

Page screenshot: GA4WP → Upgrade  ➤
URL /wp-admin/admin.php?page=ga4wp_pro_plugin_options-pricing
Aspect menu-item
HTTP status 200
Load time 1.005 s
Memory usage 3.6 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).tooltip is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ga-for-wp/assests/js/ga4wp.js:39:27)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:27330)",
        "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.214 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.342 s
Memory usage 3.68 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).tooltip is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ga-for-wp/assests/js/ga4wp.js:39:27)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.1:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.352 s0.317 s-0.035 s3.47 MiB3.68 MiB+ 210.24 KiB
/wp-admin/edit.php0.217 s0.261 s+0.044 s3.54 MiB3.7 MiB+ 167.3 KiB
/wp-admin/post-new.php0.805 s0.861 s+0.056 s5.75 MiB5.92 MiB+ 168.55 KiB
/wp-admin/upload.php0.682 s0.484 s-0.198 s3.49 MiB3.61 MiB+ 128.83 KiB
/wp-admin/options-writing.php0.231 s0.203 s-0.028 s3.41 MiB3.6 MiB+ 191.38 KiB
/wp-admin/media-new.php0.302 s0.272 s-0.030 s3.4 MiB3.6 MiB+ 204.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.204 s-0.003 s3.47 MiB3.61 MiB+ 147 KiB
/wp-admin/post-new.php?post_type=page0.602 s0.613 s+0.011 s5.75 MiB5.9 MiB+ 160.15 KiB
/wp-admin/options-discussion.php0.228 s0.278 s+0.050 s3.41 MiB3.6 MiB+ 193.07 KiB
/wp-admin/edit-comments.php0.460 s0.233 s-0.227 s3.49 MiB3.62 MiB+ 129.38 KiB
/0.354 s0.215 s-0.139 s3.4 MiB3.49 MiB+ 92.19 KiB
Average 0.404 s0.358 s-0.045 s3.87 MiB4.03 MiB+ 162.99 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
PHP98.0%39,21117,771134
CSS0.9%356114
JavaScript0.6%24714210
Markdown0.5%21601
Total 40,030 17,914 159

PHP Code Analysis | More results »

Lines of code 28,591
Total complexity 6,944
Median class complexity 20.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 61
Methods 1,453
Functions 101

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

Meta Boxes

{
    "dashboard": {
        "ga4wp_status_widget_6": {
            "title": "GA4WP Setup",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

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