How to create a trends insight in PostHog

Build a PostHog trends insight that charts the task_created event over the last 14 days, then name it and save it so you can reopen it later.

Quick answer

To create a trends insight in PostHog, open a new insight on the Trends tab, click the Pageview series and pick task_created, set the date range to Last 14 days, type a name in the Enter name field, and click Save. The chart then shows how many tasks were created each day.

Steps at a glance

  1. Open a new insight and select the Trends tab
  2. Click the Pageview series to change the event
  3. Pick task_created from the event list
  4. Open the date range picker
  5. Choose Last 14 days
  6. Type a name in the Enter name field
  7. Click Save

Interactive demo

Loading demo…

Summary

A trends insight charts how often an event happens over time. It is the quickest way to see whether a behavior, such as creating tasks, is rising or falling. Saving it keeps the chart one click away.

Step-by-step guide

  1. Step 1

    Open the Trends tab

    Start a new insight in Product analytics. Make sure the Trends tab is selected above the Series panel. It is the default view and plots an event count over time.

  2. Step 2

    Pick the event to count

    In the Series panel, click the Pageview button. A search box opens so you can swap the default event for the one you want to measure.

  3. Step 3

    Choose task_created

    Type task_created in the search box and click task_created Events in the results. The chart reloads and now counts that event.

  4. Step 4

    Open the date range

    Above the chart, click the date range button that currently reads Last 7 days. A list of presets opens.

  5. Step 5

    Select the last 14 days

    Click Last 14 days. The chart widens to two weeks so you can see the daily trend more clearly.

  6. Step 6

    Name the insight

    Click the Enter name field at the top of the page and type a clear name, such as Tasks created per day.

  7. Step 7

    Save the insight

    Click Save. The insight is stored under the name you entered and the page switches to the saved view of the chart.

Why this matters

You want to know whether people are actually creating tasks in your product, not just visiting it. A saved trends insight gives you a daily chart of that event over two weeks that you can reopen, share, or check after each release.

Frequently asked questions

  • Does a trends insight count every occurrence of an event?

    By default the series uses Total count, so each time the event fires it adds to that day's number.

  • Can I change the time range after saving?

    Yes. The date range button stays above the saved chart, so you can pick another preset such as Last 30 days.

Create interactive demos like this one — free, no coding required.

Start for free →