This is a Statamic widget that shows statistics from Fathom Analytics on your Statamic dashboard. Developed by Itiden.
Require the addon using Composer
composer require itiden/statamic-fa-widget
You need to add the following variables to your .env
file
FA_API_TOKEN="your-fathom-api-token"
FA_SITE_ID="YOUR-SITE_ID"
FA_HOSTNAME="your-hostname"
FA_SHARE_URL="" # if you're using a share URL
FA_SHARE_PASSWORD="" # if you're using a share URL with password
You also need to add the widget to the widget array in config/statamic/cp.php file, as you would with any other widget.
[
'type' => 'fa',
'width' => 100,
],
We recommend you use the widget at 100 width.
The Fathom Analytics API is in a early access phase and might change causing this addon to fail.
We will do our best to make sure it is updated when the API changes.
Itiden is not affiliated with Fathom Analytics, nor is it part of the company that owns Fathom Analytics, Conva Ventures Inc. We have created this widget for our own use in projects and comissions, and simply want to share it with whoever wants to use it in their project or site.