← All help articles

Data

Events not showing up? A checklist

Most missing events come down to the install, a filter or an ad blocker, so work through these five checks in order.

1. Is PostHog installed?

Installation Health shows whether PostHog has received events from your site.

  1. Click Web analytics in the left navigation.

    The left navigation with Web analytics highlighted
  2. Click the Installation Health tab.

    The Web analytics page with the Installation Health tab highlighted
  3. Under Event tracking, find the $pageview check. When it passes, it says "Events are flowing in as expected…".

    The passing $pageview check in the Event tracking section of Installation Health

The checks are grouped into Event tracking, Configuration and Performance. If the $pageview check fails, it shows a "Complete installation" button. Click it to finish setting up PostHog on your site.

Installation Health runs its checks once a day and looks back 30 days. A brand-new install won't show up there right away. For a live test, use Activity (check 2).

2. Are events arriving?

The Live tab in Activity shows events as they come in.

  1. Click Activity in the left navigation.

    The left navigation with Activity highlighted
  2. Click the Live tab.

    The Activity page with the Live tab highlighted
  3. In another browser tab, open your site and load a page.

  4. Back in PostHog, look at the top of the table. Your Pageview event ($pageview) appears there within seconds.

    A new Pageview event in the top row of the Live table
  5. Click Filter by event.

    The Filter by event button in the bar above the Live table
  6. Choose Pageview, or your custom event. The table shows only that event.

    The event filter set to Pageview

New events are added at the top, and the table keeps the latest 100. The table pauses while its browser tab is hidden.

Live shows events before PostHog matches them to a person, so the Person distinct ID can be empty. That's expected. The Events tab can take up to a few minutes to show the same event.

3. Are you filtering yourself out?

An internal and test users filter hides events from your own team. Check what it filters, and make sure it doesn't hide real users. Editing it needs project admin access.

  1. Click Settings at the bottom of the left navigation.

    The left navigation with Settings highlighted at the bottom
  2. Click Customization.

    The settings menu with Customization highlighted under Project
  3. Find Filter out internal and test users.

    The Filter out internal and test users setting and its description

    New projects start with a filter on the cohort "Internal / Test users".

  4. Click Filter.

    The Filter button next to the existing filters
  5. Add a filter: Email address doesn't contain your company domain, for example example.org.

    The filter editor is highlighted: Email address doesn't contain example.org
  6. Add another filter the same way: IP address doesn't equal your office IP, for example 203.0.113.24.

    The filter editor is highlighted: IP address doesn't equal 203.0.113.24
  7. Switch on Enable this filter on all new insights.

    The Enable this filter on all new insights switch turned on
  8. To apply the filter to the insights you already have, click Turn on for existing insights. This doesn't change the default for new insights.

    The Turn on for existing insights button below the filter list
  9. In any insight, use the Filter out internal and test users switch under Filters to turn the filter on or off for that insight.

    The Filter out internal and test users switch in an insight's Filters panel

Use exclusive operators, such as "doesn't contain" and "doesn't equal". PostHog warns that an inclusive filter keeps only the matching events and removes everything else.

A filter on a person property, such as email, can also drop anonymous users. Visitors who never identified have no email, so events without a person profile may be filtered out.

After you add a person property filter, compare an insight with the switch on and off. If anonymous traffic disappears, filter on an event property such as IP address instead.

4. Is an ad blocker stopping events?

Ad blockers keep lists of known analytics domains and block requests to them, even on your own computer. Test for it first, then fix it with a reverse proxy.

  1. Turn off your own ad blocker.

  2. Reload your site.

  3. Look at the Live tab in Activity again. If your events show up now, an ad blocker was the cause.

    The Live tab in Activity with a new event in the top row
  4. To fix it on PostHog Cloud, click Settings at the bottom of the left navigation.

    The left navigation with Settings highlighted at the bottom
  5. Under Organization, click Managed reverse proxy.

    The settings menu with Managed reverse proxy highlighted under Organization

    You need to be an organization admin.

  6. Click Add managed proxy.

    The Managed reverse proxy page with the Add managed proxy button

A reverse proxy sends PostHog requests through your own domain. Pick a domain that ad blockers won't flag as analytics or advertising. Setting up the proxy is covered in a separate article.

5. Does one count match your own data?

Compare one number in PostHog with the same number in your own database.

  1. Click Product analytics in the left navigation.

    The left navigation with Product analytics highlighted
  2. Click New.

    The New button at the top right of Product analytics
  3. Click Trends.

    The new insight menu with the Trends card highlighted
  4. Under Series, click the event and choose signed_up. A new insight starts with Pageview.

    The series event set to signed_up
  5. Check that the series uses Total count.

    Total count selected next to the signed_up event
  6. Set the date range to Last 7 days.

    The date range set to Last 7 days above the chart
  7. Compare the total with the number of signups in your own database for the same days.

    The signed_up total in the table below the chart

Small differences are normal. Ad blockers, the internal filter and time zones can all move the count, so check that both use the same time zone. A big gap points back to check 3 or check 4.

Common problems

My own test event isn't in the Events tab. The Events tab can apply the internal and test users filter by default, and it can take up to a few minutes to show a new event. Check the Live tab in Activity instead, or switch off Filter out internal and test users in the Events tab.

Live shows "Waiting for events…". Nothing has arrived since you opened the tab. Load a page on your site. If still nothing shows up, check that PostHog is installed on the site (check 1) and that no ad blocker is stopping it (check 4).

The Filter out internal and test users switch is greyed out. No internal filters are set yet. The switch says "You haven't set any internal test filters. Click the gear icon to configure." Add your filters in Settings, as in check 3.

Watch it

Prefer to watch? The video Is your data right? A 5-minute check (5:16) covers the same ground.

  • 0:00 Are events arriving?

  • 0:57 Check the install

  • 1:28 Why PostHog can show fewer visitors

  • 2:09 Filter yourself out

  • 4:15 Quick sanity check