build with new analytics stuffs

This commit is contained in:
legop3
2026-06-18 02:35:58 -04:00
parent e7a2abeb9b
commit 7248af47d2
5 changed files with 132 additions and 148 deletions
@@ -1,16 +0,0 @@
import { useEffect } from 'react';
import config from '../../config/driverAnalytics.json';
export default function DriverAnalytics() {
useEffect(() => {
if (!config.enabled) return;
document.head.append(
document
.createRange()
.createContextualFragment(config.tags.join('\n'))
);
}, []);
return null;
}