Skip to content

okfde/matomo-slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matomo Slack Bot

Posts weekly site stats in Slack, like this:

okfde: 1000 visits

okfde/froide: 800 visits

okfde/matomo-slack-bot: 160 visits

How to install

  1. Fork this repo.
  2. Create a Slack Webhook and save the URL as a Github Secret named SLACK_WEBHOOK (repo settings -> Secrets -> Actions).
  3. Create a Matomo Token by navigating to Settings -> Personal -> Security -> Authentification tokens and save it as secret MATOMO_TOKEN.
  4. Create the secrets MATOMO_SERVER with your Matomo URL (e.g. https://matomo.example.com), SITE_ID with your Matomo site identifier (can be found in the dashboard url: /index.php?module=CoreHome&action=index&idSite=123&..., in this case 123) and SITE_URL (your website's URL, e.g. https://example.com)
  5. Trigger the action manually to test it by going to Actions -> post -> Run workflow.
  6. By default, the bot will send the updates every Monday on 10 AM CEST. You can change this in the workflow file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published