feat: add consent-based GA4 analytics
Publish GitHub Pages output / publish (push) Successful in 41s

This commit is contained in:
2026-08-31 14:42:59 +09:00
parent b48a3b4f9d
commit f5d9bef547
12 changed files with 256 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
import type { AnalyticsClient } from '../src/lib/analytics/types.ts';
export const analytics: AnalyticsClient = {
available: false,
readConsent: () => null,
grantConsent: () => {},
denyConsent: () => {},
trackPageView: () => {}
};