GA4WP 2.6.0

Does "Google Analytics WordPress Plugin by GA4WP" work with WordPress 6.7.1 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: 147.58 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.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 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=4816c58cf7
Aspect after-activation
HTTP status 200
Load time 1.065 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.217 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.402 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.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.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.216 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.290 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.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.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.298 s0.326 s+0.028 s3.48 MiB3.69 MiB+ 210.48 KiB
/wp-admin/edit.php0.203 s0.219 s+0.016 s3.54 MiB3.71 MiB+ 169.41 KiB
/wp-admin/post-new.php0.802 s0.646 s-0.156 s5.92 MiB6.09 MiB+ 172.84 KiB
/wp-admin/upload.php0.571 s0.320 s-0.251 s3.5 MiB3.62 MiB+ 129.06 KiB
/wp-admin/options-writing.php0.205 s0.187 s-0.018 s3.47 MiB3.6 MiB+ 133.52 KiB
/wp-admin/media-new.php0.367 s0.214 s-0.153 s3.46 MiB3.6 MiB+ 141.72 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.195 s+0.021 s3.48 MiB3.62 MiB+ 147.8 KiB
/wp-admin/post-new.php?post_type=page0.569 s0.599 s+0.030 s5.92 MiB6.08 MiB+ 164.95 KiB
/wp-admin/options-discussion.php0.282 s0.569 s+0.287 s3.47 MiB3.6 MiB+ 130.65 KiB
/wp-admin/edit-comments.php0.197 s0.224 s+0.027 s3.49 MiB3.62 MiB+ 129.68 KiB
/0.301 s0.195 s-0.106 s3.41 MiB3.5 MiB+ 93.23 KiB
Average 0.361 s0.336 s-0.025 s3.92 MiB4.07 MiB+ 147.58 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.9%39,67717,957139
SVG2.6%1,07944
CSS0.9%356114
JavaScript0.6%24914312
Total 41,361 18,105 169

PHP Code Analysis | More results »

Lines of code 29,126
Total complexity 7,065
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,479
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