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",
|
site: "https://workaround.org",
|
||||||
integrations: [
|
integrations: [
|
||||||
starlight({
|
starlight({
|
||||||
|
head: [
|
||||||
|
{
|
||||||
|
tag: "script",
|
||||||
|
attrs: {
|
||||||
|
src: "https://rybbit.workaround.org/api/script.js",
|
||||||
|
"data-site": "1",
|
||||||
|
defer: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
expressiveCode: {
|
expressiveCode: {
|
||||||
frames: {
|
frames: {
|
||||||
removeCommentsWhenCopyingTerminalFrames: false, // keep the commented lines when copying shell snippets
|
removeCommentsWhenCopyingTerminalFrames: false, // keep the commented lines when copying shell snippets
|
||||||
|
|
@ -55,17 +65,17 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
// 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/",
|
||||||
setCookieDomain: "*.workaround.org",
|
// setCookieDomain: "*.workaround.org",
|
||||||
trackerUrl: "js/", // defaults to matomo.php
|
// trackerUrl: "js/", // defaults to matomo.php
|
||||||
srcUrl: "js/", // defaults to matomo.js
|
// srcUrl: "js/", // defaults to matomo.js
|
||||||
siteId: 1,
|
// siteId: 1,
|
||||||
heartBeatTimer: 5,
|
// heartBeatTimer: 5,
|
||||||
disableCookies: true,
|
// disableCookies: true,
|
||||||
debug: false,
|
// debug: false,
|
||||||
}),
|
// }),
|
||||||
sitemap(),
|
sitemap(),
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue