Path analysis in Matomo: analysing conversion paths and visitor paths

· updated October 16, 2026 · 16 min read ·

Topics: Analysis & data quality

Where do we lose visitors between the home page and the checkout? Which pages do prospects read before they get in touch? And what do campaign visitors do once they land? Matomo's page reports count views, entries and exits, but for each page on its own. Whether the 450 visits on the category page are the same visits that later reach the basket is not in any row.

The most valuable view is the one backwards from the goal, the conversion paths: which routes actually end in an order, an enquiry or a sign-up, and through which channel did those visits arrive? This guide covers which questions about visitor paths Matomo answers out of the box and where that stops, why a conversion path analysis works like a dynamic funnel, how to prepare a path analysis, and how to read the results without fooling yourself. The preparation works with any tool. For the analysis itself we use our Visit Journey plugin.

Schematic comparison: on the left, Transitions for the product page shows the step before (category 48%, search engines 30%, campaigns 22%) and after (basket 24%, other product page 36%, exit 40%). On the right, a path analysis follows the same visits: home page 1,000, category 450, product page 270, basket 100, order 64.
Transitions shows one step around one page, a path analysis follows the same visits across several steps (schematic illustration).

What Matomo shows out of the box#

Matomo ships several reports that answer part of the question. Each one is good at something, and each one stops at a certain point:

  • Entry and exit pages (Behaviour › Entry pages and Behaviour › Exit pages) show the page where visits start and the page where they end. They don't show what happens in between.
  • Transitions (Behaviour › Transitions, or the icon that appears when you hover over a row in the Pages report) shows, for one page, what visitors did directly before and directly after viewing it. Before: internal pages, search engines, websites, campaigns, internal searches and direct entries. After: internal pages, internal searches, downloads, outlinks, exits and page reloads. That is exactly one step around exactly one page.
  • Goal reports by page have been part of Matomo since 4.11: by page URL, page title and entry page. They show which pages were viewed in visits that converted and share each conversion equally across those pages. If a visitor viewed four pages before converting, each page gets a quarter, which is why you see decimal values. The order of those pages stays unknown. The goal reports also break conversions down by channel type, campaign or entry page, but each view on its own: none of them shows which steps lay between the channel and the conversion.
  • The Visits Log and the Visitor Profile (Visitors › Visits Log) show every visit with all its actions in order. That is ideal for understanding individual cases. Fifty visits give you an impression, fifty thousand don't give you a distribution.
  • Segments filter entire visits, for example all visits that start on a given landing page or come from a campaign. A segment narrows every report down to those visits, but it doesn't show a sequence. Why segments always select whole visits is explained in our guide to campaign tracking in Matomo.

A report that follows the same visits across several steps and shows them as a whole is not part of Matomo itself. That is what a path analysis does.

What a path analysis adds#

A path analysis groups visits into paths and counts how many took the same path. You can read it in two directions:

  • Forward from the entry page: what do visitors do after they arrive? Where do they continue, where do they leave?
  • Backward from a goal: what came before an order, an enquiry or a newsletter sign-up? These conversion paths are usually the more valuable direction, because they show which routes actually reach the result.

The usual chart is a flow chart (Sankey diagram). Each column is a step, each box a channel, a page, an event or a goal, and the width of the bands between them is the number of visits. Wide bands are the main routes, and a large exit after a step shows where visitors get stuck.

Schematic flow chart across four steps: from the home page (100%), 45% go to a category, 25% to a product page and 30% exit. From the category, 27% continue to a product page, from the product page 12% go to the basket. Step four shows the basket with 10%, the order with 9% and 20% exits.
How to read a path chart: columns are steps, bands are visits, hatched boxes are exits (schematic illustration).

If you are coming from Google Analytics 4, you know the idea from path exploration. It draws a tree that either begins at a starting point or works backwards from an ending point, but not both at once. Nodes can be event names, page titles, page paths, screen names or screen classes. By default the chart shows the top five nodes per step, up to 20 with "+ More", and groups the rest. By default it counts events, alternatively total users.

Two limits apply to every exploration in GA4: explorations only use event data within the retention period, 2 or 14 months for standard properties, and queries that process more than 10 million events may be sampled. We cover these limits in our comparison GA4 now has dashboards: is Matomo still the better choice?. If you are planning the move, the steps are in our GA4 to Matomo migration plan.

Conversion paths: the dynamic funnel#

A classic funnel works with steps you define in advance, such as product page, basket, checkout and order. It counts how many visits reach each step and where they drop off. That works as long as you already know the route. Routes you did not anticipate stay invisible: the guide after which visitors get in touch straight away, or the video after which they order.

A conversion path analysis turns this around. It starts at the goal and shows, step by step backwards, what actually came before the conversions. The funnel emerges from the data, for every goal and without presets: a dynamic funnel. Where visitors drop out along the way is shown by the opposite direction, the paths from the entry page.

It gets really useful when a path holds more than pages. If a path starts with the channel the visit came through, ideally your own channel definitions rather than fixed categories, and events and other goals sit between the steps, a single chart answers where visitors came from, what they did on the website and which steps came before the conversion.

How to prepare a path analysis#

A path chart shows everything in your data, including the noise. Whether it answers anything is decided before you open it. These five steps apply to any tool:

1. Write down two or three questions#

"What do our visitors do?" is not a question a chart can answer. "How many visits that enter on a blog article click through to the shop?" is. The question tells you the direction (forward from the entry page or backward from a goal), the period and the segment.

2. Group pages sensibly#

Without grouping, every product page is a box of its own. With 300 products, the visits split into 300 thin bands, and the rare ones end up under "(Others)". A group called "Product page" shows you instead how many visits reach a product page at all.

First decide whether pages appear by URL or by page title. URLs are stable and easy to group with patterns, titles are easier to read when URLs are made of IDs. In Visit Journey, a group is a regular expression plus a label:

Pattern Label Effect
^/products/ Product page All product pages become one entry.
^/blog/.+ Blog article All articles become one entry, the /blog overview stays on its own.
^shop\.example\.com/ Shop All pages of a second domain tracked in the same website.

A pattern that starts with ^/ is matched against the page path. Any other pattern is matched against the URL without protocol and without "www.". Matching ignores case, and the first matching rule names the page, so put specific rules at the top. If pages appear by title, the patterns are matched against the title, not the URL.

3. Pick the events that matter#

Events make paths more useful when they matter for the journey: a video start, a product configurator, the steps of a form. Scroll or technical events, on the other hand, would cut every path into lots of tiny steps. Pick a few event categories and leave out the rest.

4. Define goals cleanly#

By default, a goal in Matomo counts once per visit. With Allow Goal to be converted more than once per visit every conversion counts, for example for several downloads. For the paths before a goal this makes a difference, because each conversion then has its own path. Also check that a goal really measures what you want to analyse. "Visited /thank-you" also counts people who open the thank-you page again in a later visit, for example from a bookmark.

5. Clean the data#

Bot visits often consist of a single page. In a path analysis they inflate the exits right after the entry page, and the main route looks weaker than it is. The tools Matomo itself offers against spam traffic are covered in our article GA4 hostname filter: a new allowlist against spam traffic, and the Matomo way. Our plugin Tracking Spam Score keeps bot traffic out of new data, and the free Delete Visits Filter deletes bot visits that were already tracked.

Path analysis with Visit Journey#

Visit Journey is one of our Plugins for Matomo. It adds two views under Behaviour › Visit Journey: Paths to the goal, the conversion paths for every goal and every ecommerce order, and Paths from the entry page. Page views, selected events and goals are equal steps in both. On top of that comes the channel the visit came through: in Paths from the entry page before every path, in Paths to the goal wherever a path reaches the start of the visit. Together with our plugin Channel Grouping, Visit Journey even shows your custom channel definitions there: exactly the channels you defined with rules in Channel Grouping, such as Paid Search, Organic Search, Email or a channel of your own for your partners. That way paths and channel reports speak the same language. Without Channel Grouping, Matomo's channel types such as Search Engines, Campaigns or Direct Entry appear. Channels arrived with version 0.3.0 and depend on the website setting Record entry channels, which is on by default. The paths are calculated by Matomo's archiving, not when you open the report, and no extra tracking code is needed. The plugin requires Matomo 5.12 or later. The screenshots show a fictional outdoor shop with invented data.

Paths to the goal#

Flow chart Paths to the goal for the goal Newsletter-Anmeldung (newsletter sign-up) with 256 conversions: one step before is always the page /newsletter/danke, two steps before are /newsletter with 174, Blogartikel (blog article) with 50 and the home page with 29. Three steps before are the channels Search Engines with 38, Direct Entry with 15, Websites with 5 and Social Networks with 2, plus Blogartikel with 71, the home page with 52, a video event with 17 and the goals Ecommerce order with 8 and Katalog-Download (catalogue download) with 7.
Paths to the goal for the newsletter sign-up, read backwards from the goal: channels, pages, events and other goals in one chart (fictional demo data).

Paths to the goal is Visit Journey's conversion path analysis, and it reads from right to left: the goal with its conversions on the right, then 1 step before, 2 steps before and so on. When a column shows a channel, the visit started there: it came through that channel, and the entry to its right is its entry page. In the example, three steps before the goal this applies to 60 of the 256 sign-ups, 38 of them from search engines, and the column header shows 23% "started here". With Channel Grouping you see your own channels here. You see the channel for all conversions whose visit started within the stored path length, five steps before the goal by default; longer visits end without a channel, and their top sequence starts with "…". How many conversions each channel brings in total is shown by the goal reports by channel type or by the Channel Grouping report. If entry channels are switched off, or the period was archived before they were switched on, "(Start of visit)" appears in that place.

Pages share the chart with events and other goals: three steps before 17 sign-ups a video was played, before eight there was an order, before seven a catalogue download. Blog articles rank high in both columns, so for this shop the blog is an important route to the sign-up. Nobody defined these steps; they come from the visits. That is the dynamic funnel.

With several goals you pick the goal at the top, with a search field from eight goals. On ecommerce websites the order is listed first. The same chart also appears on the page of every goal and, for orders, under Ecommerce › Overview.

Top sequences#

Table Top sequences before Newsletter-Anmeldung: the most common sequence Blogartikel, /newsletter, /newsletter/danke brings 68 conversions (26.6%), the second via the home page 52 (20.3%). The highlighted third row starts with the channel Search Engines and leads through a blog article and /newsletter/danke to the goal, with 28 conversions (10.9%). In the ninth row, the goal Ecommerce order is a step before the sign-up (8 conversions).
Top sequences before the newsletter sign-up: a sequence that starts with a channel shows the visit from its start to the goal (fictional demo data).

Below the chart you see the most common sequences before the goal with conversions, share and, if the goal has revenue, revenue. Ten rows are visible, Show all shows up to 100. A click on a row highlights exactly that path in the chart. "…" at the start of a sequence means the visit may have had earlier steps. A sequence that starts with a channel, on the other hand, shows the visit from its start to the goal. In the example, 28 sign-ups (10.9%) came from visits that arrived from a search engine on a blog article and signed up from there.

Orders show a typical trap: if the shop records the order on its thank-you page, almost every sequence ends with the checkout and the thank-you page. The interesting part is the steps before. Raise Steps before the goal for that, or group the checkout pages into one entry with a rule.

Paths from the entry page#

Flow chart Paths from the entry page in Matomo: the first column, Channel Type, shows where 8,009 visits came from: Search Engines 3,820, Direct Entry 2,630, Websites 637, Campaigns 628 and Social Networks 294. It is followed by step 1 with 8,009 entries, 61% of which continue, step 2 with 4,912 and step 3 with 3,673 visits. The tooltip for the entry Blogartikel (blog article) shows 1,466 visits, 760 of which continue and 706 exit.
Paths from the entry page with the channels first: the blog article entry is highlighted, its paths light up, the rest fades (fictional demo data).

Paths from the entry page is the opposite direction and shows where visitors drop out along the way. The first column names the channel the visits came through, and every column after it is a step. Its header shows the total visits and the share that continues or exits, and the hatched part of each entry is its exits. Steps and Entries per step (5 to 50) set how much the chart shows. Channel Grouping is not active in the example, so Matomo's channel types come first; with Channel Grouping your own channels would be there.

Hover over an entry and all connected paths are highlighted. A click pins the highlight, Esc or a click elsewhere releases it. In the example, 1,466 visits enter on a blog article, the widest stream into it comes from search engines, and just over half of them click on. A click on a column header lists every entry of that step, not only those in the chart, up to 500 on screen, and the export delivers all of them as a CSV file. "(Others, 22)" groups the 22 rarer entries of a step.

On dashboards and with segments#

Both views are available as widgets. Every widget keeps its own goal, steps and entries, so the paths to an enquiry and to an order can sit side by side. Two to three steps fit into a half-width dashboard column.

Paths are available for segments that Matomo pre-processes. In the segment editor that is the option segmented reports are pre-processed (faster, requires cron). With such a segment, Visit Journey shows only the paths of one campaign, one country or, with our plugin Channel Grouping, one of your marketing channels. To single out a campaign this cleanly, it needs the same names in every link; the guide naming convention for teams and agencies shows how a team gets there. More examples are in the use cases analysing visitor paths from the entry page and, for goals, conversion paths in Matomo.

How to read the results#

  • One path per visit. Each path describes one visit. If someone comes back tomorrow and orders then, those are two paths. Visit Journey does not join paths across several visits.
  • What is counted. Paths from the entry page count visits, on the day of their last action, like Visitors › Overview. Paths to the goal count conversions on their own day, like the goal reports. Weeks, months and years are the sum of their days.
  • Channels in older periods. Periods archived entirely before entry channels were switched on show no channels until you recalculate them. Weeks, months and years that mix old and new days show the old days as "(Channel unknown)". By default, the update to version 0.3.0 recalculates the last 30 days by itself. The same applies when you rename channels or reassign visits in Channel Grouping: days already archived keep the old channels until you recalculate them.
  • Identical steps in a row count once. Reloading a page doesn't make the path longer.
  • "(Others)" groups rare entries. If the chart says Rare paths summarised, the archiving already grouped rare paths to keep the archives small.
  • Small numbers fluctuate. Seventeen sign-ups after a video are a hint, not proof. Choose a longer period before you rebuild pages, and remember that a frequent path shows a correlation, not a cause.
  • After a rule change the next archiving run recalculates the last 30 days by default, weeks, months and years included. For older periods, run the command the plugin shows after saving, for example ./console core:invalidate-report-data --sites=1 --dates=2026-01-01,2026-09-30 --plugin=FeinwerkVisitJourney, and the archiving does the rest. Only days for which Matomo still has the raw data can be recalculated. How invalidation and archiving work together is explained in our article Matomo archiving problems: missing reports, stale data and how to fix them.

Common questions and where to look#

Question View Setting
Where do visitors go after the home page? Paths from the entry page, step 2 8 or more entries per step
What do campaign visitors do after the landing page? Paths from the entry page pre-processed campaign segment
How do buyers get from the product page to the basket? Paths to the goal, ecommerce order rule ^/products/ as "Product page"
Do blog articles lead to newsletter sign-ups? Paths to the goal, newsletter goal rule ^/blog/.+ as "Blog article"
What do prospects read before an enquiry? Paths to the goal, top sequences goal for the contact enquiry
Which paths do visitors from one channel take to an enquiry? Paths to the goal, top sequences that start with a channel Record entry channels on, more Steps before the goal

Checklist for your first path analysis#

  1. Two or three specific questions written down, with direction and period.
  2. URL or page title chosen, product, category and article pages grouped.
  3. Only the event categories enabled that matter for the journey.
  4. Record entry channels switched on, Channel Grouping active for your own channels.
  5. Goals checked: once or more than once per visit, the right thank-you page.
  6. Bot traffic excluded or deleted.
  7. Segments you want to analyse set to "pre-processed".
  8. Older periods recalculated after changes.
  9. Results read over a long enough period before you rebuild anything.
Peter Boehlke

About the author

Peter Boehlke

Founder of feinwerk · Matomo specialist since 2009

Peter Boehlke has been working with Matomo since 2009: as a member of the Matomo team, a contributor to the open-source project and an Implementation Partner in the Matomo partner program. With feinwerk, he runs Matomo instances up to high-traffic scale, develops his own Plugins for Matomo and advises on tag management, tracking concepts and privacy-compliant measurement.

  • Matomo since 2009
  • Matomo Implementation Partner
  • Matomo contributor
  • Own Plugins for Matomo

Related product

Plugins for Matomo

Extensions we develop ourselves, sold through our own platform and maintained across Matomo major versions.

Browse the Plugins for Matomo ↗

Matching plugins

Plugins for Matomo from our own development that fit this topic.

Analytics from €59 per month plus VAT

Visit Journey

A funnel with no presets: see in Matomo, for every goal, which steps really lead to the conversion, with pages, events and the channel the visit came through.

View in the shop: Visit Journey

Hosting from €99 per month plus VAT

Tell us about your Matomo.

Briefly describe traffic, infrastructure and requirements. Within one business day you get an honest assessment and a quote.

What is it about?
  • Reply within one business day

Your details reach us by e-mail; this website keeps no database of them. Details in the privacy policy.