Integrate with Next.js middleware to send analytics data to Hall
Use Next.js middleware to forward data to the Log visit endpoint.In Next.js, Middleware allows you to run code before a request is completed. Read the official documentation for more details.