'use client' import { formatNumber } from '@/lib/utils/format' import type { GoalCountStat } from '@/lib/api/stats' interface GoalStatsProps { goalCounts: GoalCountStat[] siteId: string dateRange: { start: string; end: string } } const LIMIT = 10 export default function GoalStats({ goalCounts, siteId, dateRange }: GoalStatsProps) { const list = (goalCounts || []).slice(0, LIMIT) const hasData = list.length > 0 return (
No custom events in this period. Track goals with pulse.track('event_name') in your snippet.