import Head from 'next/head'; import Link from 'next/link'; import { useRouter } from 'next/router'; import Layout from 'components/layout/Layout'; export default function Test() { const router = useRouter(); const { id } = router.query; if (!id) { return
Here you can test if your umami installation works. Open the network tab in your browser developer console and watch for requests to the url collect. The links below should trigger page views. Clicking on the button should trigger an event.