feat: add consent-based GA4 analytics
Publish GitHub Pages output / publish (push) Successful in 41s
Publish GitHub Pages output / publish (push) Successful in 41s
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import type { AnalyticsClient } from '../src/lib/analytics/types.ts';
|
||||
|
||||
export const analytics: AnalyticsClient = {
|
||||
available: false,
|
||||
readConsent: () => null,
|
||||
grantConsent: () => {},
|
||||
denyConsent: () => {},
|
||||
trackPageView: () => {}
|
||||
};
|
||||
Reference in New Issue
Block a user