Files
HolodoriCalc/offline/analytics.ts
T
dal4segno f5d9bef547
Publish GitHub Pages output / publish (push) Successful in 41s
feat: add consent-based GA4 analytics
2026-08-31 14:42:59 +09:00

10 lines
242 B
TypeScript

import type { AnalyticsClient } from '../src/lib/analytics/types.ts';
export const analytics: AnalyticsClient = {
available: false,
readConsent: () => null,
grantConsent: () => {},
denyConsent: () => {},
trackPageView: () => {}
};