Lara's Google Analytics (GA4) 4.0.1

Does Lara's Google Analytics (GA4) work with WordPress 6.4.1 and PHP 8.1.12? 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: 18.82 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.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/lara-google-analytics/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=lara-google-analytics%2Flara-google-analytics.php&plugin_status=all&paged=1&s&_wpnonce=37b7622307
Aspect after-activation
HTTP status 200
Load time 0.343 s
Memory usage 3.35 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.223 s
Memory usage 3.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.463 s0.561 s+0.098 s3.38 MiB3.42 MiB+ 40.5 KiB
/wp-admin/edit.php0.291 s0.235 s-0.056 s3.41 MiB3.44 MiB+ 32.4 KiB
/wp-admin/post-new.php1.005 s0.844 s-0.161 s5.46 MiB5.49 MiB+ 36.4 KiB
/wp-admin/upload.php0.714 s0.497 s-0.217 s3.32 MiB3.34 MiB+ 15.03 KiB
/wp-admin/options-writing.php0.270 s0.225 s-0.045 s3.32 MiB3.32 MiB+ 7.62 KiB
/wp-admin/media-new.php0.347 s0.264 s-0.083 s3.29 MiB3.32 MiB+ 27.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.220 s0.239 s+0.019 s3.31 MiB3.34 MiB+ 32.39 KiB
/wp-admin/post-new.php?post_type=page0.648 s0.661 s+0.013 s5.45 MiB5.48 MiB+ 31.98 KiB
/wp-admin/options-discussion.php0.420 s0.357 s-0.063 s3.3 MiB3.32 MiB+ 15.52 KiB
/wp-admin/edit-comments.php0.279 s0.233 s-0.046 s3.34 MiB3.35 MiB+ 15.02 KiB
/0.343 s0.208 s-0.135 s3.36 MiB3.31 MiB- 47.08 KiB
Average 0.455 s0.393 s-0.061 s3.72 MiB3.74 MiB+ 18.82 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
PHP100.0%2,95814918
HTML0.0%101
Total 2,959 149 19

PHP Code Analysis | More results »

Lines of code 1,937
Total complexity 427
Median class complexity 24.0
Median method complexity 2.0
Most complex class Lara\Widgets\GoogleAnalytics\LaraGoogleAnalyticsWidget
Most complex function Lara\Widgets\GoogleAnalytics\LaraGoogleAnalyticsWidget::getMainGraph()
Classes 14
Methods 133
Functions 10

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.

Database Tables 1

Options wp_options 1

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin