How to filter out internal users in PostHog

Exclude your team's traffic from PostHog analytics by adding a plan does not equal internal filter and applying it to every new insight.

Quick answer

Open Settings, then Customization, and find Filter out internal and test users. Click Filter, choose the plan person property, change the operator from equals to doesn't equal, enter internal as the value, then turn on Enable this filter on all new insights so new insights exclude those users automatically.

Steps at a glance

  1. Open Settings, then Customization
  2. Click Filter under internal and test users
  3. Choose the plan person property
  4. Open the operator menu
  5. Pick the doesn't equal operator
  6. Enter internal as the value
  7. Turn on the filter for all new insights

Interactive demo

Loading demo…

Summary

PostHog can exclude internal and test users from your insights with a person property filter. Setting it once in project settings keeps staff activity from skewing the metrics you report on.

Step-by-step guide

  1. Step 1

    Open the internal user filter

    Open Settings and select Customization. Scroll to the Filter out internal and test users section and click Filter to start a new condition.

  2. Step 2

    Choose the plan person property

    Search for the property you use to mark internal people. Select plan from the Person properties results.

  3. Step 3

    Open the operator menu

    The new condition appears as plan = ? with the = equals operator. An equals condition keeps only matching users, so open the operator menu to change it.

  4. Step 4

    Change the operator to doesn't equal

    Select ≠ doesn't equal from the list. This makes the condition exclude matching users instead of keeping only them.

  5. Step 5

    Enter the value internal

    Click the Enter value... field and type internal. PostHog also lists suggested values for the property if you want to pick one.

  6. Step 6

    Add internal as the value

    Click Add "internal" to confirm the value. The condition now reads plan ≠ internal.

  7. Step 7

    Enable the filter on all new insights

    Turn on Enable this filter on all new insights. Every insight you create from now on excludes internal users by default.

Why this matters

You are about to share growth numbers, but your own team's test sessions inflate every chart. Filtering them out once in project settings means each new insight starts with clean data, so the numbers you present reflect real customers.

Frequently asked questions

  • Why use doesn't equal instead of equals?

    The equals operator keeps only users whose plan is internal. The doesn't equal operator removes them, which is what you want when excluding internal users.

  • Does the filter apply to insights I already made?

    The switch covers new insights. The same section also shows Turn on for existing insights and Turn off for existing insights buttons.

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

Start for free →