Remove Matomo
This commit is contained in:
parent
56fdd310ba
commit
b56e0837c4
1 changed files with 1 additions and 17 deletions
|
@ -5,7 +5,6 @@ import keystatic from '@keystatic/astro';
|
|||
import node from '@astrojs/node';
|
||||
import robotsTxt from 'astro-robots-txt';
|
||||
import mdx from '@astrojs/mdx';
|
||||
import matomo from 'astro-matomo';
|
||||
import vue from "@astrojs/vue";
|
||||
|
||||
// https://astro.build/config
|
||||
|
@ -19,22 +18,7 @@ export default defineConfig({
|
|||
},
|
||||
integrations: [markdoc(), ...(process.env.SKIP_KEYSTATIC ? [] : [keystatic()]), AutoImport({
|
||||
imports: ['./src/components/keystatic/Image.astro', './src/components/init/SoftwareItem.astro']
|
||||
}), mdx(),
|
||||
// This must initalzied after AutoImport, not before
|
||||
matomo({
|
||||
enabled: import.meta.env.PROD,
|
||||
// Only load in production
|
||||
host: "https://stats.sudovanilla.org/",
|
||||
setCookieDomain: "*.sudovanilla.org",
|
||||
trackerUrl: "js/",
|
||||
// defaults to matomo.php
|
||||
srcUrl: "js/",
|
||||
// defaults to matomo.js
|
||||
siteId: 1,
|
||||
heartBeatTimer: 5,
|
||||
disableCookies: true,
|
||||
debug: false
|
||||
}), robotsTxt({
|
||||
}), mdx(), robotsTxt({
|
||||
policy: [{
|
||||
userAgent: 'Googlebot',
|
||||
disallow: '/'
|
||||
|
|
Loading…
Reference in a new issue