matomo tracking added
This commit is contained in:
parent
c0b577a37e
commit
8f3d0019e4
3 changed files with 25 additions and 0 deletions
|
|
@ -32,6 +32,18 @@ export default defineConfig({
|
|||
replacesTitle: true,
|
||||
},
|
||||
}),
|
||||
// https://github.com/felix-berlin/astro-matomo
|
||||
matomo({
|
||||
enabled: import.meta.env.PROD, // Only load in production
|
||||
host: "https://matomo.workaround.org/",
|
||||
setCookieDomain: "*.workaround.org",
|
||||
trackerUrl: "js/", // defaults to matomo.php
|
||||
srcUrl: "js/", // defaults to matomo.js
|
||||
siteId: 1,
|
||||
heartBeatTimer: 5,
|
||||
disableCookies: true,
|
||||
debug: false,
|
||||
}),
|
||||
sitemap(),
|
||||
],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue