From 93f6895fc5db117ce0351a2a60c870d01152053a Mon Sep 17 00:00:00 2001 From: Robbie Date: Tue, 26 Mar 2024 22:52:05 +0000 Subject: [PATCH] Update session taxonomy --- frontend/src/lib/taxonomy.tsx | 130 ++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) diff --git a/frontend/src/lib/taxonomy.tsx b/frontend/src/lib/taxonomy.tsx index ac540c67f49a1..f2d1846f2ceec 100644 --- a/frontend/src/lib/taxonomy.tsx +++ b/frontend/src/lib/taxonomy.tsx @@ -921,6 +921,136 @@ export const CORE_FILTER_DEFINITIONS_BY_GROUP = { ), examples: ['01:04:12'], }, + $min_timestamp: { + label: 'First timestamp', + description: The timestamp of the first event from this session., + examples: [new Date().toISOString()], + }, + $max_timestamp: { + label: 'Last timestamp', + description: The timestamp of the last event from this session, + examples: [new Date().toISOString()], + }, + $entry_url: { + label: 'Entry URL', + description: The first URL visited in this session, + examples: ['https://example.com/interesting-article?parameter=true'], + }, + $exit_url: { + label: 'Entry URL', + description: The last URL visited in this session, + examples: ['https://example.com/interesting-article?parameter=true'], + }, + $initial_utm_source: { + label: 'Initial UTM source', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['Google', 'Bing', 'Twitter', 'Facebook'], + }, + $initial_utm_medium: { + label: 'Initial UTM medium', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['Social', 'Organic', 'Paid', 'Email'], + }, + $initial_utm_campaign: { + label: 'Initial UTM campaign', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['feature launch', 'discount'], + }, + $initial_utm_content: { + label: 'Initial UTM content', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['bottom link', 'second button'], + }, + $initial_utm_term: { + label: 'Initial UTM term', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['free goodies'], + }, + $initial_referrer: { + label: 'Initial referrer', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['https://google.com/search?q=posthog&rlz=1C...'], + }, + $initial_gclid: { + label: 'Initial gclid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_gad_source: { + label: 'Initial gad_source', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_gclsrc: { + label: 'Initial gclsrc', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_dclid: { + label: 'Initial dclid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_gbraid: { + label: 'Initial gBraid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_wbraid: { + label: 'Initial wBraid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_fbclid: { + label: 'Initial fbclid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_msclikid: { + label: 'Initial msclikid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_twclid: { + label: 'Initial twclid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_li_fat_id: { + label: 'Initial li_fat_id', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_mc_cid: { + label: 'Initial mc_cid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_igshid: { + label: 'Initial igshid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $initial_ttclid: { + label: 'Initial ttclid', + description: The UTM source (if any) of the first URL visited during this session, + examples: ['123xyz'], + }, + $pageview_count: { + label: 'Pageview count', + description: The number of page view events in this session, + examples: ['123'], + }, + $autocapture_count: { + label: 'Autocapture count', + description: The number of autocapture events in this session, + examples: ['123'], + }, + $initial_channel_type: { + label: 'Channel type', + description: What type of acquisition channel this traffic came from., + examples: ['Paid Search', 'Organic Video', 'Direct'], + }, }, groups: { $group_key: {