diff --git a/lib/utils/hooks/metrics/useVkMetricsGoals.ts b/lib/utils/hooks/metrics/useVkMetricsGoals.ts index 36231af..d7c6437 100644 --- a/lib/utils/hooks/metrics/useVkMetricsGoals.ts +++ b/lib/utils/hooks/metrics/useVkMetricsGoals.ts @@ -8,11 +8,11 @@ type MetricsGoal = { goal: string; }; -type ExtendedWindow = Window & { _tmp?: MetricsGoal[] }; +type ExtendedWindow = Window & { _tmr?: MetricsGoal[] }; const sendMetrics = (vkPixelId: number | undefined, goal: string) => { if (vkPixelId) { - (window as ExtendedWindow)._tmp?.push({ + (window as ExtendedWindow)._tmr?.push({ type: "reachGoal", id: vkPixelId, goal,