GA4WP 2.3.1

Does "Google Analytics WordPress Plugin by GA4WP" work with WordPress 6.5.4 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: 145.09 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.5.4
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=23ba8d44d6
Aspect after-activation
HTTP status 200
Load time 1.051 s
Memory usage 3.73 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.282 s
Memory usage 3.49 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.811 s
Memory usage 3.53 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.5.4:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.4: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 0.683 s
Memory usage 3.54 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.5.4:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.4: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.432 s
Memory usage 3.45 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.379 s
Memory usage 3.64 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.5.4:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.4: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.403 s0.432 s+0.029 s3.44 MiB3.64 MiB+ 210.66 KiB
/wp-admin/edit.php0.294 s0.226 s-0.068 s3.46 MiB3.66 MiB+ 206.34 KiB
/wp-admin/post-new.php0.971 s0.670 s-0.301 s5.59 MiB5.76 MiB+ 172.87 KiB
/wp-admin/upload.php0.631 s0.430 s-0.201 s3.38 MiB3.5 MiB+ 126.52 KiB
/wp-admin/options-writing.php0.244 s0.209 s-0.035 s3.37 MiB3.49 MiB+ 117.63 KiB
/wp-admin/media-new.php0.328 s0.279 s-0.049 s3.35 MiB3.48 MiB+ 137.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.388 s+0.184 s3.37 MiB3.53 MiB+ 163.86 KiB
/wp-admin/post-new.php?post_type=page0.587 s0.673 s+0.086 s5.59 MiB5.75 MiB+ 164.47 KiB
/wp-admin/options-discussion.php0.363 s0.300 s-0.063 s3.36 MiB3.48 MiB+ 128.06 KiB
/wp-admin/edit-comments.php0.268 s0.274 s+0.006 s3.39 MiB3.52 MiB+ 129.35 KiB
/0.329 s0.217 s-0.112 s3.42 MiB3.46 MiB+ 39.06 KiB
Average 0.420 s0.373 s-0.048 s3.79 MiB3.93 MiB+ 145.09 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%38,87417,763134
CSS0.9%350114
JavaScript0.6%24714210
Markdown0.5%21601
Total 39,687 17,906 159

PHP Code Analysis | More results »

Lines of code 28,534
Total complexity 6,928
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