定制 itiden/statamic-fa-widget 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

itiden/statamic-fa-widget

最新稳定版本:v2.0.0

Composer 安装命令:

composer require itiden/statamic-fa-widget

包简介

Statamic addon to add a widget with statistics from Fathom Analytics

README 文档

README

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-optional"

You can also manage your settings in the configuration file by publishing it:

php artisan vendor:publish --tag="fa-widget-config"

If you don't set a hostname, your results will be for all hostnames your site has.

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.

The fathom analytics API don't yet support filtering for multiple hostnames, so for now only the first will be used.

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.

统计信息

  • 总下载量: 3.76k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固