import Document, { Html, Head, Main, NextScript } from "next/document"; class MyDocument extends Document { render() { const isSessionRecorderEnabled = parseInt( process.env.NEXT_PUBLIC_ENABLE_SESSION_RECORDER || "0" ); return (
{process.env.NEXT_PUBLIC_PLAUSIBLE_DOMAIN && ( )} {isSessionRecorderEnabled && process.env.NEXT_PUBLIC_SESSION_RECORDER_KEY && ( )}