replace matomo by rybbit
This commit is contained in:
parent
370e684f06
commit
1695df72a9
1 changed files with 21 additions and 11 deletions
|
|
@ -10,6 +10,16 @@ export default defineConfig({
|
|||
site: "https://workaround.org",
|
||||
integrations: [
|
||||
starlight({
|
||||
head: [
|
||||
{
|
||||
tag: "script",
|
||||
attrs: {
|
||||
src: "https://rybbit.workaround.org/api/script.js",
|
||||
"data-site": "1",
|
||||
defer: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
expressiveCode: {
|
||||
frames: {
|
||||
removeCommentsWhenCopyingTerminalFrames: false, // keep the commented lines when copying shell snippets
|
||||
|
|
@ -55,17 +65,17 @@ export default defineConfig({
|
|||
},
|
||||
}),
|
||||
// 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,
|
||||
}),
|
||||
// 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