Integration

The GitHub CoPilot icon

Matomo

Receive GitBook traffic insights directly in your Matomo dashboard.

GitHub Copilot dialog with a question about how the GitBook API can be used in Node.js
GitHub Copilot dialog with a question about how the GitBook API can be used in Node.js

Overview

Matomo (formerly Piwik) is a powerful open-source web analytics platform. This integration lets you track visits to your published GitBook spaces directly in your Matomo instance (cloud or self-hosted).

How it works

The integration injects a lightweight tracking script that respects GitBook’s cookie consent. When consent is granted, it sends pageview events to your configured Matomo server using the Matomo Tracking API. Single-page navigation within GitBook is tracked automatically.

Configure

Install the integration on the GitBook space(s) you want to track, then provide your Matomo server URL and Site ID.

“We can use our documentation for prospects, not just customers. Finding a certain page in Google is just way easier with GitBook.”

Roman Musatkin

,

Head of Product & Design

Swarmia

“We can use our documentation for prospects, not just customers. Finding a certain page in Google is just way easier with GitBook.”

Roman Musatkin

,

Head of Product & Design

Swarmia

“We can use our documentation for prospects, not just customers. Finding a certain page in Google is just way easier with GitBook.”

Roman Musatkin

,

Head of Product & Design

Swarmia

Build knowledge that never stands still

Join the thousands of teams using GitBook and create documentation that evolves alongside your product

Build knowledge that never stands still

Join the thousands of teams using GitBook and create documentation that evolves alongside your product

Build knowledge that never stands still

Join the thousands of teams using GitBook and create documentation that evolves alongside your product