Skip to content

truefrontier/statamic-fa-widget

 
 

Repository files navigation

Statamic FA Widget

This is a Statamic widget that shows statistics from Fathom Analytics on your Statamic dashboard. Developed by Itiden.

How to install

Require the addon using Composer

composer require itiden/statamic-fa-widget

How to use

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.

API Notice

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.

Disclaimer

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • PHP 51.5%
  • Vue 38.0%
  • JavaScript 5.4%
  • Blade 5.1%