12 lines
313 B
TypeScript
12 lines
313 B
TypeScript
import type { AnalyticsEventProperties, AnalyticsService } from './analytics-service';
|
|
|
|
export class NoopAnalyticsService implements AnalyticsService {
|
|
track(_eventName: string, _props?: AnalyticsEventProperties) {
|
|
// intentionally noop
|
|
}
|
|
|
|
trackPageview(_url?: string) {
|
|
// intentionally noop
|
|
}
|
|
}
|