This commit is contained in:
rizaldy 2024-01-31 03:37:22 +07:00
parent 4356ea92c0
commit ac83d4850a

View File

@ -27,13 +27,11 @@ const App = ({ Component, pageProps }) => (
license={config.footer.license} license={config.footer.license}
commitID={process.env.COMMIT_SHORT_SHA || "HEAD"} commitID={process.env.COMMIT_SHORT_SHA || "HEAD"}
/> />
{process.env.UMAMI_ENABLED ? ( <Script
<Script strategy="beforeInteractive"
strategy="beforeInteractive" src={process.env.UMAMI_SCRIPT_URL}
src={process.env.UMAMI_SCRIPT_URL} data-website-id={process.env.UMAMI_WEBSITE_ID}
data-website-id={process.env.UMAMI_WEBSITE_ID} />
/>
) : null}
</Fragment> </Fragment>
); );