Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(settings): say that internal user filters describe users to keep (#115683)

Ben Leac70520ed5ae0
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index f5db8fc9a589..b269783d9c0d 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -2533,9 +2533,9 @@ snapshots:
components-search--product-recents-and-starred--light:
hash: v1.k794b7964.45213063c3c767175033b9c3ff72d94df2e3ffc9ffe46398bc78c45c3708f1b5.X_mXo_erMw09YXsaZY6-sc_9vQx8VtriGVHZgr_wJmw
components-search--searching--dark:
- hash: v1.k794b7964.b57ee5415b17379fe261f0877e58f46b74fa2e7add4c98af9a20bf68817e2734.hpNcDC6KSfjxO4HXx9rTvSyWZYuOLA4H2-b2pxrEx8E
+ hash: v1.k794b7964.7c8585ec7bcbefeb916954fd0d476f3140f25665e368d5456f4abf873d9597da.hLQW_sP1EH_DVjbBsu3Ku2H-r7PIoqivMNDpCpptmq4
components-search--searching--light:
- hash: v1.k794b7964.d6c374e86c31508bd12b2e9fa9de2ea83eb4b02b9614e0edc732f8af18a84804.j4pQZtD0WOxFwadm2H70S9UNA1VETndo5aj2dNnD2z8
+ hash: v1.k794b7964.05415d410c630b24de2aa17631510018bc723a5ac9802dd1920a280097796040.TqtDycdg3ecLyufLtaicd8o8UKijcw_WfqBs50vkqVs
components-sentencelist--full-sentence--dark:
hash: v1.k794b7964.7e8e5dd2e09d246cc3668f362f2391fe67618bd1143aa393832297f5dc30e558.yptEWKc5RAUY613Fwd5cQ0VIinMvpdoI6cuKgagAGxk
components-sentencelist--full-sentence--light:
@@ -13695,9 +13695,9 @@ snapshots:
scenes-app-replay-vision-spendtrajectorychart--paused-at-the-limit--light:
hash: v1.k794b7964.5519427fad631ebc75aba832b787eba17bd6359b934bebe947c8cdb2e2683d0a.Kq7yYGkrCJF4yp3eK4S5v_zJVqwk4EngNIrM-6cO9qI
scenes-app-replay-vision-test-account-filter-settings-dialog--default--dark:
- hash: v1.k794b7964.57289f977a42e43a6b70a0718959bc995a7a45245b20fda636e880beec7cc2e8.2CONzn8joR8LZgN9VOcNokIFUUJmtzE-TJTbprVGmt8
+ hash: v1.k794b7964.0dac77dbf97e99deb916b18c338f397b1c7c58d305dcb722c2c397f1efe2167f.CH2uxVc4xyfRne0meiJNYXeK1aiNC9KaBpAX_EVhWiQ
scenes-app-replay-vision-test-account-filter-settings-dialog--default--light:
- hash: v1.k794b7964.8276936411550e5ab99aa3d216a442c6328a55434a4bcf273cbef46a39d940b4.asrT7Nd6P9HVchxOoJPfMOOttbQVP6XFXptRAtnXC3k
+ hash: v1.k794b7964.4a45317cf1541935394cc4f27a9b29c17f0c8aeaebb6a832fd947dca51c1dacd.-SOqokEQ4yQf2ZbX4EM6nY2csQRt0E46XT4F1g_pTlE
scenes-app-replay-vision-watchfeedemptystate--all-capped--dark:
hash: v1.k794b7964.2044f64f59724a250003d8be462529ad61a07e05f5a7104879a7b00980c17b1e.2ec-AsxkwzKRLGbe4NJhCFYTVZhBBS-G4PowHISQAK0
scenes-app-replay-vision-watchfeedemptystate--all-capped--light:
@@ -13843,9 +13843,9 @@ snapshots:
scenes-app-settings-environment--settings-environment-csp-reporting--light:
hash: v1.k794b7964.1646f3afd63d8d505447395a2c6e6529787c1838844af526160ab244cc9405cd.BIByLvztkTxYaSlgHGzrSMYnnzPDd-rJyKNb1p-ZGQI
scenes-app-settings-environment--settings-environment-customization--dark:
- hash: v1.k794b7964.bfaec3b533d535c5f19ed8f34c57394e1d5602c6a58589d5f05044af96d0cc85.UMsAbDSvRpGmKfB8HeyyBNqPTWFaD65uBpqZXkfRFoE
+ hash: v1.k794b7964.2019bcc081d6f0a175c27c27d1ce52aed1947e8a6faee9f5f7d504848214fc68.RpuWJ7VvVjPTAS4AgJtF0CbbMt_uNZPlDhUmG8aqTSk
scenes-app-settings-environment--settings-environment-customization--light:
- hash: v1.k794b7964.33cae70ab7a30e894962ddc156abb5477b863a5ed481e4f7caead58328d9ad94.R0aFc7cPFVvwCEOAKtTU0P6QE24uYm61vgBRKCa5blY
+ hash: v1.k794b7964.9241aef090f91d37d0cf0eb993f0d248e87625cc197c25223235254585f61112.kIymVvUKgN1fP5exlEPPUtcKGIO1lh7stBWty9ynEMk
scenes-app-settings-environment--settings-environment-danger-zone--dark:
hash: v1.k794b7964.84e3a358a899bc5f13f4685cf4db1bfaa95d59cf95ec4763fbedcbff55171693.7TJPAEgua5huT0mRCjjjEgAPqeoveWSs7k3Oyq-cnPQ
scenes-app-settings-environment--settings-environment-danger-zone--light:
@@ -13999,9 +13999,9 @@ snapshots:
scenes-app-settings-project--settings-project-autocapture--light:
hash: v1.k794b7964.49c898ef4846589e3d6ad1425769953f59683ead6194e12f4cc7686eed47dfbf.IVt6KRNxxhx0sPjmvtM727zulmaaNCF0TywtrSugnpc
scenes-app-settings-project--settings-project-customization--dark:
- hash: v1.k794b7964.bfaec3b533d535c5f19ed8f34c57394e1d5602c6a58589d5f05044af96d0cc85.Oj8AJe1oDUPSQplY0AURSUcbhaTRXe0wVuTmy3l6rZQ
+ hash: v1.k794b7964.2019bcc081d6f0a175c27c27d1ce52aed1947e8a6faee9f5f7d504848214fc68.LdBF_l_Ak8C0DDLpwQrfUrF7tME5a6xricLMTu4Corw
scenes-app-settings-project--settings-project-customization--light:
- hash: v1.k794b7964.33cae70ab7a30e894962ddc156abb5477b863a5ed481e4f7caead58328d9ad94.xl9_xZVRAOH3B_Gvff2_8P3xUANIrRK3R83Hyog17W4
+ hash: v1.k794b7964.9241aef090f91d37d0cf0eb993f0d248e87625cc197c25223235254585f61112.y_u-V2eH6lfe4_9sHmJAa2sLmqVhMFloinEwv6rQjZA
scenes-app-settings-project--settings-project-danger-zone--dark:
hash: v1.k794b7964.50b22c572c7cb5f542900de9d60d5b1524be7c0087fa45e439ef9a1b920ddb8a.F34aW_MO5u9SwCivXSrG1MgLv6KwU0LFM0JnrDlFjms
scenes-app-settings-project--settings-project-danger-zone--light:
diff --git a/frontend/src/scenes/settings/SettingsMap.tsx b/frontend/src/scenes/settings/SettingsMap.tsx
index 36140a55c801..843d3430f4c0 100644
--- a/frontend/src/scenes/settings/SettingsMap.tsx
+++ b/frontend/src/scenes/settings/SettingsMap.tsx
@@ -333,7 +333,7 @@ export const SETTINGS_MAP: SettingSection[] = [
id: 'internal-user-filtering',
title: 'Filter out internal and test users',
description:
- 'Define filters to exclude internal users and test accounts from your analytics. Filtered users will not appear in insights by default.',
+ 'Add filters that match the users you want to keep, for example "email does not contain yourcompany.com". When this filter is on, events that do not match every filter are hidden from insights. A destination applies these filters only when "Filter out internal and test users" is turned on in its filters.',
docsUrl: 'https://posthog.com/tutorials/filter-internal-users',
component: <ProjectAccountFiltersSetting />,
keywords: ['test account', 'internal', 'exclude', 'filter'],
diff --git a/frontend/src/scenes/settings/environment/TestAccountFiltersConfig.tsx b/frontend/src/scenes/settings/environment/TestAccountFiltersConfig.tsx
index 831de16b1d45..c2cff3a18f78 100644
--- a/frontend/src/scenes/settings/environment/TestAccountFiltersConfig.tsx
+++ b/frontend/src/scenes/settings/environment/TestAccountFiltersConfig.tsx
@@ -94,9 +94,9 @@ function TestAccountFiltersConfig(): JSX.Element {
{!!testAccountFilterWarningLabels && testAccountFilterWarningLabels.length > 0 && (
<LemonBanner type="warning" className="m-2">
<p>
- You've added an <strong>inclusive</strong> filter, which means only matching events will be
- included. Filters are normally <strong>exclusive</strong>, such as <i>does not contain</i>,
- to filter out unwanted results.
+ You've added an <strong>inclusive</strong> filter. It keeps only the matching events and
+ removes everything else, also in destinations that use this filter. To remove internal
+ users, use an <strong>exclusive</strong> operator such as <i>does not contain</i>.
</p>
<p>Inclusive filters are currently set for the following properties: </p>
<ul className="list-disc">