import Document, { Html, Head, Main, NextScript } from "next/document"; // constants import Script from "next/script"; import { SITE_NAME, SITE_DESCRIPTION, SITE_URL, TWITTER_USER_NAME, SITE_KEYWORDS, SITE_TITLE, } from "constants/seo-variables"; class MyDocument extends Document { render() { const isSessionRecorderEnabled = parseInt(process.env.NEXT_PUBLIC_ENABLE_SESSION_RECORDER || "0"); return ( {isSessionRecorderEnabled && process.env.NEXT_PUBLIC_SESSION_RECORDER_KEY && ( )}
{process.env.NEXT_PUBLIC_PLAUSIBLE_DOMAIN && (