Plugins View all plugins
Resources
Live demo ↗ Request a plugin Sign in feinwerk.io ↗ Get the connector
New

The Feinwerk Connector is now in the Matomo Marketplace. Install it right inside Matomo, no download, no FTP. Read the news · Here is how →

On this page
Plugin documentation

Tracking Advisor

Tracking Advisor checks every website in your Matomo, shows what is tracked and turns each gap into a concrete suggestion, with the change made in one click where it is a setting of the website.

Plugin page Download ZIP

Overview

Tracking that quietly lost its value

Tracking is set up once and rarely looked at again. Gaps then stay unnoticed for years: no goals, e-commerce switched off on a shop, site search not set up, page reports split by click IDs, events in several spellings. The reports look fine and are less useful than they could be. Tracking Advisor checks every website inside your Matomo, from the reports and settings Matomo already has, and turns each gap into a suggestion you can act on.

What is tracked

For each website one table shows which of Matomo's features are in use: goals, e-commerce, site search, events, custom dimensions, campaigns, page titles, visit duration, the Tag Manager, page URLs, visits and the basic settings, each with the numbers behind it.

21 checks, the most helpful first

Each suggestion says what was found, why it matters and how to fix it step by step, together with its impact, the effort of the fix and how sure the check is. Suggestions can be marked as done or dismissed. A later check closes a suggestion that is solved and opens a done one again if the problem comes back.

The change in Matomo, after your confirmation

Where the fix is a setting of the website, Tracking Advisor offers to make it: switch on e-commerce or site search, exclude a URL parameter, create a goal, exclude your current IP address, set the time zone or the currency. First you see every setting with its current and its new value, and nothing changes before you confirm. The change goes through Matomo's own API in your name, so Matomo's permission checks apply, and all other settings of the website keep their values. Settings for all websites and the file config.ini.php are never changed: there the suggestion says what a super user changes.

The implementation, written by AI

From Matomo 5.14 on, the AI provider set up in your Matomo writes the implementation of a suggestion with one click: the steps, the tracking or Tag Manager code and how to check that it works. Only when you click, and never with visitor data. The answer is marked as written by AI, comes with copy buttons and is never run by the plugin.

Careful advice

Checks that judge by traffic need at least 300 visits in the last 28 days, and when in doubt a check stays silent. Tracking Advisor judges only what Matomo recorded: it never opens your website and does not judge legal questions such as consent.

Light on Matomo

The checks read Matomo's own reports, never the raw visit tables, and a check of a large website runs area by area. Matomo's scheduled tasks check every website about once a week in the background, so the overview and the widget stay current without anybody opening each website.

All websites and the dashboard

An overview lists every website you administer with its open suggestions, the websites that need work first. The dashboard widget "Tracking Advisor: open suggestions" shows the three most helpful suggestions of a website.

For AI assistants and scripts

Every function of the page is an API method, documented for AI assistants and scripts. Wrong input is answered with a message that names the parameter and the allowed values.

Privacy

The checks stay in your Matomo. Tracking Advisor keeps numbers, the website's own settings and what a suggestion is about, such as a URL parameter name or the spellings of an event category, never parameter values, search terms or anything about a single visit. Only when an admin asks for an AI text, the AI provider of your Matomo receives the suggestion, its numbers and a summary of the website's tracking settings, never visitor data. On Matomo 6 a super user first allows this under Administration › System › AI Processing. Nothing goes to Feinwerk except your vote, if you answer the feedback question under the page.

Works with Feinwerk Sentinel (free)

Tracking Advisor advises, Feinwerk Sentinel alerts you by e-mail, Slack or Teams as soon as tracking breaks.

Requirements

  • Matomo 5.0 or later (Matomo 5 and Matomo 6), PHP 8.1 or later. One version of the plugin for both.
  • For AI texts (optional): Matomo 5.14 or later with an AI provider set up under Administration › System › AI Providers. On Matomo 6 a super user also allows "Non-analytics data" and "Aggregated analytics data" under Administration › System › AI Processing. Everything else works without.
  • The areas custom dimensions, events and Tag Manager need Matomo's own plugins of the same name.
  • Large websites: archiving by cron (core:archive) is recommended.
  • English, German, French, Spanish and Italian, in light and dark mode.

Use cases

  • What is tracked: Goals, e-commerce, site search, events, campaigns, page URLs and more: per website, which of Matomo's features are in use, with the numbers behind them.
  • 21 checks, ranked: Each finding with what was found, why it matters and how to fix it, its impact, the effort and how sure the check is.
  • The change in one click: Switch on e-commerce or site search, exclude a URL parameter, create a goal and more, shown before and after, made only after you confirm.
  • The implementation by AI: From Matomo 5.14 on, the AI provider of your Matomo writes steps, code and checks for a suggestion. Only on your click, never with visitor data.
  • Careful advice: At least 300 visits in 28 days, silent when in doubt, solved suggestions close by themselves.
  • All websites at a glance: An overview of every website you administer, the ones that need work first, and a dashboard widget.

Tracking Advisor checks every website in your Matomo for gaps in its tracking and turns each gap into a concrete suggestion: no goals, a shop with e-commerce switched off, no site search, click IDs that split pages into many rows, events in several spellings. Where the fix is a setting of the website, Matomo makes the change after your confirmation. The checks read only Matomo's reports and settings, never your website.

Step-by-step setup

Tracking Advisor runs on Matomo 6 and Matomo 5 (one version for both) with PHP 8.1 or later. The areas custom dimensions, events and Tag Manager need Matomo's plugins of the same name; while one is not active, its area shows "Not available".

1. Install

Install Tracking Advisor with one click through the Feinwerk Connector (Administration › Feinwerk Plugins › Discover) or as a ZIP file as described under Installing plugins, and activate it. The plugin creates two tables of its own (see Good to know).

2. Open it

Under Administration › Websites › Tracking Advisor, for users with admin access to the website and for super users; users with view access only see nothing of the plugin. Choose the website at the top.

3. First check

It starts by itself when the page of a website is opened for the first time. The page shows its progress, reads the website area by area in requests of about 25 seconds and goes on with the remaining areas by itself. What a check does not reach, the scheduled checks finish while Check websites automatically is on. For large websites we recommend Matomo's archiving by cron (core:archive), so the reports are ready. With browser archiving the first check makes Matomo build the reports of up to 90 days in the request of the page.

4. Optional: texts with AI

From Matomo 5.14 with an AI provider set up under Administration › System › AI Providers. On Matomo 6 a super user also allows both kinds of data under Administration › System › AI Processing: "Non-analytics data" (the summary of the website's settings) and "Aggregated analytics data" (the numbers of a suggestion). Until then Matomo has both switched off; the plugin is listed there as "Feinwerk Tracking Advisor: AI texts on how to implement a suggestion". Matomo 5.14 has no such permission.

5. Optional: dashboard

Add the widget "Tracking Advisor: open suggestions" from the category "Tracking Advisor".

The screens

  • Suggestions: the open suggestions, the most helpful first, each with its impact (high, medium or low) and the numbers that led to it. A click opens the details at the side: what was found, why it matters, how to fix it step by step, the effort (a few minutes or about an hour) and how sure the check is, with Mark as done and Dismiss. The done and dismissed ones follow at the end; Show again opens one again.
  • Change in Matomo (in the details where the fix is a setting of the website): Show the change lists each setting with its current value and its value after the change and says where to change it back. Nothing changes before Apply. A goal's name and pattern can be edited first.
  • Implementation with AI (in the details when AI texts are available): Write implementation with AI. The answer (summary, steps, code blocks with copy buttons, how to check that it works) is marked as written by AI, with provider and model, is kept with the suggestion as long as the finding stays the same (daily changes of its numbers do not count), and is never run by the plugin. It can take up to about two minutes; at most 30 new texts per website and day.
  • What is tracked: one row per area with its state and numbers: settings, visits, goals, e-commerce, site search, events, custom dimensions, campaigns, page titles, visit duration, Tag Manager and page URLs. States: in use, not in use, too few visits, not available (the Matomo plugin is missing), no answer from Matomo (never counted as "no data"), not checked yet.
  • Overview of all websites (at the top of the page, for users who administer more than one website, super users included): every website with its open suggestions, those with high impact and the last check, the websites that need work first.
  • Dashboard widget "Tracking Advisor: open suggestions": the three most helpful open suggestions of the website, each leading to its details.
  • Check again at the top of the page, at most once a minute; next to it, when the website was last checked.

What is checked

  • Sources: Matomo's own reports and the settings of the website, never the raw visit tables and never the website itself.
  • Days: the last 28 full days up to yesterday in the website's time zone (four full weeks, so every weekday counts the same), and the last 90 days for goals, orders and days without visits. Where Matomo does not build reports for date ranges on request, the plugin takes the last full weeks and months.
  • At least 300 visits in the 28 days are needed by checks that judge by traffic; below that, and when in doubt, a check stays silent.
  • Current settings count: a URL parameter you exclude today still shows in older reports, but is not suggested again.
  • Not judged: legal questions such as consent, and anything Matomo did not record.

The 21 checks

Impact in brackets; "Change in Matomo" means the plugin can make the change after a confirmation.

Goals

  1. No goal (high): visits, but no goal tells which of them were successful. Names words of thank-you and confirmation pages found in the page URLs and, from Matomo 5.14.1, points to Matomo's own goal suggestions once they are switched on (a super user finds the command under What is tracked). Change in Matomo: create a goal for the thank-you page, when one is found.
  2. A goal without conversions (medium): no conversion in 90 days although the website has visits.
  3. Several goals count the same thing (low): goals with the same condition and pattern, so every conversion counts several times.

E-commerce

  1. Looks like a shop, but e-commerce is off (high): the page URLs contain typical shop words such as cart, checkout or product, in five languages. Change in Matomo: switch on e-commerce.
  2. No orders arrive (high): the checks have seen e-commerce switched on for at least 30 days, but no order came in 90 days.
  3. No abandoned carts (medium): orders, but not a single abandoned cart in 28 days, so cart updates are most likely not tracked.

Site search

  1. The site search misses a parameter (high while site search is off, medium while it is on): the page URLs carry a parameter that usually holds search terms (such as q, search, suche, recherche), with at least five different values. Change in Matomo: switch on site search with the parameter.

Page URLs

  1. A parameter splits pages (high for click IDs of advertising, analytics, newsletter or social media systems such as srsltid, _gl or mc_cid; medium for session IDs): the parameter has at least five different values and spreads one page over many rows. Change in Matomo: exclude the parameter for this website.
  2. Pages on hosts that are not listed (medium, low when they are only translation services): pages on translation services, development, staging or other hosts mix with the website's own pages. Only their number by kind is kept, never the host names.
  3. Page views in "Others" (medium): at least 10 % of the page views end up in "Others" because of Matomo's row limits; the suggestion has the lines for config.ini.php, for a super user.

Events

  1. No events (low): not a single event in 28 days.
  2. Several spellings (low): an event category or action arrives in spellings that differ only by upper and lower case or spaces.

Custom dimensions

  1. A dimension without values (medium): an active custom dimension received no value in 28 days.

Campaigns

  1. No campaigns (low): at least 5 % of the visits come from social networks, but none from a campaign link.

Settings

  1. No IP address excluded (medium): neither the website nor all websites exclude an address, so your own team's visits count. Change in Matomo: exclude your current IP address.
  2. Time zone UTC (low): at least 70 % of the visits come from one country with a single time zone, but the website uses UTC. Change in Matomo: set that country's time zone.
  3. US dollar for the euro area (low): the website records revenue in US dollars while at least 70 % of its visits come from the euro area. Change in Matomo: set the currency to euro.

Visits

  1. Days without visits (low): days without a single visit between days with visits in the last 90 days, for a website with at least 14 days of history and on average at least 20 visits a day.

Page titles

  1. Titles that do not tell pages apart (medium): at least half of the page views share one title or have none.

Visit duration

  1. Reading times may be missing (medium): at least half of the visits have only one action, and at least half last ten seconds at most, which is typical without the heartbeat timer.

Tag Manager

  1. Unpublished container (medium): a container was never published, or was changed after its last published version. The plugin never publishes anything itself.

The life of a suggestion

  • A later check that no longer finds a suggestion closes it as solved.
  • A suggestion marked as done or applied opens again if a check finds it again, at the earliest 36 days after the change, so that the checked days no longer include days before it. Days without visits (check 18) open again only when a new such day comes after the change.
  • A dismissed suggestion stays dismissed.

The changes in Matomo are always settings of one website: switch on e-commerce, switch on site search with a parameter, exclude a URL parameter, create a goal, exclude the current IP address, set the time zone, set the currency. They go through Matomo's own API in your name, so Matomo's permission checks apply, and all other settings of the website keep their values. Settings for all websites and config.ini.php are never changed, and nothing is ever published in the Tag Manager.

Settings

For super users under Administration › System › General settings › Feinwerk Tracking Advisor:

Setting Default What it does
Write texts with AI on Whether admins can have the AI provider of this Matomo write implementations. Off: nothing is sent to an AI provider; the suggestions themselves do not need one.
Check websites automatically on Matomo's scheduled tasks check every website about once a week in the background. Off: a website is checked only when an admin opens its page for the first time or starts a check there.

In config/config.ini.php, section [FeinwerkTrackingAdvisor]:

Line Effect
feedback = 0 hides the feedback question under the page, the overview and the widget
promotions = 0 hides the tip line on other Feinwerk offers and the line naming a Feinwerk plugin inside a suggestion
connector_installer = 0 hides the entry "Install Feinwerk Connector" under Administration for super users

promotions = 0 and connector_installer = 0 in the section [FeinwerkMarketplaceConnector] apply to all Feinwerk plugins. The plugin adds no website settings.

Good to know

  • Scheduled checks: Matomo's scheduled tasks start the checks hourly with a short time budget (60 seconds under a cron job or the console, 10 seconds when a web request waits for it). Each run checks the websites whose last check is older than seven days, the oldest first, and continues incomplete checks.
  • Time and load: the first check of a large website can take a few minutes, because Matomo first builds its reports. In our measurement (Matomo 6.0.0, PHP 8.3, one website with about 36,000 visits and 50,000 different page URLs in 28 days) it took about 90 seconds without any archive and about 2 seconds with archived reports. A check needs about as much memory as Matomo's own page URL report.
  • Data stored: two tables in Matomo's database, fw_trackingadvisor_check (per website the last check with its numbers and settings) and fw_trackingadvisor_suggestion (per website and suggestion its status with who changed it and when, numbers, the change it offers and the AI text). Stored are numbers, the website's settings, URL parameter names and words of the plugin's own lists, and the spellings of an event category or action that a suggestion is about; never parameter values, search terms, foreign host names or anything about a single visit. What the plugin keeps of a website is deleted with the website; uninstalling removes both tables.
  • API: every function of the page is a method of Matomo's HTTP API, module FeinwerkTrackingAdvisor, for AI assistants and scripts, for example getSuggestions, getInventory, checkSite, applySuggestion (first with dryRun=1) and getOverview. Wrong input is answered with HTTP 400 and a message naming the parameter and the allowed values.
  • Works with Sentinel: Tracking Advisor advises, Sentinel alerts you by e-mail, Slack or Teams as soon as the tracking fails.

Privacy

Nothing is sent during a check: the checks run inside Matomo and never call your website or a Feinwerk service. Only on a click on Write implementation with AI does the AI provider of your Matomo receive the suggestion with its numbers, a short summary of the website's tracking settings and the user's language. In names and patterns, host names, parameter values, e-mail and IP addresses and long identifiers are replaced by a mark. Visitor data, the website's name and addresses, IP addresses, logins, e-mail addresses and tokens are never sent. On Matomo 6, AI texts are offered only while a super user allows both kinds of data under AI Processing; with Write texts with AI off, nothing is sent at all. Feinwerk receives only your vote when you answer the feedback question: your Matomo server sends the vote, the plugin and Matomo version, the browser family with its major version (for example "Chrome 141") and the interface language, nothing else. Tips on Feinwerk offers load nothing from outside and are shown only to admins and super users.

Technical reference

PropertyValue
Technical nameFeinwerkTrackingAdvisor
Current version5.1.0
Matomo≥ 5.0.0, < 7.0.0-b1
PHP≥ 8.1.0
Licensefree
Database changesnone in the current version

FAQ

Is Tracking Advisor free?

Yes. Tracking Advisor is free (GPL v3 or later). Admins and super users see short tips on other Feinwerk offers on the page, for example one line under the page; `promotions = 0` in the section `[FeinwerkTrackingAdvisor]` of Matomo's config file switches them off.

Where do I find it?

Under Administration › Websites › Tracking Advisor, for users with admin access to the website and for super users. The first check of a website starts by itself when its page is opened. Admins of several websites also find the overview of all websites there, and every admin can add the dashboard widget "Tracking Advisor: open suggestions".

Does Tracking Advisor change anything on its own?

No. A change in Matomo is made only after you have seen it and confirmed it, through Matomo's own API with your permissions. Settings for all websites and `config.ini.php` are never changed, and nothing is ever published in the Tag Manager. AI texts are never run, only shown.

Does it work with Matomo 5 and Matomo 6?

Yes, one version for both, from Matomo 5.0 on, with PHP 8.1 or later. The checks, the suggestions and the changes work the same on both. AI texts need Matomo 5.14 or later with an AI provider. On Matomo 6 a super user also has to allow "Non-analytics data" and "Aggregated analytics data" under Administration › System › AI Processing: Matomo switches both off until then. Matomo 5.14 has no such permission.

How long does a check of a large website take?

The page reads the website area by area, in requests of about 25 seconds, and goes on with the remaining areas by itself. On a large website the first check can take a few minutes, because Matomo first builds its reports for up to 90 days. We recommend Matomo's archiving by cron (`core:archive`): then the reports are ready, and later checks take seconds. With browser archiving the first check makes Matomo build those reports in the request of the page.

What about privacy and AI?

The checks read Matomo's reports and settings in your Matomo, never your website and never a Feinwerk service. Only when an admin clicks "Write implementation with AI", the AI provider set up in your Matomo receives the suggestion, its numbers, a short summary of the website's tracking settings and the user's language. Visitor data, the website's name and addresses, IP and e-mail addresses, user logins and tokens are never sent. On Matomo 6 a super user decides under Administration › System › AI Processing, and a super user can switch AI texts off for the whole Matomo.

How often are the websites checked?

Matomo's scheduled tasks check every website about once a week in the background, the oldest check first. Admins can start a new check on the page at any time with "Check again" (once a minute). A suggestion you fixed is closed by the next check that no longer finds it.

No. It judges only what Matomo recorded and how the website is set up in Matomo. It never opens your website, and legal questions such as consent are not judged.