Better Analytics 1.2.7

Does Better Analytics work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 142.5 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.022 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/better-analytics/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 16

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=better-analytics%2Fbetter-analytics.php&plugin_status=all&paged=1&s&_wpnonce=7daf28ba76
Aspect after-activation
HTTP status 200
Load time 0.258 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Analytics

Page screenshot: Analytics
URL /wp-admin/admin.php?page=better-analytics_heatmaps
Aspect menu-item
HTTP status 200
Load time 0.145 s
Memory usage 4.02 MiB
JS errors None
Resource errors None

Analytics → Goals

Page screenshot: Analytics → Goals
URL /wp-admin/admin.php?page=better-analytics_goals
Aspect menu-item
HTTP status 200
Load time 0.142 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Analytics → A/B Testing

Page screenshot: Analytics → A/B Testing
URL /wp-admin/admin.php?page=better-analytics_experiments
Aspect menu-item
HTTP status 200
Load time 0.135 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Analytics → Settings

Page screenshot: Analytics → Settings
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item
HTTP status 200
Load time 0.326 s
Memory usage 4.02 MiB
JS errors None
Resource errors None

Analytics → Settings → Custom Dimensions

Page screenshot: Analytics → Settings → Custom Dimensions
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.239 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Analytics → Settings → Social

Page screenshot: Analytics → Settings → Social
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.257 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Analytics → Settings → Advertising

Page screenshot: Analytics → Settings → Advertising
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.241 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Analytics → Settings → Monitoring

Page screenshot: Analytics → Settings → Monitoring
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.241 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Analytics → Settings → eCommerce

Page screenshot: Analytics → Settings → eCommerce
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.268 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Analytics → Settings → API

Page screenshot: Analytics → Settings → API
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.240 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Analytics → Settings → Advanced

Page screenshot: Analytics → Settings → Advanced
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.250 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Analytics → Test Setup

Page screenshot: Analytics → Test Setup
URL /wp-admin/tools.php?page=better-analytics_test
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 3.85 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.298 s
Memory usage 3.69 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.522 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.320 s
Memory usage 6.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.364 s0.611 s+0.247 s3.51 MiB3.7 MiB+ 200.66 KiB
/wp-admin/edit.php0.196 s0.216 s+0.020 s3.57 MiB3.72 MiB+ 152.92 KiB
/wp-admin/post-new.php0.753 s0.974 s+0.221 s6.06 MiB6.23 MiB+ 168.71 KiB
/wp-admin/upload.php0.563 s0.324 s-0.239 s3.52 MiB3.66 MiB+ 135.45 KiB
/wp-admin/options-writing.php0.213 s0.243 s+0.030 s3.5 MiB3.63 MiB+ 128.5 KiB
/wp-admin/media-new.php0.250 s0.244 s-0.006 s3.49 MiB3.63 MiB+ 136.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.191 s+0.016 s3.5 MiB3.65 MiB+ 147.37 KiB
/wp-admin/post-new.php?post_type=page0.588 s0.643 s+0.055 s6.05 MiB6.2 MiB+ 152.72 KiB
/wp-admin/options-discussion.php0.417 s0.287 s-0.130 s3.5 MiB3.63 MiB+ 125 KiB
/wp-admin/edit-comments.php0.249 s0.211 s-0.038 s3.52 MiB3.65 MiB+ 124.5 KiB
/0.282 s0.350 s+0.068 s3.43 MiB3.53 MiB+ 94.94 KiB
Average 0.368 s0.390 s+0.022 s3.97 MiB4.11 MiB+ 142.5 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.6%8,27023636
CSS2.8%24292
Markdown0.7%5901
JSON0.5%4401
JavaScript0.5%3902
Total 8,654 245 42

PHP Code Analysis | More results »

Lines of code 5,170
Total complexity 918
Median class complexity 23.0
Median method complexity 2.0
Most complex class DigitalPointBetterAnalytics_Helper_Reporting_Abstract
Most complex function DigitalPointBetterAnalytics_ControllerAdmin_Analytics::actionAreacharts()
Classes 24
Methods 256
Functions 0

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 3

Sidebar Widgets 2

ID Name
better-analytics_popular_widgetBetter Analytics: Popular
better-analytics_stats_widgetBetter Analytics: Stats

Meta Boxes

{
    "dashboard": {
        "better-analytics": {
            "title": "Better Analytics",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[01-May-2025 14:39:28 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Base/Admin.php on line 57
[01-May-2025 14:39:43 UTC] PHP Warning:  Undefined array key "api" in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 360
[01-May-2025 14:39:43 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 360
[01-May-2025 14:39:43 UTC] PHP Warning:  Undefined array key "industryVertical" in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 414
See also: All tests for this plugin, How to Hide Better Analytics Admin Menus and Widgets