Better Analytics 1.2.7

Does Better Analytics work with WordPress 6.8.2 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: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.8.2
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=52f47d305b
Aspect after-activation
HTTP status 200
Load time 0.331 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.210 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.153 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.179 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.256 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.273 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.306 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.259 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.288 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.259 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.300 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.239 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.213 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.370 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.426 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.478 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.471 s0.692 s+0.221 s3.51 MiB3.7 MiB+ 200.66 KiB
/wp-admin/edit.php0.244 s0.262 s+0.018 s3.57 MiB3.72 MiB+ 152.92 KiB
/wp-admin/post-new.php0.916 s1.089 s+0.173 s6.06 MiB6.23 MiB+ 168.71 KiB
/wp-admin/upload.php0.689 s0.593 s-0.096 s3.52 MiB3.66 MiB+ 135.45 KiB
/wp-admin/options-writing.php0.258 s0.242 s-0.016 s3.5 MiB3.63 MiB+ 128.5 KiB
/wp-admin/media-new.php0.310 s0.304 s-0.006 s3.49 MiB3.63 MiB+ 136.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.242 s0.229 s-0.013 s3.5 MiB3.65 MiB+ 147.37 KiB
/wp-admin/post-new.php?post_type=page0.670 s0.693 s+0.023 s6.05 MiB6.2 MiB+ 152.72 KiB
/wp-admin/options-discussion.php0.361 s0.413 s+0.052 s3.5 MiB3.63 MiB+ 125 KiB
/wp-admin/edit-comments.php0.472 s0.467 s-0.005 s3.52 MiB3.65 MiB+ 124.5 KiB
/0.388 s0.253 s-0.135 s3.43 MiB3.53 MiB+ 94.94 KiB
Average 0.456 s0.476 s+0.020 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

[16-Jul-2025 18:55:06 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
[16-Jul-2025 18:55:22 UTC] PHP Warning:  Undefined array key "api" in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 360
[16-Jul-2025 18:55:22 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
[16-Jul-2025 18:55:22 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