Use Charts to answer questions about how people use your website or app. Track activity over time, compare results, and see how activity differs between groups. Save a chart to revisit it, share it with teammates, or add it to dashboards.
Before you start
- You must have either the Expert or Admin role to create, edit, and delete charts.
- When All data sources is selected in the project picker, you can still select one data source when creating a chart.
Create a chart
Open Reports > Charts. You can start in three ways:
- Select New chart to open the Query builder and build it yourself.
- Select View templates to see available chart templates, choose a starting point, and adjust its settings to fit your question.
- Use Sense: Describe the chart you want in plain language. Review the generated chart and its settings before saving it.
For example, you could ask Sense: “Show the number of users who clicked Add to cart each day over the last seven days.” Use the name of an event available in your environment, and specify the data source if you want to use a specific one.
Build a chart with Query Builder
- Choose your Data source.
- Under Metric, choose what to measure and the relevant event or events.
- Depending on your question, choose what to count: events, users, or sessions.
- Select the event you want to analyze from the Event drop-down.
- Use Filter event to narrow the selected event. Use the chart’s Filter section to restrict the users or sessions included in the analysis.
- Add a Breakdown if you want to separate the results into groups. Examples include countries, landing pages, and marketing channels.
- Set the Date range and how the results should be grouped over time.
- Select Run query to view the results. Run the query again after you change a setting.
- Change the visualization if needed, review the chart title and description, and save the chart.
- You can change the settings in the chart’s Edit chart panel and run the query again.
Start with one metric and one event before adding filters or breakdowns. Run the query first, confirm that the results match your question, and then refine the chart.
Choose what to measure
Count
Use Count to measure activity. Choose whether to count:
| Count option | What it tells you |
| Events | How many times the selected event occurred. |
| User | How many distinct users performed the selected event. |
| Session | How many sessions included the selected event. |
These examples show how the counting options produce different results:
An event count measures how many times the selected event was captured. For example, counting an “Add to cart” event tells you how often the event occurred. Keep in mind that this does not confirm that the item was successfully added to the cart; it confirms only that the event was captured. If the event is based on a click, it means someone clicked the "Add to cart" control, not necessarily that the cart update succeeded.
Counting users tells you how many distinct users performed it, even if some did so more than once. For example, if one user performs the selected action four times across two sessions, the chart counts one user, two sessions, and four events.
Counting sessions tells you how many unique sessions included the selected event. For example, if 10 sessions occurred during the selected date range and 3 of them included an “Add to cart” event, Count > Sessions returns 3—even if those sessions contained multiple “Add to cart” events.
Retention rate
Use Retention rate to measure the percentage of users who perform a return event after a starting event. Select the Starting event, the Return event, and configure the Retention criteria before running the chart.
For example, to measure whether users return to use a favorite feature, select the “Add to favorite” event as both the Starting event and the Return event. Then select a retention window, such as Day 8, in Retention criteria.
The chart groups users into cohorts based on when they performed the starting event. For each cohort:
- Denominator: The number of users who performed “Add to favorite” during that cohort period.
- Numerator: The number of those users who performed “Add to favorite” again during the selected Day 8 window.
If 100 users performed “Add to favorite” in a cohort and 24 of them performed it again during the Day 8 window, the retention rate for that cohort is 24%.
Users who performed the return event before or after the selected window are not included in that Day 8 result.
Conversion rate
Use Conversion rate to measure the percentage of users who perform a starting event and then complete a conversion event within the conversion window.
For example, select the “Product viewed” event as the Starting event and the “Added to cart” event as the Conversion event. Then group the results by day.
If 100 users viewed a product on Monday and 35 of those users added a product to their cart within the conversion window, the conversion rate for Monday is 35%.
For each time bucket:
- Denominator: Users who performed the starting event.
- Numerator: Users who performed the starting event and then completed the conversion event within the conversion window.
Users who viewed a product but did not add one to their cart are included in the denominator but not the numerator. Users who added a product without first viewing one are not included.
The conversion is attributed to the time bucket in which the starting event occurred. In the current implementation, the chart granularity determines the conversion window:
- A daily chart gives users 24 hours to convert.
- A weekly chart gives users 7 days to convert.
Ratio
Core Web Vitals
Filter or break down your results
A filter narrows the data included in your chart. A breakdown separates the results into groups so you can compare them.
For example:
- Filter a chart to focus on users from one country.
- Break down a chart by country to compare activity across countries.
Use Filter event to narrow the selected event. Use the chart’s Filter section to add the conditions available for your analysis.
Under Breakdown, choose the property category and then the property. The available properties depend on your selected event and metric. If you change the event or comparison settings, check that your breakdown still applies.
Example: See where clicks happen with a Path breakdown
You can break down an autocaptured web click event by Path to see which page paths the clicks occurred on. Path describes the page where the click happened, not the destination of a clicked link. You do not need to change the chart’s event to Pageview to use this breakdown.
- Open New chart.
- Set Metric to Count and choose Events as the count option.
- Select Any click, or the specific click event you want to analyze.
- Under Breakdown, choose Event property.
- Open Select property and choose Path under Built-in properties.
- Choose a date range, such as Last 7 days, and select Run query.
- Review the results for each path and save the chart.
Choose a specific click event, such as "Add to cart", to check whether it is being captured on the pages you expect. Any click includes all captured clicks in the selected scope.
Compatible events can also offer other properties of the page on which the activity occurred. Only properties supported by the selected event or events are available. A session-only selection does not offer the same page-property breakdowns.
Compare results
Use the available Compare controls to compare the results supported by your selected metric and chart settings. For example, you can compare two click events or compare a count chart with an earlier date period. Add the comparison in the relevant section of Query Builder, configure it, and run the query.
At this time, comparison options depend on the metric and existing chart settings:
- Audience comparison cannot be combined with a breakdown or multiple metrics.
- Comparing multiple data sources prevents adding another metric.
- Date-period comparison is not available for Retention rate charts.
| What to compare | Limit |
| Metrics | Up to 4 |
| Filtered user or session audiences | Up to 2 |
| Date periods | Up to 2 |
| Data sources | Up to 4 |
If a comparison control is unavailable, hover over it to read the explanation.
Choose how to display the results
Use the visualization selector above the chart to choose from the options available for your analysis:
| Visualization | Use it to… |
| Line | Follow changes over time. |
| Bar or column | Compare values across groups or time intervals. |
| Number | Focus on a summary value for the selected period. |
| Data table | Inspect the values in rows and columns. |
Not every visualization is available for every metric. Choose a time interval, such as day or week, when you want to follow a trend. Use the whole date range when you want a summary for the period.
Save, share, and reuse a chart
When you edit a saved chart, your changes remain unsaved until you select Save. If you leave the page, refresh your browser, or close the session before saving, your changes are discarded.
Use these options to manage your chart:
- Save your chart: When you create a new chart, it remains a draft until you save it. Draft charts cannot be shared or added to a dashboard. Click Save in the chart header to keep the chart and its changes.
- Keep a separate version: When editing a saved chart, use the save menu’s option to save it as a new chart if you do not want to replace the original.
- Discard changes: Use the save menu’s discard option if you do not want to keep your edits.
- Share a saved chart: Select Share to copy its link. Teammates need access to the relevant project, environment, and data to view it. Save a new chart before sharing; its unsaved draft link is not shareable.
- Add it to a dashboard: Save your changes, open the chart’s More actions (...) menu, and choose Add to dashboard. Select the destination dashboard.
- View version history: Saved changes are added to the chart’s version history, where you can find and review earlier edits. Select the Edit chart menu to open the editor and view the History tab.
Troubleshoot chart results
Try these checks if you cannot find a property or your chart does not return the results you expect:
- Check the selected data source, event, filters, and date range.
- For a click-by-Path chart, look under Breakdown > Event property, not a user or session property category.
- Check whether the selected event supports the property. Seeing a property in the live data feed does not mean every metric or event selection can use it as a breakdown.
- If creation controls or data are unavailable, ask your administrator to check your permissions and subscription access.