GA4WP 2.7.0

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

Summary

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

Memory usage: 141.24 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.7.2
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 5

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=26a20a2119
Aspect after-activation
HTTP status 200
Load time 1.018 s
Memory usage 3.78 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.229 s
Memory usage 3.6 MiB
JS errors None
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.305 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.7.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.2: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.192 s
Memory usage 3.5 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.328 s
Memory usage 3.69 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.7.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.2: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.335 s0.338 s+0.003 s3.48 MiB3.69 MiB+ 210.66 KiB
/wp-admin/edit.php0.203 s0.200 s-0.003 s3.54 MiB3.71 MiB+ 169.6 KiB
/wp-admin/post-new.php0.772 s0.755 s-0.017 s5.93 MiB6.09 MiB+ 173.02 KiB
/wp-admin/upload.php0.566 s0.552 s-0.014 s3.5 MiB3.62 MiB+ 129.25 KiB
/wp-admin/options-writing.php0.222 s0.212 s-0.010 s3.47 MiB3.6 MiB+ 133.71 KiB
/wp-admin/media-new.php0.371 s0.252 s-0.119 s3.46 MiB3.6 MiB+ 141.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.203 s+0.015 s3.48 MiB3.62 MiB+ 147.98 KiB
/wp-admin/post-new.php?post_type=page0.561 s0.614 s+0.053 s5.92 MiB6.08 MiB+ 165.13 KiB
/wp-admin/options-discussion.php0.453 s0.268 s-0.185 s3.48 MiB3.6 MiB+ 130.84 KiB
/wp-admin/edit-comments.php0.245 s0.434 s+0.189 s3.5 MiB3.62 MiB+ 129.87 KiB
/0.306 s0.193 s-0.113 s3.48 MiB3.5 MiB+ 21.68 KiB
Average 0.384 s0.366 s-0.018 s3.93 MiB4.07 MiB+ 141.24 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
PHP95.4%39,79118,013139
SVG2.6%1,07944
CSS0.9%356114
JavaScript0.6%24914312
Markdown0.5%21601
Total 41,691 18,161 170

PHP Code Analysis | More results »

Lines of code 29,234
Total complexity 7,089
Median class complexity 22.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 64
Methods 1,482
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