import Document, { Html, Head, Main, NextScript } from "next/document"; // constants import { SITE_NAME, SITE_DESCRIPTION, SITE_URL, TWITTER_USER_NAME, SITE_KEYWORDS, SITE_TITLE, } from "constants/seo-variables"; import Script from "next/script"; 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 && ( )}