matomo added
This commit is contained in:
parent
52fd81ab83
commit
22f4b07260
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
import starlight from '@astrojs/starlight';
|
import starlight from '@astrojs/starlight';
|
||||||
import sitemap from '@astrojs/sitemap';
|
import sitemap from '@astrojs/sitemap';
|
||||||
|
import matomo from "astro-matomo";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
|
@ -32,7 +33,7 @@ export default defineConfig({
|
||||||
replacesTitle: true,
|
replacesTitle: true,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
// https://github.com/felix-berlin/astro-matomo
|
// https://github.com/felix-berlin/astro-matomo
|
||||||
matomo({
|
matomo({
|
||||||
enabled: import.meta.env.PROD, // Only load in production
|
enabled: import.meta.env.PROD, // Only load in production
|
||||||
host: "https://matomo.workaround.org/",
|
host: "https://matomo.workaround.org/",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue