import type { AnalyticsService, AnalyticsEventProperties } from "./service";

/**
 * No-operation analytics service.
 * Used when analytics are disabled or for local development.
 */
export class NoopAnalyticsService implements AnalyticsService {
  track(_eventName: string, _props?: AnalyticsEventProperties): void {
    // Do nothing
  }

  trackPageview(_url?: string): void {
    // Do nothing
  }
}
