Fathom Widgets Icon

Fathom Widgets

Fathom Widgets Main Screenshot

Statamic Fathom Stats is a Statamic addon that adds widgets for the dashboard.

Preview

Features

This addon provides the following widgets:

  • Pageviews
  • Visitors per device
  • Visitors per page
  • Average duration on site
  • Footer

There's more πŸš€

  • Fully translateable
  • Each widget is optional
  • Each widget allows a custom amount of days

Requirements

  • PHP 8.3 or newer
  • Statamic 6 (Laravel 12 or 13)

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require datascaled/statamic-fathom-stats
php artisan vendor:publish --tag="statamic-fathom-stats-config"

Add the following values to your env file

FATHOM_API_TOKEN=
FATHOM_SITE_ID=

Add the widgets to the widgets array in config/statamic/cp.php:

'widgets' => [
[
'type' => 'general_statistics',
'days' => 30,
'width' => 'full',
],
[
'type' => 'visitors_per_device',
'days' => 30,
'width' => 'md',
],
[
'type' => 'visitors_per_page',
'days' => 30,
'width' => 'md',
],
[
'type' => 'average_duration',
'days' => 30,
'width' => 'full',
],
[
'type' => 'footer',
'width' => 'full',
],
],

Sponsor

Development of this addon is sponsored by Lua.

Made with ❀️ in Zurich by Datascale