PHPackages                             simplestats-io/statamic-addon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. simplestats-io/statamic-addon

ActiveStatamic-addon[Admin Panels](/categories/admin)

simplestats-io/statamic-addon
=============================

SimpleStats analytics dashboard for Statamic

v1.1.1(1mo ago)1144MITVuePHP ^8.2CI passing

Since Apr 29Pushed 3w ago1 watchersCompare

[ Source](https://github.com/simplestats-io/statamic-addon)[ Packagist](https://packagist.org/packages/simplestats-io/statamic-addon)[ Docs](https://github.com/simplestats-io/statamic-addon)[ RSS](/packages/simplestats-io-statamic-addon/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Statamic Addon for SimpleStats.io
=================================

[](#statamic-addon-for-simplestatsio)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4e0b8cf6874aad02123ad68292463221c00c27e3328a1bed740ccd0c89604b9e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696d706c6573746174732d696f2f73746174616d69632d6164646f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simplestats-io/statamic-addon)[![Tests](https://github.com/simplestats-io/statamic-addon/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/simplestats-io/statamic-addon/actions/workflows/run-tests.yml)[![Fix PHP code style issues](https://github.com/simplestats-io/statamic-addon/actions/workflows/fix-php-code-style-issues.yml/badge.svg?branch=main)](https://github.com/simplestats-io/statamic-addon/actions/workflows/fix-php-code-style-issues.yml)[![License](https://camo.githubusercontent.com/04b5ec9da19eeb6e247a1ed9ba681d8b9727a3690017f0b47b768b70d951a2a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73696d706c6573746174732d696f2f73746174616d69632d6164646f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simplestats-io/statamic-addon)[![Laravel Compatibility](https://camo.githubusercontent.com/99a9e39fb7bdccecf184a078a1acfc1a97746ffb7871313a3df8e151f7192067/68747470733a2f2f62616467652e6c61726176656c2e636c6f75642f62616467652f73696d706c6573746174732d696f2f73746174616d69632d6164646f6e)](https://packagist.org/packages/simplestats-io/statamic-addon)

The official [Statamic v6](https://statamic.com) addon for [SimpleStats.io](https://simplestats.io). View your analytics directly inside the Statamic Control Panel: visitors, registrations, revenue, top referrers, top sources, and top countries.

[![screenshot](https://camo.githubusercontent.com/6717c7fcde10081aeab0942eac2b7689fe0d9fc98e2745f89e28fad985f890d1/68747470733a2f2f73696d706c6573746174732e696f2f696d616765732f73637265656e73686f745f73746174616d69632e6a7067)](https://camo.githubusercontent.com/6717c7fcde10081aeab0942eac2b7689fe0d9fc98e2745f89e28fad985f890d1/68747470733a2f2f73696d706c6573746174732e696f2f696d616765732f73637265656e73686f745f73746174616d69632e6a7067)

Requirements
------------

[](#requirements)

- PHP 8.2+
- Statamic 6+
- A SimpleStats.io account with an API token

Installation
------------

[](#installation)

Install via Composer:

```
composer require simplestats-io/statamic-addon
```

Optionally publish the config file:

```
php artisan vendor:publish --tag="simplestats-config"
```

Add your API token to `.env`:

```
SIMPLESTATS_API_TOKEN=your-api-token-here
```

That's it. A new **SimpleStats** entry appears under the **Tools** section of the Control Panel navigation. Open it to see your dashboard.

Configuration
-------------

[](#configuration)

All configuration is optional. The addon works out of the box with just an API token.

### Config File

[](#config-file)

If you published the config, you can override the defaults via environment variables:

```
// config/simplestats.php

return [

    /*
     |--------------------------------------------------------------------------
     | SimpleStats API Credentials
     |--------------------------------------------------------------------------
     |
     | Define your API credentials here. The API URL defaults to the hosted
     | SimpleStats instance. If you are self-hosting, change it to your own
     | URL. The API token is the same one used by the Laravel client package.
     |
     */

    'api_url' => env('SIMPLESTATS_API_URL', 'https://simplestats.io/api/v1'),

    'api_token' => env('SIMPLESTATS_API_TOKEN'),

    /*
     |--------------------------------------------------------------------------
     | Cache Duration
     |--------------------------------------------------------------------------
     |
     | API responses are cached to avoid unnecessary requests on every page
     | load. Multiple widgets sharing the same filters will reuse a single
     | cached response. Set to 0 to disable caching.
     |
     */

    'cache_ttl' => 60,

];
```

Dashboard Widgets
-----------------

[](#dashboard-widgets)

The addon provides a dedicated dashboard page in the Control Panel:

WidgetDescription**Stats Overview**KPI cards: Visitors, Registrations, CR, Net Revenue, ARPU, ARPV.**Visitors &amp; Registrations**Line chart showing visitors and registrations over time.**Revenue**Line chart showing gross and net revenue over time.**Top Referrers**Table of top referrers with visitors, registrations, CR, DAU, and revenue.**Top Sources**Top traffic sources by UTM.**Top Countries**Top visitor countries.**Entry Pages**Top landing pages.A time range filter lets you switch between presets (Today, Last 7 Days, Last 30 Days, This Year, All Time, etc.).

Self-Hosted
-----------

[](#self-hosted)

If you are running a self-hosted SimpleStats instance, point the addon to your own API via `.env`:

```
SIMPLESTATS_API_URL=https://your-simplestats-instance.com/api/v1
SIMPLESTATS_API_TOKEN=your-api-token-here
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Zacharias Creutznacher](https://github.com/sairahcaz)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance94

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

40d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf347b32c0d1fceabbcbce7626ad662faa34738396fd9f774231d55370823713?d=identicon)[Sairahcaz](/maintainers/Sairahcaz)

---

Top Contributors

[![Sairahcaz](https://avatars.githubusercontent.com/u/7384870?v=4)](https://github.com/Sairahcaz "Sairahcaz (12 commits)")

---

Tags

analyticslaravelstatamicdashboardanalyticsstatamicsimplestats-ioStatamic addonrevenue-attribution

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/simplestats-io-statamic-addon/health.svg)

```
[![Health](https://phpackages.com/badges/simplestats-io-statamic-addon/health.svg)](https://phpackages.com/packages/simplestats-io-statamic-addon)
```

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.6M217](/packages/backpack-crud)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

232.5k](/packages/eslazarev-wildberries-sdk)[daun/statamic-placeholders

Generate low-quality image placeholders for lazyloading Statamic assets

107.4k](/packages/daun-statamic-placeholders)[daun/statamic-mux

Seamless video encoding and streaming using Mux on Statamic sites

132.7k](/packages/daun-statamic-mux)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
