@ -33,11 +33,14 @@ export const App = ({ url }: { url?: string }) => {
const pbu = useContext(ServerContext) ? (s: string) => s : prependBaseUrl
const handleRouteChange = () => {
// @ts-ignore
if (window.goatcounter) {
window.goatcounter.count({
path: location.pathname + location.search + location.hash,
})
}
return (
<UserProvider>