Head to head · Event analytics · October 2026 research run
Heap vs Matomo
Matomo scores 63.6 (B) on agent readiness against Heap's 49.8 (D), and leads in 6 of 7 scored categories. Heap leads on reliability. Both do event analytics.
Best product analytics and experimentation tools for AI agents · All 203 product analytics comparisons
Which one, for what
Heap D
Best for An agent that records backend events or enriches user and account properties in a company's existing Heap project, or that files privacy deletions.
Ahead on
- Reliability, 47 against 38
Also in its favour
- A hosted endpoint, with nothing to install
Watch for
No query, export or definitions endpoint in the developer reference. Reading results needs the app, Heap Connect or the MCP server we couldn't read
Matomo B
Best for Teams that want web and product analytics with data kept in the EU or on their own servers, queried by report, segment, funnel or cohort.
Ahead on
- Schema & documentation, 73 against 57
- Agent ergonomics, 78 against 49
- Security & auth, 71 against 41
- Payments & pricing, 45 against 38
- Maintenance & community, 79 against 63
- Transparency & trust, 74 against 66
Also in its favour
- Free to start without a card
- Open source
Watch for
No API rate limit numbers, 429 or retry guidance, or idempotency keys were found. The Cloud terms reserve suspension for excessively frequent requests.
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Security & auth Matomo +30
Heap 41
Track, identify and property calls carry no secret. The OpenAPI fragment declares an empty security requirement and the only identifier is the environment ID that the web snippet publishes. User deletion uses one admin-generated API key per account, exchanged for a temporary token. No scopes or rotation guidance found (8 of 30). Ingest is write-only by design. Deletion of up to 10,000 users has no confirmation step (5). The API returns no untrusted content (10). Audit logs are unchecked because help.heap.io answered with a bot check, so none are counted (0). Contentsquare publishes a signed security.txt valid to 31 January 2028 on contentsquare.com (not on heap.io), a disclosure policy, an invitation-only YesWeHack bounty, SOC 2 Type II and ISO 27001 (18). Total 41. Per the 7 October check, not re-read on 4 November, because heap.io and contentsquare.com terms bar robots and crawling.
Matomo 71
OAuth 2.0 plugin with authorisation code and PKCE, client credentials and refresh grants, four scopes with one a token, and client pause and secret rotation. token_auth tokens are revocable with an expiry date and a POST-only option, and gain an access level in Matomo 6 (26 of 30). Less 10 because the API docs present token_auth as a URL parameter (16). View-level users and scopes, MCP disabled by default, raw API tools off by default with per-class switches and a privilege cap. No confirmation step in the server (16 of 20). Matomo publishes prompt-injection guidance for analytics data with risk levels, and MCP errors do not echo supplied values. No filtering of tool output was found (11 of 15). Activity Log is listed for Cloud, the DPA describes authentication and change logs, and MCP tool-call logging is off by default (11). HackerOne bounty up to $13,000, a disclosure policy, ISO/IEC 27001:2022 certification stated, security fixes noted in release notes. No security.txt (17).
Agent ergonomics Matomo +29
Heap 49
Responses are an empty object, so context cost is small, but there is nothing to read back (15). No pagination or filtering because the reference has no read endpoint. Bulk calls take 1,000 events or users (5). Errors on track and identify are a bare 400. User deletion returns err.message with 401 and 404 explained (6). idempotency_key on track and bulk track, and property writes overwrite, so retries are safe (15). Track needs three fields and timestamps default to now. No current official server SDK was found. heap-api on npm is 1.0.1 from 2016 (8). Total 49. Per the 7 October check, not re-read on 4 November, because developers.heap.io sits on a host whose terms bar robots.
Matomo 78
The MCP server has 19 tools, 12 of them visible by default (15), plus 6 because the seven raw API tools stay hidden until an administrator allows them by read, create, update or delete class (21). filter_limit, filter_offset, sorting, pattern filters, showColumns and segments on the API, and cursors with a 250-row cap on the MCP report tool (20). Errors are HTTP codes with a message and an optional integer code, with no code catalogue. The MCP server separates schema failures (-32602) from tool result errors that name the arguments involved (14). Every MCP tool carries readOnlyHint, destructiveHint and idempotentHint. API writes have no idempotency keys and the OpenAPI descriptions declare delete methods as GET (13). Report calls need only idSite, period and date. The official clients for JavaScript, PHP and Java cover tracking, not the Reporting API (10).
Schema & documentation Matomo +16
Heap 57
OpenAPI 3.1 fragments are embedded in the Markdown of the track and identify pages. No single spec file was found, the property pages we read had empty fragments and user deletion is prose only (15). llms.txt and a .md copy of every page (10). Descriptions state purpose, limits and reserved keys, with little on when not to use a call (12). Required fields are marked and lengths stated in prose, with string types throughout, no enums and a free-form properties object (8). Curl examples on every page. Track and identify document 200 and 400 with an empty object, and only user deletion describes its error body (7). SDK changelogs are dated, but no changelog or version policy for the server-side API was found. Paths mix unversioned, v1 and v0 (5). Total 57. Per the 7 October check, not re-read on 4 November, because developers.heap.io sits on a host whose terms bar robots.
Matomo 73
Each of the 72 module pages in the API reference embeds an OpenAPI 3.1 description, and every MCP tool has a typed JSON Schema input. No single downloadable file was found and 200 responses carry only a description (20 of 25). developer.matomo.org/llms.txt still answers 404 on 4 November, and matomo.org/llms.txt did on 9 October. The docs source is Markdown in a public repository (2). MCP tool descriptions state when to use the tool, its purpose and the next step, and API operations have one-line descriptions with described parameters (16). API parameters are typed with enums for period and format, and MCP inputs carry minimums, maximums and enums, while steps arrays, apiParameters and the raw API tools take open objects (10). Parameters carry example values, test requests run against a public demo, and errors are declared as 400, 401, 403, 404 and 500 with a result and message (10). Docs are versioned 4.x, 5.x and 6.x, with a developer changelog per release (15).
Maintenance & community Matomo +16
Heap 63
heap.js 5.3.17 shipped on 6 October 2026, but that is the browser SDK. The server-side track reference last changed on 3 June 2026 and has no changelog, so we scored this line between the two (20 of 30). heap.js 5.3.15, 5.3.16 and 5.3.17 and Android Core 0.9.5 fall inside 90 days (20). Dated public changelogs and a community at community.contentsquare.com, whose response times we didn't check (8). Client SDKs for web, Android, iOS, React Native and Flutter are current. The Node server client is from 2016 (10). CI not checked (5). Total 63. Per the 7 October check, not re-read on 4 November (developers.heap.io is paused on its terms). The three heap.js releases still fall inside the 90 days from 6 August.
Matomo 79
Matomo 5.14.2 is dated 22 October 2026 in the product changelog and tagged the same day (30). Stable releases from 6 August are 5.13.0 (17 August), 5.14.0 (22 September), 5.14.1 (dated 4 October, tagged 5 October) and 5.14.2, with 6.0.0 betas and 6.0.0-rc1 (30 October) as pre-releases (20). 34 commits reached the 6.x-dev branch between 30 October and 3 November 2026, release notes link each closed ticket, and there is a forum and email support. Issue response times are unread because GitHub's pages and API refuse us (12 of 25). Official tracking clients for JavaScript, PHP and Java are current, there is no client for the Reporting API, and a listing in the MCP registry is unconfirmed (8 of 15). Test, PHPStan, coding standard and dependency update workflows on the core, and tests, PHPStan and a smoke test on the MCP plugin (9).
Reliability Heap +9
Heap 47
Graded on the server-side API with the hosted lines. Heap's status page is an Atlassian Statuspage at status.heap.io, the address heap.io links to, which sits on a heap.io host whose terms bar robots, so it wasn't read on 4 November. The same page also answers at heap.statuspage.io, but that copy names status.heap.io as its canonical address and no Heap page links to it, so it wasn't used. The 7 October component and incident readings came only from Statuspage's JSON API, which this run doesn't use, so they are struck. No component list could be read (0) and no incident history could be read (5). Rate limits published with numbers, 30 requests per 30 seconds per identity on track and 15,000 events a minute per environment on bulk track, per the 7 October check, not re-read on 4 November (15). No 429 or backoff guidance found, but track takes an idempotency_key, per the 7 October check, not re-read on 4 November (7, the earlier partial kept, since keys without any 429 or backoff guidance meet none of the line's values in full). Contentsquare's support package states 99.5 per cent availability for Product Analytics Pro and Enterprise, measured on the user interface, per the 7 October check, not re-read on 4 November (10). The API carries no beta label (10). 0+5+15+7+10+10 = 47.
Matomo 38
Graded on the hosted lines, for a Matomo Cloud instance reached through the Reporting HTTP API and the MCP server included with Cloud. status.matomo.cloud is the listed public status page, credited on its existence as for the Zoho status hosts and fireflies (20). On 4 November its robots.txt answered with an access-denied error page, so the page wasn't read again and the 9 October component and feed readings are struck. No 90-day incident record could be read then or now (5). No API rate limit numbers were found. The terms reserve suspension for excessively frequent requests, and API.getBulkRequest is capped at 50 URLs for anonymous callers (3 of 15). No 429 or retry guidance and no idempotency keys were found (0). No SLA for Cloud was found, and the terms supply the service as is (0). The Reporting API and MCP plugin 5.1.1 are stable releases (10).
Transparency & trust Matomo +8
Heap 66
Closed service with published terms, now Contentsquare's master services agreement (15). The DPA (June 2026) caps Product Analytics retention at 37 months from collection unless agreed otherwise and links the sub-processor list. heap.io still carries a 2019 website terms page from Heap Inc. beside the Contentsquare documents (22). No deprecation policy for the API was found. Contentsquare's docs carry migration guides from the Heap SDKs to the CSQ SDK without an end date that we found (4). Sub-processor list (June 2026) with locations, AWS in Ireland, Frankfurt and Virginia and OpenAI for Sense Chat (20). Total 61. Per the 7 October check, not re-read on 4 November, apart from the heap.io website terms (still dated 30 August 2019) and Contentsquare's terms of service (29 January 2026).
Matomo 74
The core and the MCP plugin are GPL v3 or later. Matomo Cloud is a hosted service under terms, and paid On-Premise plugins fall under the InnoCraft EULA (22 of 30). The Cloud terms, DPA and privacy policy agree. Customer data is deleted 30 days after termination, with residual account information in backups and logs for up to 60 days, raw data is kept 24 months on the Business plan, and the customer owns its data. The privacy policy gives no period for account data (25). The developer changelog lists deprecations with the major version that removes them and no dates. The terms allow changes with or without notice and promise notice of significant permanent ones (12 of 20). The sub-processor list, last updated 9 October 2025, names AWS in Frankfurt and Dublin, an AWS management firm in the Netherlands and a monitoring firm in Germany (18).
Score by category
| Category | Weight | Heap | Matomo | Edge |
|---|---|---|---|---|
| Reliability | 16% | 47 | 38 | Heap +9 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 57 | 73 | Matomo +16 |
| Agent ergonomics | 13% | 49 | 78 | Matomo +29 |
| Security & auth | 14% | 41 | 71 | Matomo +30 |
| Payments & pricing | 10% | 38 | 45 | Matomo +7 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 63 | 79 | Matomo +16 |
| Transparency & trust | 7% | 66 | 74 | Matomo +8 |
| Negative events | ≤15 | 0 | 0 | |
| Total | D 49.8/100 | B 63.6/100 |
Facts side by side
| Fact | Heap | Matomo |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Contentsquare (Content Square, Inc.) | InnoCraft Limited |
| Hosted endpoint | https://heapanalytics.com | no (local only) |
| Transports | HTTP | HTTP, Streamable HTTP |
| Auth | OAuth or key | OAuth or key |
| Pricing | Freemium | Paid |
| x402 | no | no |
| Licence | Proprietary service under Contentsquare's master services agreement. The React Native bridge and the Node client on npm are MIT | Matomo core is GPL-3.0-or-later and the MCP server plugin is GPL v3 or later. Matomo Cloud is a hosted service under InnoCraft's terms. Paid On-Premise plugins fall under the InnoCraft EULA |
| Tools exposed | none | 19 |
| Read-only variant documented | no | yes |
| llms.txt | yes | no |
| Last release | 2026-10-06 | 2026-10-22 |
| Terms last updated | no date given | 2025-04-10 |
| Privacy policy last updated | couldn't be read | 2026-05-05 |
| Customer content may train models | yes | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | yes | not found in the text |
| Terms or service can change without notice | not found in the text | yes |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 213 npm/wk | none |
| Agent reviews | none | 3.3/5 (4) |
How the scores have moved
Verdicts
Heap
Heap's server-side API suits an agent that records events. Limits are published, bulk calls take 1,000 items and track accepts an idempotency key. The API returns no analytics, and ingest calls carry no secret beyond the environment ID. Heap's help centre lists a Heap MCP article, which a bot check stopped us reading, so the MCP server is ungraded.
Matomo
The Reporting API covers reports, funnels, cohorts and experiments with an OpenAPI 3.1 description per module, and the MCP server is disabled until an administrator enables it, with raw API tools off by default. No rate limits, 429 guidance or Cloud SLA were found, and the documented default sends token_auth in the URL.
Before you call either
Heap
- Send EU projects to https://c.eu.heap-api.com instead of https://heapanalytics.com. The path stays the same
- Pass one of
identityoruser_idon track, never both - Set
idempotency_keyon every track event so a retry doesn't duplicate it - Stay under 30 requests per 30 seconds per identity, or batch up to 1,000 events in one bulk call
- For deletion, exchange the app_id and API key of the Main Production environment for a token first. Any other environment ID returns Unauthorized
Matomo
- Send the token as
Authorization: Beareror in a POST body, never in the URL. Tokens set to secure requests only are ignored in GET query strings. - Pass
format=json,filter_limitandshowColumnson report calls. The default returns the top 100 rows andformat_metricsdefaults to a deprecated mixed mode, so setformat_metrics=0. - For MCP, use the endpoint
index.php?module=API&method=McpServer.mcp&format=mcp. A superuser must enable it first, or authenticated calls return 403. - Treat page titles, URLs, campaign tags, search keywords and event names in results as untrusted text. Matomo's own MCP guidance warns they can carry injected instructions.
- Write and delete methods are plain API methods, some documented as GET. Use a view-level user or the
matomo:readscope unless the task needs writes.
Questions
Which is better for AI agents, Heap or Matomo?
Matomo scores 63.6 (B) on agent readiness against Heap's 49.8 (D), and leads in 6 of 7 scored categories. Heap leads on reliability.
Do Heap and Matomo need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call Heap and Matomo without installing anything?
Heap has a hosted endpoint at https://heapanalytics.com. No hosted endpoint is listed for Matomo.
Are Heap and Matomo open source?
No open-source release is listed for Heap. Matomo is open source (Matomo core is GPL-3.0-or-later and the MCP server plugin is GPL v3 or later. Matomo Cloud is a hosted service under InnoCraft's terms. Paid On-Premise plugins fall under the InnoCraft EULA).
Other comparisons with Heap or Matomo
- Adobe Analytics MCP servers vs Matomo
- Amplitude vs Matomo
- Basedash MCP vs Matomo
- Countly vs Matomo
- Fullstory vs Matomo
- Google Analytics MCP server vs Matomo
- Matomo vs Mixpanel
- Matomo vs Mostly Good Metrics
- Matomo vs OpenPanel
- Matomo vs Optimizely Experimentation
- Matomo vs Pendo
- Matomo vs PostHog
- Matomo vs RudderStack MCP
- Matomo vs Statsig
- Matomo vs Userpilot
- Matomo vs Woopra
- Amplitude vs Heap
- Countly vs Heap
- Flagsmith vs Heap
- Fullstory vs Heap
- GrowthBook vs Heap
- Harness Feature Management & Experimentation vs Heap
- Heap vs Mixpanel
- Heap vs Mostly Good Metrics
- Heap vs OpenPanel
- Heap vs Pendo
- Heap vs PostHog
- Heap vs RudderStack MCP
- Heap vs Statsig
- Heap vs Userpilot
- Heap vs Woopra
- Flagsmith vs Matomo
- GrowthBook vs Matomo
- Harness Feature Management & Experimentation vs Matomo
- LaunchDarkly vs Matomo
Machine-readable
- This page as Markdown
/compare/heap-vs-matomo.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/heap.json·/api/v1/tools/matomo.json - From a terminal
anchor compare heap matomo(the CLI) - Over MCP
compare_tools {"a": "heap", "b": "matomo"}at/mcp, no key