See how many visitors use each feature, beside what customers say about it.
Matomo counts the visitors on each page and event of your product. Zentrik lays those counts over your feature tree, under Products → Features, so the reach and growth of a feature sit next to the insights and ideas linked to it.
Matomo is a measurement source. It adds readings to features you already have; it does not create signals or insights, and it does not appear in Discovery's import.
Prepare Matomo
Do this once in Matomo, as a Matomo administrator.
- Create a user for Zentrik under Administration → System → Users, and give it View access to the site that tracks your product. View access to that one site is all Zentrik needs.
- Sign in as that user and open Administration → Personal → Security. Under Auth tokens, select Create new token, describe it as Zentrik, and copy the token (Matomo's guide to auth tokens). You can leave Only allow secure requests ticked: Zentrik sends the token in the request body.
- Note the site's ID. It is the number in the ID column under Administration → Websites → Manage, and the number after idSite= in Matomo's address bar.
- If you host Matomo yourself, make sure it answers HTTPS requests from outside your network. If it only accepts requests from listed addresses, contact Zentrik support before you connect.
Connect Matomo
A workspace owner or admin can connect Matomo.
- Open Settings → Integrations and select Matomo.
- Enter the Matomo address: https://yourcompany.matomo.cloud for Matomo Cloud, or the address you open Matomo at, including its folder, such as https://analytics.yourcompany.com/matomo.
- Enter the Site ID and paste the Auth token, then select Connect Matomo.
Zentrik reads the site with the token before it saves anything, so a wrong address, site or token is refused straight away. The token is encrypted at rest and is never shown again. One Matomo site connects to a workspace; to read another site or use another token, select Update credentials on the connection.
Tie features to screens
On the Matomo connection, Feature usage asks two things.
- What marks a screen. Choose Pages, by address for most web products, or Events, by category if your product sends a Matomo event when a feature is used. See what Matomo has lists the pages or event categories of the last four weeks before you decide.
- Screens for each feature. Select Tie to screens on a feature and tick the pages or event categories that belong to it. Suggest screens offers matches by name for you to accept. Tick Also count every screen that begins with one of these to count everything under an address, such as every page under /reports.
A feature counts its own screens and those of every feature inside it, and a visitor is counted once however many of them they opened. A feature tied to nothing shows as not measured, which is different from nobody using it. Changing between pages and events removes the ties, because pages mean nothing as event categories.
Read the usage
Open Products → Features and choose one of the usage views.
- Reach is the share of visitors who used a feature in a typical week of the period you choose. Matomo counts distinct visitors one week at a time, so Zentrik shows a typical week instead of a total for the whole period. A total would be higher.
- Growth compares the weeks of the period with the same number of weeks before it.
- Come back is empty. Matomo's reports say how many visitors came each week, not whether the same ones returned, and Zentrik does not estimate it.
- Heard compares the insights linked to a feature with how much it is used, so a heavily used feature that nobody talks about stands out.
Matomo counts visitors, which are browsers, not signed-in people. If you also connect PostHog, Zentrik reads usage from PostHog and leaves Matomo aside; readings from the two are never mixed.
Saved segments
Matomo counts a feature through a segment: the visits that opened its pages or sent its events. Most self-hosted Matomo instances work a segment out when asked, and Zentrik saves nothing in them.
Matomo Cloud, and self-hosted instances set up the same way, only report on segments saved in Matomo. Zentrik notices this and asks before it saves anything:
- One segment is saved for each measured feature, named Zentrik: and the feature.
- They are saved under the Matomo user whose token you gave Zentrik, and are not shared with everyone.
- Matomo prepares a new segment within a few hours. Until then the feature shows as Being prepared.
- Zentrik changes and removes only its own segments. Stop and remove them removes them all, and so does disconnecting.
If you do not allow saved segments, nothing is written to your Matomo and features stay unmeasured.
Data and access
- Zentrik reads through the Matomo Reporting API: the site's name and addresses, weekly visitor counts for the site and for each measured feature, and the pages and event categories of the last four weeks.
- It never reads single visits, visitor profiles or IP addresses.
- It writes to Matomo only the saved segments described above, and only after you allow them.
- Zentrik stores what each feature is tied to and keeps readings in memory for a short time. It does not copy your Matomo data.
- Disconnecting removes the saved token and any segments Zentrik saved. What each feature is tied to stays, so readings return when you reconnect.
Troubleshooting
Most connection problems clear up after a fresh authorization or an admin allows the app. If you have tried that and still cannot connect, contact us and we will help.
Zentrik could not reach your Matomo
Check the address, including the folder Matomo is installed in. A self-hosted Matomo must answer HTTPS requests from outside your network. Readings already on screen stay until Matomo answers again.
Matomo refused this token
The token was deleted, or its user was removed. Create a new token for a user with view access to the site, then select Update credentials on the connection.
This Matomo token cannot read the site
The site ID is wrong, or the token's user has no access to that site. Check the ID under Administration → Websites → Manage and give the user View access.
A feature shows as being prepared for more than a day
Matomo has not processed its saved segment. Ask your Matomo administrator to check that report archiving is running. After a day without numbers, Zentrik reads the feature as unused.
A page is missing from the list
The list shows pages visited in the last four complete weeks. Type the address of a page that is not listed yet and add it by hand.
Reach looks lower than in another tool
Matomo reach is a typical week of the period, not everyone across the whole period, and it counts browsers rather than signed-in people.
Continue from here
Related guides
Did this guide answer your question?
Your response helps us prioritize missing or unclear documentation.
Still stuck?
Send your question to Zentrik support. This guide will be included automatically.