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}
commitID={process.env.COMMIT_SHORT_SHA || "HEAD"}
/>
{process.env.UMAMI_ENABLED ? (
<Script
strategy="beforeInteractive"
src={process.env.UMAMI_SCRIPT_URL}
data-website-id={process.env.UMAMI_WEBSITE_ID}
/>
) : null}
</Fragment>
);