diff --git a/src/components/global/Analytics.astro b/src/components/global/Analytics.astro index 38ec193..176560f 100644 --- a/src/components/global/Analytics.astro +++ b/src/components/global/Analytics.astro @@ -8,7 +8,15 @@ import { PLAUSIBLE_SRC, UMAMI_ID, UMAMI_SRC, - AMPLITUDE_APIKEY + AMPLITUDE_APIKEY, + METRICAL_APP, + FATHOM_SITE, + FATHOM_SRC, + MINIAML_ID, + SWETRIX_SRC, + SWETRIX_API, + SWETRIX_PROJECT_ID, + SIMPLEANALYTICS_DOMAIN } from '@utils/GetConfig' // Get Astro Analytics @@ -21,22 +29,40 @@ import { Amplitude, Matomo, MinimalAnalytics -} from 'astro-analytics'; +} from 'astro-analytics' --- { - ()=> { - if (ANALYTICS === "None") { - return null - } else if (ANALYTICS === "Plausible") { - - } else if (ANALYTICS === "Umami") { - - } else if (ANALYTICS === "Amplitude") { - - } else if (ANALYTICS === "Matomo") { - - } + ()=> { + if (ANALYTICS === "None") { + return null + } else if (ANALYTICS === "Plausible") { + + } else if (ANALYTICS === "Umami") { + + } else if (ANALYTICS === "Amplitude") { + + } else if (ANALYTICS === "Matomo") { + + } else if (ANALYTICS === "Metrical") { + + } else if (ANALYTICS === "Fathom") { + + } else if (ANALYTICS === "MinimalAnalytics") { + + } else if (ANALYTICS === "Swetrix") { + + +