generated from nhcarrigan/template
This commit is contained in:
+11
-5
@@ -52,16 +52,22 @@ export default defineConfig({
|
||||
attrs: {
|
||||
type: "text/javascript",
|
||||
id: "analytics",
|
||||
src: "https://analytics.nhcarrigan.com/js/script.file-downloads.outbound-links.js",
|
||||
src: "https://analytics.nhcarrigan.com/js/pa-YUXAn1vhhRttySUAw_LMN.js",
|
||||
defer: true,
|
||||
"data-domain": "nhcarrigan.com",
|
||||
"event-domain": "docs.nhcarrigan.com",
|
||||
},
|
||||
},
|
||||
{
|
||||
tag: "script",
|
||||
content:
|
||||
"window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }",
|
||||
content:`
|
||||
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
|
||||
plausible.init({
|
||||
customProperties: {
|
||||
domain: "docs.nhcarrigan.com",
|
||||
page: document.querySelector("title")?.innerText ?? "Unknown Docs Page",
|
||||
path: window.location.pathname,
|
||||
},
|
||||
})
|
||||
`
|
||||
},
|
||||
{
|
||||
tag: "script",
|
||||
|
||||
Reference in New Issue
Block a user