MCPcopy
hub / github.com/seanprashad/leetcode-patterns / trackEvent

Function trackEvent

src/lib/analytics.ts:3–5  ·  view source on GitHub ↗
(eventName: string, params?: Record<string, string | number | boolean>)

Source from the content-addressed store, hash-verified

1import { sendGAEvent } from "@next/third-parties/google";
2
3export function trackEvent(eventName: string, params?: Record<string, string | number | boolean>) {
4 sendGAEvent("event", eventName, params ?? {});
5}

Callers 13

ViewSwitcherFunction · 0.90
AuthProviderFunction · 0.90
ThemeToggleFunction · 0.90
FilterToolbarFunction · 0.90
QuestionsTableFunction · 0.90
handleKeyFunction · 0.90
AboutPanelFunction · 0.90
handleKeyFunction · 0.90
AcknowledgementsPanelFunction · 0.90
handleKeyFunction · 0.90
TipsPanelFunction · 0.90
RoadmapViewFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected