generated from nhcarrigan/template
This commit is contained in:
+11
-5
@@ -52,16 +52,22 @@ export default defineConfig({
|
|||||||
attrs: {
|
attrs: {
|
||||||
type: "text/javascript",
|
type: "text/javascript",
|
||||||
id: "analytics",
|
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,
|
defer: true,
|
||||||
"data-domain": "nhcarrigan.com",
|
|
||||||
"event-domain": "docs.nhcarrigan.com",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
tag: "script",
|
tag: "script",
|
||||||
content:
|
content:`
|
||||||
"window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }",
|
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",
|
tag: "script",
|
||||||
|
|||||||
Reference in New Issue
Block a user