import Link from 'next/link' import { useEffect } from 'react' export default function NotFound() { useEffect(() => { if ( typeof window !== 'undefined' && typeof window?.analytics?.track === 'function' && typeof window?.document?.referrer === 'string' && typeof window?.location?.href === 'string' ) window.analytics.track(window.location.href, { category: '404 Response', label: window.document.referrer || 'No Referrer', }) }, []) return (
) }