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.

1.9 KB
Raw Blame
import { FEATURE_FLAGS } from 'lib/constants'
import { urls } from 'scenes/urls'

import { ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'

import { ProductManifest } from '../../frontend/src/types'

export const manifest: ProductManifest = {
    name: 'Growth',
    scenes: {
        IdentityMatching: {
            name: 'Identity matching',
            import: () => import('./frontend/IdentityMatchingScene'),
            projectBased: true,
            activityScope: 'IdentityMatching',
            description:
                'Review probable links between anonymous visitors and identified persons, recovered from first-party signals.',
            iconType: 'persons',
        },
        AIEnrichment: {
            name: 'AI enrichment',
            import: () => import('./frontend/aiEnrichment/AIEnrichmentScene'),
            instanceLevel: true,
        },
    },
    routes: {
        '/identity-matching': ['IdentityMatching', 'identityMatching'],
        '/ai-enrichment': ['AIEnrichment', 'aiEnrichment'],
        '/ai-enrichment/:label': ['AIEnrichment', 'aiEnrichment'],
    },
    urls: {
        identityMatching: (): string => '/identity-matching',
        aiEnrichment: (label?: string): string => `/ai-enrichment${label ? `/${encodeURIComponent(label)}` : ''}`,
    },
    treeItemsProducts: [
        {
            path: 'Identity matching',
            intents: [ProductKey.MARKETING_ANALYTICS],
            category: ProductItemCategory.UNRELEASED,
            href: urls.identityMatching(),
            searchKeywords: ['identity resolution', 'deanonymization'],
            flag: FEATURE_FLAGS.IDENTITY_MATCHING,
            tags: ['alpha'],
            iconType: 'persons',
            iconColor: ['var(--color-product-identity-matching-light)', 'var(--color-product-identity-matching-dark)'],
            sceneKey: 'IdentityMatching',
        },
    ],
}