Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

feat: add ISP, organization, usage type and connection type tracking

Blue Mousef9fcc13565ae
diff --git a/backend/apps/cloud/src/analytics/analytics.controller.ts b/backend/apps/cloud/src/analytics/analytics.controller.ts
index b2ba6f434..6b705d480 100644
--- a/backend/apps/cloud/src/analytics/analytics.controller.ts
+++ b/backend/apps/cloud/src/analytics/analytics.controller.ts
@@ -1183,7 +1183,16 @@ export class AnalyticsController {
profileId,
)
- const { city, region, regionCode, country } = getGeoDetails(ip, errorDTO.tz)
+ const {
+ city,
+ region,
+ regionCode,
+ country,
+ isp,
+ organization,
+ userType,
+ connectionType,
+ } = getGeoDetails(ip, errorDTO.tz)
this.analyticsService.checkCountryBlacklist(project, country)
@@ -1215,6 +1224,10 @@ export class AnalyticsController {
region,
regionCode,
city,
+ isp,
+ organization,
+ userType,
+ connectionType,
name,
message,
lineno,
@@ -1298,10 +1311,16 @@ export class AnalyticsController {
}
}
- const { city, region, regionCode, country } = getGeoDetails(
- ip,
- eventsDTO.tz,
- )
+ const {
+ city,
+ region,
+ regionCode,
+ country,
+ isp,
+ organization,
+ userType,
+ connectionType,
+ } = getGeoDetails(ip, eventsDTO.tz)
this.analyticsService.checkCountryBlacklist(project, country)
@@ -1355,6 +1374,10 @@ export class AnalyticsController {
region,
regionCode,
city,
+ isp,
+ organization,
+ userType,
+ connectionType,
eventsDTO.meta,
)
@@ -1463,7 +1486,16 @@ export class AnalyticsController {
)
}
- const { city, region, regionCode, country } = getGeoDetails(ip, logDTO.tz)
+ const {
+ city,
+ region,
+ regionCode,
+ country,
+ isp,
+ organization,
+ userType,
+ connectionType,
+ } = getGeoDetails(ip, logDTO.tz)
this.analyticsService.checkCountryBlacklist(project, country)
@@ -1494,6 +1526,10 @@ export class AnalyticsController {
region,
regionCode,
city,
+ isp,
+ organization,
+ userType,
+ connectionType,
logDTO.meta,
)
@@ -1522,6 +1558,10 @@ export class AnalyticsController {
region,
regionCode,
city,
+ isp,
+ organization,
+ userType,
+ connectionType,
dns,
tls,
conn,
@@ -1604,7 +1644,16 @@ export class AnalyticsController {
profileId,
)
- const { city, region, regionCode, country } = getGeoDetails(ip)
+ const {
+ city,
+ region,
+ regionCode,
+ country,
+ isp,
+ organization,
+ userType,
+ connectionType,
+ } = getGeoDetails(ip)
this.analyticsService.checkCountryBlacklist(project, country)
@@ -1635,6 +1684,10 @@ export class AnalyticsController {
region,
regionCode,
city,
+ isp,
+ organization,
+ userType,
+ connectionType,
null,
)
diff --git a/backend/apps/cloud/src/analytics/analytics.service.ts b/backend/apps/cloud/src/analytics/analytics.service.ts
index 3d894ae8f..6ecbcee01 100644
--- a/backend/apps/cloud/src/analytics/analytics.service.ts
+++ b/backend/apps/cloud/src/analytics/analytics.service.ts
@@ -245,7 +245,19 @@ export const getLowestPossibleTimeBucket = (
return _head(tbMap.tb)
}
-const EXCLUDE_NULL_FOR = ['so', 'me', 'ca', 'te', 'co', 'rg', 'ct']
+const EXCLUDE_NULL_FOR = [
+ 'so',
+ 'me',
+ 'ca',
+ 'te',
+ 'co',
+ 'rg',
+ 'ct',
+ 'isp',
+ 'og',
+ 'ut',
+ 'ctp',
+]
const generateParamsQuery = (
col: string,
diff --git a/backend/apps/cloud/src/analytics/utils/transformers.ts b/backend/apps/cloud/src/analytics/utils/transformers.ts
index 68c1a8cc0..1bcdf93c1 100644
--- a/backend/apps/cloud/src/analytics/utils/transformers.ts
+++ b/backend/apps/cloud/src/analytics/utils/transformers.ts
@@ -45,6 +45,10 @@ export const trafficTransformer = (
rg: string | null,
rgc: string | null,
ct: string | null,
+ isp: string | null,
+ og: string | null,
+ ut: string | null,
+ ctp: string | null,
meta: Record<string, string> | null,
) => {
return {
@@ -69,6 +73,10 @@ export const trafficTransformer = (
rg: rg || null,
rgc: rgc || null,
ct: ct || null,
+ isp: isp || null,
+ og: og || null,
+ ut: ut || null,
+ ctp: ctp || null,
...processMetaKV(meta),
created: dayjs.utc().format('YYYY-MM-DD HH:mm:ss'),
}
@@ -97,6 +105,10 @@ export const customEventTransformer = (
rg: string | null,
rgc: string | null,
ct: string | null,
+ isp: string | null,
+ og: string | null,
+ ut: string | null,
+ ctp: string | null,
meta: Record<string, string> | null,
) => {
return {
@@ -122,6 +134,10 @@ export const customEventTransformer = (
rg: rg || null,
rgc: rgc || null,
ct: ct || null,
+ isp: isp || null,
+ og: og || null,
+ ut: ut || null,
+ ctp: ctp || null,
...processMetaKV(meta),
created: dayjs.utc().format('YYYY-MM-DD HH:mm:ss'),
}
@@ -144,6 +160,10 @@ export const errorEventTransformer = (
rg: string | null,
rgc: string | null,
ct: string | null,
+ isp: string | null,
+ og: string | null,
+ ut: string | null,
+ ctp: string | null,
name: string | null,
message: string | null,
lineno: number | null,
@@ -169,6 +189,10 @@ export const errorEventTransformer = (
rg: rg || null,
rgc: rgc || null,
ct: ct || null,
+ isp: isp || null,
+ og: og || null,
+ ut: ut || null,
+ ctp: ctp || null,
name: name || null,
message: message || null,
lineno: lineno || null,
@@ -191,6 +215,10 @@ export const performanceTransformer = (
rg: string | null,
rgc: string | null,
ct: string | null,
+ isp: string | null,
+ og: string | null,
+ ut: string | null,
+ ctp: string | null,
dns: number,
tls: number,
conn: number,
@@ -211,6 +239,10 @@ export const performanceTransformer = (
rg: rg || null,
rgc: rgc || null,
ct: ct || null,
+ isp: isp || null,
+ og: og || null,
+ ut: ut || null,
+ ctp: ctp || null,
dns: _round(dns),
tls: _round(tls),
conn: _round(conn),
diff --git a/backend/apps/cloud/src/common/constants.ts b/backend/apps/cloud/src/common/constants.ts
index 4cc0146b9..57bedb8bc 100644
--- a/backend/apps/cloud/src/common/constants.ts
+++ b/backend/apps/cloud/src/common/constants.ts
@@ -83,6 +83,10 @@ const TRAFFIC_COLUMNS = [
'cc',
'rg',
'ct',
+ 'isp',
+ 'og',
+ 'ut',
+ 'ctp',
'host',
'pg',
'lc',
@@ -103,7 +107,20 @@ const TRAFFIC_METAKEY_COLUMNS = ['tag:key', 'tag:value']
const ALL_COLUMNS = [...TRAFFIC_COLUMNS, 'ev', 'entryPage', 'exitPage']
const CAPTCHA_COLUMNS = ['cc', 'br', 'os', 'dv']
-const PERFORMANCE_COLUMNS = ['cc', 'rg', 'ct', 'host', 'pg', 'dv', 'br', 'brv']
+const PERFORMANCE_COLUMNS = [
+ 'cc',
+ 'rg',
+ 'ct',
+ 'isp',
+ 'og',
+ 'ut',
+ 'ctp',
+ 'host',
+ 'pg',
+ 'dv',
+ 'br',
+ 'brv',
+]
const ERROR_COLUMNS = [
'host',
'pg',
@@ -116,6 +133,10 @@ const ERROR_COLUMNS = [
'cc',
'rg',
'ct',
+ 'isp',
+ 'og',
+ 'ut',
+ 'ctp',
]
const sentryIgnoreErrors: (string | RegExp)[] = [
diff --git a/backend/apps/cloud/src/common/utils.ts b/backend/apps/cloud/src/common/utils.ts
index b40b5903e..152de2212 100644
--- a/backend/apps/cloud/src/common/utils.ts
+++ b/backend/apps/cloud/src/common/utils.ts
@@ -260,29 +260,38 @@ interface IPGeoDetails {
region: string | null
regionCode: string | null
city: string | null
+ isp: string | null
+ organization: string | null
+ userType: string | null
+ connectionType: string | null
}
export const getGeoDetails = (ip: string, tz?: string): IPGeoDetails => {
- // Stage 1: Using IP address based geo lookup
const data = lookup.get(ip)
const country = data?.country?.iso_code || null
- // TODO: Add city overrides, for example, Colinton -> Edinburgh, etc.
const city = data?.city?.names?.en || null
- // TODO: Store ISO code, not region name
const region = data?.subdivisions?.[0]?.names?.en || null
const regionCode = data?.subdivisions?.[0]?.iso_code || null
+ const isp = data?.traits?.isp || null
+ const organization = data?.traits?.organization || null
+ const userType = data?.traits?.user_type || null
+ const connectionType = data?.traits?.connection_type || null
+
if (country) {
return {
country,
city,
region,
regionCode,
+ isp,
+ organization,
+ userType,
+ connectionType,
}
}
- // Stage 2: Using timezone based geo lookup as a fallback
const tzCountry = timezones.getCountryForTimezone(tz)?.id || null
return {
@@ -290,6 +299,10 @@ export const getGeoDetails = (ip: string, tz?: string): IPGeoDetails => {
city: null,
region: null,
regionCode: null,
+ isp: null,
+ organization: null,
+ userType: null,
+ connectionType: null,
}
}
diff --git a/backend/meta/dbip-commercial-sync.js b/backend/meta/dbip-commercial-sync.js
index f6502e0ae..b39804a87 100644
--- a/backend/meta/dbip-commercial-sync.js
+++ b/backend/meta/dbip-commercial-sync.js
@@ -55,7 +55,7 @@ function followableGet(url, options = {}, maxRedirects = 5) {
}
async function fetchDbipAccountInfo(apiKey) {
- const metadataUrl = `https://db-ip.com/account/${apiKey}/db/ip-to-location/`
+ const metadataUrl = `https://db-ip.com/account/${apiKey}/db/ip-to-location-isp/`
const response = await followableGet(metadataUrl, {
headers: { Accept: 'application/json' },
})
diff --git a/backend/migrations/clickhouse/2026_03_19_isp_network.js b/backend/migrations/clickhouse/2026_03_19_isp_network.js
new file mode 100644
index 000000000..3c3642a55
--- /dev/null
+++ b/backend/migrations/clickhouse/2026_03_19_isp_network.js
@@ -0,0 +1,12 @@
+const { queriesRunner, dbName } = require('./setup')
+
+const tables = ['analytics', 'customEV', 'performance', 'errors']
+
+const queries = tables.flatMap((table) => [
+ `ALTER TABLE ${dbName}.${table} ADD COLUMN IF NOT EXISTS isp LowCardinality(Nullable(String)) AFTER ct`,
+ `ALTER TABLE ${dbName}.${table} ADD COLUMN IF NOT EXISTS og Nullable(String) CODEC(ZSTD(3)) AFTER isp`,
+ `ALTER TABLE ${dbName}.${table} ADD COLUMN IF NOT EXISTS ut LowCardinality(Nullable(String)) AFTER og`,
+ `ALTER TABLE ${dbName}.${table} ADD COLUMN IF NOT EXISTS ctp LowCardinality(Nullable(String)) AFTER ut`,
+])
+
+queriesRunner(queries)
diff --git a/backend/migrations/clickhouse/initialise_database.js b/backend/migrations/clickhouse/initialise_database.js
index 655f4a21a..5a196fe62 100644
--- a/backend/migrations/clickhouse/initialise_database.js
+++ b/backend/migrations/clickhouse/initialise_database.js
@@ -28,6 +28,10 @@ const CLICKHOUSE_INIT_QUERIES = [
rg LowCardinality(Nullable(String)),
rgc LowCardinality(Nullable(String)),
ct Nullable(String) CODEC(ZSTD(3)),
+ isp LowCardinality(Nullable(String)),
+ og Nullable(String) CODEC(ZSTD(3)),
+ ut LowCardinality(Nullable(String)),
+ ctp LowCardinality(Nullable(String)),
\`meta.key\` Array(String) CODEC(ZSTD(3)),
\`meta.value\` Array(String) CODEC(ZSTD(3)),
created DateTime('UTC') CODEC(Delta(4), LZ4)
@@ -61,6 +65,10 @@ const CLICKHOUSE_INIT_QUERIES = [
rg LowCardinality(Nullable(String)),
rgc LowCardinality(Nullable(String)),
ct Nullable(String) CODEC(ZSTD(3)),
+ isp LowCardinality(Nullable(String)),
+ og Nullable(String) CODEC(ZSTD(3)),
+ ut LowCardinality(Nullable(String)),
+ ctp LowCardinality(Nullable(String)),
\`meta.key\` Array(String) CODEC(ZSTD(3)),
\`meta.value\` Array(String) CODEC(ZSTD(3)),
created DateTime('UTC') CODEC(Delta(4), LZ4)
@@ -82,6 +90,10 @@ const CLICKHOUSE_INIT_QUERIES = [
rg LowCardinality(Nullable(String)),
rgc LowCardinality(Nullable(String)),
ct Nullable(String) CODEC(ZSTD(3)),
+ isp LowCardinality(Nullable(String)),
+ og Nullable(String) CODEC(ZSTD(3)),
+ ut LowCardinality(Nullable(String)),
+ ctp LowCardinality(Nullable(String)),
dns Nullable(UInt32),
tls Nullable(UInt32),
conn Nullable(UInt32),
@@ -115,6 +127,10 @@ const CLICKHOUSE_INIT_QUERIES = [
rg LowCardinality(Nullable(String)),
rgc LowCardinality(Nullable(String)),
ct Nullable(String) CODEC(ZSTD(3)),
+ isp LowCardinality(Nullable(String)),
+ og Nullable(String) CODEC(ZSTD(3)),
+ ut LowCardinality(Nullable(String)),
+ ctp LowCardinality(Nullable(String)),
name String CODEC(ZSTD(3)),
message Nullable(String) CODEC(ZSTD(3)),
stackTrace Nullable(String) CODEC(ZSTD(3)),
diff --git a/web/app/lib/constants/index.ts b/web/app/lib/constants/index.ts
index 233e4c746..ac25d4c15 100644
--- a/web/app/lib/constants/index.ts
+++ b/web/app/lib/constants/index.ts
@@ -230,10 +230,11 @@ export const TRAFFIC_PANELS_ORDER = [
'location',
'pg',
'devices',
+ 'network',
'traffic-sources',
]
-export const PERFORMANCE_PANELS_ORDER = ['location', 'pg', 'devices']
-export const ERROR_PANELS_ORDER = ['location', 'pg', 'devices']
+export const PERFORMANCE_PANELS_ORDER = ['location', 'pg', 'devices', 'network']
+export const ERROR_PANELS_ORDER = ['location', 'pg', 'devices', 'network']
export const FILTERS_PANELS_ORDER = [
'pg',
'entryPage',
@@ -254,6 +255,10 @@ export const FILTERS_PANELS_ORDER = [
'ca',
'te',
'co',
+ 'isp',
+ 'og',
+ 'ut',
+ 'ctp',
]
export const ERRORS_FILTERS_PANELS_ORDER = [
'cc',
@@ -266,6 +271,10 @@ export const ERRORS_FILTERS_PANELS_ORDER = [
'osv',
'lc',
'dv',
+ 'isp',
+ 'og',
+ 'ut',
+ 'ctp',
]
// the maximum amount of months user can go back when picking a date in flat picker (project view)
diff --git a/web/app/pages/Project/View/ViewProject.helpers.tsx b/web/app/pages/Project/View/ViewProject.helpers.tsx
index f23b603ee..7e523f7d4 100644
--- a/web/app/pages/Project/View/ViewProject.helpers.tsx
+++ b/web/app/pages/Project/View/ViewProject.helpers.tsx
@@ -2164,6 +2164,10 @@ const typeNameMapping = (t: typeof i18next.t) => ({
ca: t('project.mapping.ca'),
te: t('project.mapping.te'),
co: t('project.mapping.co'),
+ isp: t('project.mapping.isp'),
+ og: t('project.mapping.og'),
+ ut: t('project.mapping.ut'),
+ ctp: t('project.mapping.ctp'),
ev: t('project.event'),
userFlow: t('project.mapping.userFlow'),
'tag:key': t('project.metamapping.tag.key'),
@@ -2174,6 +2178,7 @@ const typeNameMapping = (t: typeof i18next.t) => ({
location: t('project.location'),
browser: t('project.browser'),
devices: t('project.devices'),
+ network: t('project.network'),
map: t('project.map'),
})
@@ -2187,6 +2192,7 @@ const panelIconMapping = {
br: <CompassIcon className={iconClassName} />,
os: <MonitorPlayIcon className={iconClassName} />,
so: <ShareIcon className={iconClassName} />,
+ isp: <GlobeIcon className={iconClassName} />,
}
export const deviceIconMapping = {
diff --git a/web/app/pages/Project/View/utils/filters.tsx b/web/app/pages/Project/View/utils/filters.tsx
index 2e466dc3c..5a7f6c858 100644
--- a/web/app/pages/Project/View/utils/filters.tsx
+++ b/web/app/pages/Project/View/utils/filters.tsx
@@ -38,6 +38,10 @@ const validFilters = [
'ca',
'te',
'co',
+ 'isp',
+ 'og',
+ 'ut',
+ 'ctp',
'ev',
'tag:key',
'tag:value',
diff --git a/web/app/pages/Project/tabs/Errors/ErrorsView.tsx b/web/app/pages/Project/tabs/Errors/ErrorsView.tsx
index 03dc367b5..ae2a82bb7 100644
--- a/web/app/pages/Project/tabs/Errors/ErrorsView.tsx
+++ b/web/app/pages/Project/tabs/Errors/ErrorsView.tsx
@@ -594,10 +594,12 @@ const ErrorsViewInner = ({ deferredData }: ErrorsViewInnerProps) => {
location: 'cc' | 'rg' | 'ct' | 'lc' | 'map'
page: 'pg' | 'host'
device: 'br' | 'os' | 'dv'
+ network: 'isp' | 'og' | 'ut' | 'ctp'
}>({
location: 'cc',
page: 'pg',
device: 'br',
+ network: 'isp',
})
const pureSearchParams = useMemo(() => {
@@ -1125,6 +1127,46 @@ const ErrorsViewInner = ({ deferredData }: ErrorsViewInnerProps) => {
)
}
+ if (type === 'network') {
+ const networkTabs = [
+ { id: 'isp', label: t('project.mapping.isp') },
+ { id: 'og', label: t('project.mapping.og') },
+ { id: 'ut', label: t('project.mapping.ut') },
+ { id: 'ctp', label: t('project.mapping.ctp') },
+ ]
+
+ return (
+ <Panel
+ key={errorsActiveTabs.network}
+ icon={panelIconMapping.isp}
+ id={errorsActiveTabs.network}
+ getFilterLink={getFilterLink}
+ name={t('project.network')}
+ tabs={networkTabs}
+ onTabChange={(tab) =>
+ setErrorsActiveTabs({
+ ...errorsActiveTabs,
+ network: tab as 'isp' | 'og' | 'ut' | 'ctp',
+ })
+ }
+ activeTabId={errorsActiveTabs.network}
+ data={
+ activeError?.params?.[errorsActiveTabs.network] || []
+ }
+ rowMapper={({ name: entryName }) => {
+ if (!entryName) {
+ return (
+ <span className='italic'>{t('common.notSet')}</span>
+ )
+ }
+ return entryName
+ }}
+ valuesHeaderName={t('project.occurrences')}
+ highlightColour='red'
+ />
+ )
+ }
+
if (type === 'pg') {
const pageTabs = [
{ id: 'pg', label: t('project.mapping.pg') },
diff --git a/web/app/pages/Project/tabs/Performance/PerformanceView.tsx b/web/app/pages/Project/tabs/Performance/PerformanceView.tsx
index ecde96ef6..2d3a868c0 100644
--- a/web/app/pages/Project/tabs/Performance/PerformanceView.tsx
+++ b/web/app/pages/Project/tabs/Performance/PerformanceView.tsx
@@ -259,10 +259,12 @@ const PerformanceViewInner = ({
location: 'cc' | 'rg' | 'ct' | 'map'
page: 'pg' | 'host'
device: 'br' | 'os' | 'dv'
+ network: 'isp' | 'og' | 'ut' | 'ctp'
}>({
location: 'cc',
page: 'pg',
device: 'br',
+ network: 'isp',
})
const chartMetrics = useMemo(
@@ -645,6 +647,48 @@ const PerformanceViewInner = ({
)
}
+ if (type === 'network') {
+ const networkTabs = [
+ { id: 'isp', label: t('project.mapping.isp') },
+ { id: 'og', label: t('project.mapping.og') },
+ { id: 'ut', label: t('project.mapping.ut') },
+ { id: 'ctp', label: t('project.mapping.ctp') },
+ ]
+
+ return (
+ <Panel
+ key={activeTabs.network}
+ icon={panelIconMapping.isp}
+ id={activeTabs.network}
+ getFilterLink={getFilterLink}
+ name={t('project.network')}
+ tabs={networkTabs}
+ onTabChange={(tab) =>
+ setActiveTabs({
+ ...activeTabs,
+ network: tab as 'isp' | 'og' | 'ut' | 'ctp',
+ })
+ }
+ activeTabId={activeTabs.network}
+ data={panelsData.data[activeTabs.network]}
+ rowMapper={({ name: entryName }) => {
+ if (!entryName) {
+ return (
+ <span className='italic'>{t('common.notSet')}</span>
+ )
+ }
+ return entryName
+ }}
+ // @ts-expect-error
+ valueMapper={(value) =>
+ getStringFromTime(getTimeFromSeconds(value), true)
+ }
+ valuesHeaderName={t('project.loadTime')}
+ highlightColour='orange'
+ />
+ )
+ }
+
if (type === 'pg') {
const pageTabs = [
{ id: 'pg', label: t('project.mapping.pg') },
diff --git a/web/app/pages/Project/tabs/Traffic/TrafficView.tsx b/web/app/pages/Project/tabs/Traffic/TrafficView.tsx
index c7cb9a1ea..7e114bb71 100644
--- a/web/app/pages/Project/tabs/Traffic/TrafficView.tsx
+++ b/web/app/pages/Project/tabs/Traffic/TrafficView.tsx
@@ -415,6 +415,7 @@ const TrafficViewInner = ({
location: 'cc' | 'rg' | 'ct' | 'lc' | 'map'
page: 'pg' | 'host' | 'userFlow' | 'entryPage' | 'exitPage'
device: 'br' | 'os' | 'dv'
+ network: 'isp' | 'og' | 'ut' | 'ctp'
source: 'ref' | 'so' | 'me' | 'ca' | 'te' | 'co' | 'keywords'
customEvMetadata: string
pageviewMetadata: string
@@ -422,6 +423,7 @@ const TrafficViewInner = ({
location: 'cc',
page: 'pg',
device: 'br',
+ network: 'isp',
source: 'ref',
customEvMetadata: '',
pageviewMetadata: '',
@@ -1251,6 +1253,37 @@ const TrafficViewInner = ({
)
}
+ if (type === 'network') {
+ const networkTabs = [
+ { id: 'isp', label: t('project.mapping.isp') },
+ { id: 'og', label: t('project.mapping.og') },
+ { id: 'ut', label: t('project.mapping.ut') },
+ { id: 'ctp', label: t('project.mapping.ctp') },
+ ]
+
+ return (
+ <Panel
+ key={panelsActiveTabs.network}
+ icon={panelIconMapping.isp}
+ id={panelsActiveTabs.network}
+ getFilterLink={getFilterLink}
+ name={t('project.network')}
+ tabs={networkTabs}
+ onTabChange={(tab) => setPanelTab('network', tab)}
+ activeTabId={panelsActiveTabs.network}
+ data={panelsData.data[panelsActiveTabs.network]}
+ rowMapper={({ name: entryName }) => {
+ if (!entryName) {
+ return (
+ <span className='italic'>{t('common.notSet')}</span>
+ )
+ }
+ return entryName
+ }}
+ />
+ )
+ }
+
if (type === 'pg') {
const pageTabs = [
{ id: 'pg', label: t('project.mapping.pg') },
diff --git a/web/app/ui/FilterValueInput.tsx b/web/app/ui/FilterValueInput.tsx
index c12d2b195..127320266 100644
--- a/web/app/ui/FilterValueInput.tsx
+++ b/web/app/ui/FilterValueInput.tsx
@@ -76,6 +76,10 @@ export const filterCategoryIcons: Record<string, ReactNode> = {
co: <FileIcon className='size-4' />,
lc: <TranslateIcon className='size-4' />,
dv: <DevicesIcon className='size-4' />,
+ isp: <GlobeIcon className='size-4' />,
+ og: <BuildingIcon className='size-4' />,
+ ut: <CpuIcon className='size-4' />,
+ ctp: <LinkIcon className='size-4' />,
}
const deviceIconMapping: Record<string, ReactNode> = {
diff --git a/web/public/locales/en.json b/web/public/locales/en.json
index 9f8ea57d5..de5216c98 100644
--- a/web/public/locales/en.json
+++ b/web/public/locales/en.json
@@ -1576,7 +1576,11 @@
"entryPage": "Entry page",
"exitPage": "Exit page",
"keywords": "Keywords",
- "keyword": "Keyword"
+ "keyword": "Keyword",
+ "isp": "ISP",
+ "og": "Organisation",
+ "ut": "Usage type",
+ "ctp": "Connection type"
},
"connectGsc": "Connect Google Search Console to see keywords for this project.",
"gscConnectionRequired": "Google Search Console connection is required to view keywords for this project. Ask the project administrator to connect it first.",