diff --git a/src/components/core/MetaTags.astro b/src/components/core/MetaTags.astro index f382b29..596427b 100644 --- a/src/components/core/MetaTags.astro +++ b/src/components/core/MetaTags.astro @@ -9,6 +9,7 @@ import defaultImageSrc from '~/assets/images/default.png'; import { SITE } from '~/config.mjs'; import Fonts from '../atoms/Fonts.astro'; import ExtraMetaTags from '../atoms/ExtraMetaTags.astro'; +import SplitbeeAnalytics from "./SplitbeeAnalytics.astro"; const { src: defaultImage } = await getImage({ src: defaultImageSrc, @@ -76,4 +77,6 @@ const image = {SITE.googleAnalyticsId && } +{SITE.splitbeeAnalytics?.enabled && } + diff --git a/src/components/core/SplitbeeAnalytics.astro b/src/components/core/SplitbeeAnalytics.astro new file mode 100644 index 0000000..9f2da53 --- /dev/null +++ b/src/components/core/SplitbeeAnalytics.astro @@ -0,0 +1,6 @@ + + diff --git a/src/config.mjs b/src/config.mjs index 7d9852f..2845c42 100644 --- a/src/config.mjs +++ b/src/config.mjs @@ -9,6 +9,12 @@ export const SITE = { googleAnalyticsId: false, // or "G-XXXXXXXXXX", googleSiteVerificationId: 'orcPxI47GSa-cRvY11tUe6iGg2IO_RPvnA1q95iEM3M', + + splitbeeAnalytics: { + enabled: false, + doNotTrack: true, + noCookieMode: false, + } }; export const BLOG = {