mirror of
https://github.com/ClipFusion-org/clipfusion.git
synced 2025-08-03 16:55:08 +00:00
trying to fix analytics (second attempt)
This commit is contained in:
parent
6c652cafd9
commit
dd3ec99d3c
@ -6,11 +6,7 @@ export default function Analytics(): ReactNode {
|
||||
console.log("Analytics is disabled in development environment");
|
||||
return (<></>);
|
||||
}
|
||||
if (process.env.ENABLE_ANALYTICS != "true") {
|
||||
console.log("Analytics is disabled (ENABLE_ANALYTICS=false)");
|
||||
return (<></>);
|
||||
}
|
||||
return (
|
||||
<script defer src={process.env.ANALYTICS_SCRIPT} data-website-id={process.env.ANALYTICS_WEBSITE_ID}/>
|
||||
<script defer src="https://analytics.clipfusion.org/script.js" data-website-id="c3ac4a05-f96b-44dc-840b-d6d8e651e37e"/>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user