Matomo Analytics for Openclaw

An AI-driven integration for Matomo Analytics that enables automated data querying and visitor insight analysis through Openclaw Skills.

ivangdavila
v1.0.1
Feb 26, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install matomo

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install matomo using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Matomo Analytics?

This Openclaw Skills integration allows AI agents to interface directly with Matomo Analytics instances. By bridging the gap between raw data and actionable insights, it empowers developers to query visitor summaries, page views, and conversion goals through a standardized framework. Whether managing a single site or a complex multi-site setup, this skill streamlines the process of extracting meaningful metrics from self-hosted analytics. By utilizing Openclaw Skills, developers can ensure their AI agents handle reporting with precision, security, and technical accuracy.

Matomo Analytics Use Cases

  • Generating automated performance reports using Openclaw Skills
  • Querying real-time visitor insights and traffic source breakdowns
  • Tracking specific goal conversions and e-commerce performance across multiple sites
  • Comparing performance across different date ranges or periods with delta analysis
  • Filtering analytics data using complex visitor segments like device type or geography

How Matomo Analytics Works

  1. The AI agent initializes the skill and reads the site configuration from the local matomo directory.
  2. It identifies the target site ID and ensures the auth token is securely referenced from the system keychain or environment.
  3. The agent constructs a REST API query based on the user's request, specifying methods like VisitsSummary.get or Actions.getPageUrls.
  4. Data is fetched from the user's specific Matomo instance using secure curl-based patterns.
  5. The skill processes the raw JSON response, formatting it into human-readable summaries with calculated deltas and K/M suffixes for readability.
  6. The processed insights are delivered within the Openclaw Skills environment for immediate analysis.

Matomo Analytics Setup

To get started with Matomo for Openclaw Skills, follow these installation steps:

  1. Create the local storage structure:
mkdir -p ~/matomo/reports ~/matomo/queries
  1. Configure your Matomo instance URL and site IDs in the ~/matomo/memory.md file.
  2. Securely store your Matomo Auth Token in your system keychain or as an environment variable (never in plain text).
  3. Refer to the internal setup.md file for specific integration guidelines and credential referencing.

Matomo Analytics Data Schema & Taxonomy

Component Path Description
Memory ~/matomo/memory.md Stores site IDs, credential references, and user preferences.
Reports ~/matomo/reports/ Directory for saved report templates and historical snapshots.
Queries ~/matomo/queries/ Reusable API query templates for consistent data fetching.

Matomo Analytics Advanced Features

  • Advanced visitor segmentation using Openclaw Skills logic (e.g., filtering by browser, country, or visitor type)
  • Multi-site management with intelligent site ID mapping and switching
  • Automatic period comparison to highlight significant performance changes (>10% delta)
  • Local result caching to respect Matomo API rate limits and improve response speed
  • Secure credential handling using reference-based authentication to keep tokens private

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*