diff --git a/src/components/global/Head.astro b/src/components/global/Head.astro index 32117df..0d66d85 100644 --- a/src/components/global/Head.astro +++ b/src/components/global/Head.astro @@ -25,15 +25,11 @@ const { EmbedTitle, } = Astro.props -// Configuration -import { - STATISTICS, - ANALYLICS_TOOL, - ANALYLICS_ID, - SCRIPT_SRC, - DOMAIN, - SERVER_DOMAIN -} from '@utils/GetConfig' +// Components +import Analytics from "@components/global/Analytics.astro"; + + // Configuration +import {SERVER_DOMAIN} from '@utils/GetConfig' // Icons import { Donate, Download, ShareIos, ThumbsUp } from '@iconoir/vue' @@ -68,24 +64,6 @@ if (Astro.url.href.match('watch')) { - - {STATISTICS ? - () => { - if (ANALYLICS_TOOL === "Plausible") { - return ( - - ) - } - if (ANALYLICS_TOOL === "Umami") { - return ( - - ) - } - } - : - null - } - {IsVideo ? @@ -99,4 +77,7 @@ if (Astro.url.href.match('watch')) { : null } - \ No newline at end of file + + + + \ No newline at end of file