GithubHelp home page GithubHelp logo

matomo-slack-bot's Introduction

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.

matomo-slack-bot's People

Contributors

krmax44 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.