---
title: Pathways Diagrams
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Product Analytics > Charts > Pathways Diagrams
---

# Pathways Diagrams

## Overview{% #overview %}

Pathways diagrams allow you to visualize all user journeys across your application to analyze the critical path.

{% image
   source="https://datadog-docs.imgix.net/images/product_analytics/journeys/pathways/ga_pathway_diagrams_page.c87656179962655571e09aa47c6816fe.png?auto=format"
   alt="The default Pathways diagram for an app" /%}

Each node represents a view the user visited. The thickness of each node represents the count of user sessions on that page. A page with fewer visitors has a thinner node in the diagram.

If a user visits the same page multiple times during their session, that page is only counted once.

Action events are not supported in the Pathways diagram.

## Build a Pathways diagram{% #build-a-pathways-diagram %}

### View the default diagram{% #view-the-default-diagram %}

1. Navigate to [**Product Analytics > Charts**](https://app.datadoghq.com/product-analytics/user-journey/pathways).
1. Click **Pathways** if it's not already selected. This displays the default visualization that represents the most popular user journeys in your application.

### Start or end the diagram at a given view{% #start-or-end-the-diagram-at-a-given-view %}

You can use the left menu to customize this diagram and display:

- the steps users took *after* visiting a given view
- the steps users took *before* visiting a given view

The example below displays the four steps that users in the United States take after visiting `/department/lighting`:

{% image
   source="https://datadog-docs.imgix.net/images/product_analytics/journeys/pathways/pana_pathway_page_img2.7896c75a9a7b3ed0d1a42e371d84ea9b.png?auto=format"
   alt="A customized Pathways diagram for an app" /%}

### Graph all views containing a given phrase{% #graph-all-views-containing-a-given-phrase %}

Pathways diagrams support [Datadog wildcards](https://docs.datadoghq.com/real_user_monitoring/explorer/search_syntax/#wildcards), allowing you to build a diagram of all views containing a given phrase.

To match multiple routes, type a wildcard instead of choosing a single view name. The example below displays the five steps that users take after visiting any view matching `/department/*`:

{% image
   source="https://datadog-docs.imgix.net/images/product_analytics/journeys/pathways/pana_pathway_page_img3.cde1ed1a41404ccf11c35a9072388f31.png?auto=format"
   alt="A Pathways diagram that uses a wildcard to match several routes" /%}

## Analyze a pathways diagram{% #analyze-a-pathways-diagram %}

You can hover over a diagram node to view the number of sessions that included visits to that view.

Click a node for a list of analysis options, such as viewing a sample [Session Replay](https://docs.datadoghq.com/session_replay/) or building a Pathways diagram that starts with that view.

{% image
   source="https://datadog-docs.imgix.net/images/product_analytics/journeys/pathways/pana_pathway_page_img4.82a3efab667978013b318fed9a6885fd.png?auto=format"
   alt="The actions menu of a Pathways diagram node" /%}

### Convert the diagram to a funnel{% #convert-the-diagram-to-a-funnel %}

1. From the Pathways diagram page, click the **Build Funnel** button.
1. In the Pathways diagram, click the nodes of the views you want to include in the funnel.
1. Click **Create Funnel From Selection**.

{% image
   source="https://datadog-docs.imgix.net/images/product_analytics/journeys/pathways/pana_pathway_page_img5.4be90860bd1e48b12adf29832bfe8b3f.png?auto=format"
   alt="A Pathway to funnel conversion in process" /%}

## Further reading{% #further-reading %}

- [Charts](https://docs.datadoghq.com/product_analytics/journeys)
- [Build Sankey widgets in Dashboards](https://docs.datadoghq.com/dashboards/widgets/sankey/)
