Files
agency/.pnpm-store/v3/files/95/fd199bb5731cfbc6e5ab65a7924f085c777adfaacc77d1a1574ef196a3c3145e159a3374cbd28d09bff20b51ae2f8155d968369daf292942d6738fa0266c37
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

24 lines
935 B
Plaintext

import { type FunnelId } from './funnels';
export interface GoalDef {
/** Human label shown in Insights. */
label: string;
/** The event whose occurrence counts as the goal conversion. */
event: string;
/** The funnel leading to the goal — an id into FUNNELS (see funnels.ts). */
funnelId?: FunnelId;
/** The ordered event names of `funnelId`, derived — never hand-written. */
funnel?: string[];
/** Optional property equality filter that qualifies the conversion. */
filter?: {
property: string;
equals: string;
};
}
export declare const GOALS: Record<'signup' | 'sale' | 'upgradeIntent' | 'activation', GoalDef>;
export interface CohortDef {
/** The hanzo.events column the cohort dimension maps to. */
field: string;
label: string;
}
export declare const COHORTS: Record<'signupWeek' | 'channel' | 'refCode', CohortDef>;
//# sourceMappingURL=goals.d.ts.map