feat: re-enable umami feature flag

This commit is contained in:
rizaldy 2024-01-31 12:12:39 +07:00
parent 0109d3680a
commit 610887274c

View File

@ -27,11 +27,13 @@ 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"}
/> />
<Script {process.env.UMAMI_ENABLED ? (
strategy="beforeInteractive" <Script
src={process.env.UMAMI_SCRIPT_URL} strategy="beforeInteractive"
data-website-id={process.env.UMAMI_WEBSITE_ID} src={process.env.UMAMI_SCRIPT_URL}
/> data-website-id={process.env.UMAMI_WEBSITE_ID}
/>
) : null}
</Fragment> </Fragment>
); );