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.

668 B
Raw Blame
import { pageCollectionId } from '~/queries/nodes/DataNode/pageCollections'
import { ProductKey, QueryLogTags } from '~/queries/schema/schema-general'

export const CUSTOMER_ANALYTICS_DATA_COLLECTION_NODE_ID = pageCollectionId('customer-analytics')

export const ACCOUNTS_TABLE_DATA_NODE_KEY = 'customer-analytics-accounts-table'

// Overview-tile metrics load through their own data node so their (slower)
// aggregations never block the list rows from rendering.
export const ACCOUNTS_METRICS_DATA_NODE_KEY = 'customer-analytics-accounts-metrics'

export const CUSTOMER_ANALYTICS_DEFAULT_QUERY_TAGS: QueryLogTags = {
    productKey: ProductKey.CUSTOMER_ANALYTICS,
}