1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

feat!: remove Clarity implicit consent option (EU compliance)

This commit is contained in:
2025-09-01 19:16:55 +00:00
parent ac7a3e2213
commit e16ab1f6f6
7 changed files with 25 additions and 65 deletions
-10
View File
@@ -9,13 +9,3 @@ export const analyticsEnabled = (): boolean =>
unstable_noStore();
return !!process.env.CLARITY_ID;
};
/**
* Check if Clarity requires explicit consent
* @returns true if Clarity requires explicit consent
*/
export const requireExplicitConsent = (): boolean =>
{
unstable_noStore();
return process.env.CLARITY_CONSENT === "1";
};