Skip to content

ArtisanPack UI home

Analytics

A privacy-first analytics package for Laravel. Analytics stores data locally for complete ownership, ships GDPR consent management, and gives you real-time Livewire dashboards — with optional GA4 and Plausible providers and AI insight agents.

v1.5.1

MIT License

★ 0

composer require artisanpack-ui/analytics
terminal
$ composer require artisanpack-ui/analytics
  ✓ Installed
$ php artisan analytics:install
  ✓ Migrations, config & assets published

  @analyticsScripts  → added to your layout

What it does

Privacy-first analytics, fully yours

Track visitors, sessions and goals without handing your data to a third party — and layer in GA4 or Plausible only if you want to.

Privacy first

Local database storage means complete data ownership — nothing leaves your app.

Built-in consent management with Do Not Track support and IP anonymization.

Real-time dashboard

A live Livewire dashboard with visitor counts, top pages and traffic sources.

Events & goals

Track custom events and set conversion goals with progress tracking.

Multi-tenant

Resolve sites by domain, subdomain, API key or header for multi-tenant setups.

External providers

Optional GA4 and Plausible integration, plus custom providers and filter hooks.

Install and drop in the dashboard

The installer handles migrations, config and assets. Add @analyticsScripts to your layout and the dashboard is a single Livewire tag.

1 · Install

composer require artisanpack-ui/analytics

2 · Run the installer

php artisan analytics:install

3 · Embed the dashboard

<livewire:artisanpack-analytics::analytics-dashboard />

What you need

Requirement Detail
PHP 8.2+ (8.3+ on Laravel 13)
Laravel 8.2+
11.x, 12.x or 13.x 3.6.4+
Laravel 13 requires PHP 8.3+. PHP 8.2 users continue to receive Laravel 11 / 12.

Own your analytics with Analytics

Ship a privacy-first, self-hosted analytics dashboard in minutes. Free and open source under the MIT license.