Charting events and page views with trends
Trends shows how often your events and page views happen over time. Use it to answer questions such as "how many visitors signed up each week?", "do more people open the pricing page than the sign-up page?" or "which plan is bought most?".
Trends is built from data Strabber already collects, so you don't need to add any code. Changing a chart recalculates it for any period, including the past.
Create a trend
- Open Trends in the sidebar and click New trend. If you have no trends yet, click Create trend.
- Enter a name, such as "Purchases by plan", and click Create.
The trend opens with your first event over the last 30 days (or with views of all pages, if you have no events yet). Then build the chart:
- Choose the Period at the top, or click Last week, Last month or Last 3 months.
- Set up one or more Series (see below). Each series is a line on the chart.
- Under Chart, choose what to Count and whether to group it By day, week or month.
- Switch between Line and Bars to change how the chart looks.
Below the chart, a table lists each line with its total for the period.
The chart updates as soon as you change it. When you type a URL or a property, it waits until you stop typing.
Series
A chart can have up to 5 series, marked A to E. Click Add series to add one, or the bin icon to remove it.
- Event: calls of one of your events. Click + Where property... to count only calls with certain properties, for example
planIs equal topro. A series can have up to 5 property conditions, and a call must match all of them. - Page view: views of pages whose URL matches a condition, for example Contains
/pricing. Conditions other than Is equal to ignore case.
What a chart counts
- Total: every event call or page view.
- Unique visitors: each visitor once per day, week or month. The total in the table counts each visitor once for the whole period.
- Sessions: each session once per day, week or month, and once in the period's total.
Weeks start on Monday, and months on the 1st. If the period starts or ends in the middle of a week or month, the first or last point covers only the days inside the period. A note under the chart tells you when this happens.
Days are counted in your time zone. A period can be up to 1 year long when grouped by day, or up to 2 years when grouped by week or month.
Break down by a property
When a chart has a single event series, you can split it by one of the event's properties:
- Click Breakdown under Chart.
- Choose a property. The list shows the properties the event was sent with during the period.
The chart then shows a line for each of the 5 most common values. Calls with any other value are grouped into Other values, and calls without the property into Not set.
Watch the recordings
Click the camera icon next to a line in the table to open the recordings of that series. Strabber applies the matching filters: the event and its property conditions, the breakdown value, or the page URL.
The recordings list shows recordings from any date, not just the chart's period. Property conditions are matched against any call of the event in a recording, so the list can include a few more recordings than the chart counts.
Manage trends
- Your trends are listed on the Trends page with their series, what they count and when they were created, newest first. They're also listed on the left, where Search finds one by name.
- Everyone with access to the site sees its trends.
- Changes to a trend are saved automatically. To rename it, click its name at the top of the page.
- To delete a trend, click Delete next to the period, or use the ... menu of its row on the Trends page. To delete several, select them and click Delete selected. Events and recordings aren't affected.
- The period isn't saved. Every time you open a trend, it shows the last 30 days.
If an event of a trend is deleted, the chart asks you to choose another event for its series.