mirror of
https://github.com/anotherhadi/default-creds.git
synced 2026-04-04 12:22:11 +02:00
Add analytics & privacy-policy
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -33,6 +33,9 @@ const myLinks = [
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
const umamiUrl = import.meta.env.PUBLIC_UMAMI_URL;
|
||||
const umamiId = import.meta.env.PUBLIC_UMAMI_WEBSITE_ID;
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
@@ -63,4 +66,13 @@ const myLinks = [
|
||||
<slot />
|
||||
</div>
|
||||
</body>
|
||||
|
||||
{umamiUrl && umamiId && (
|
||||
<script
|
||||
defer
|
||||
src={`${umamiUrl}/script.js`}
|
||||
data-website-id={umamiId}
|
||||
is:inline
|
||||
/>
|
||||
)}
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user