generated from nhcarrigan/template
feat: add analytics (#30)
Reviewed-on: https://codeberg.org/nhcarrigan/docs/pulls/30 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
parent
3d70c5d767
commit
c3eae0d69f
@ -29,6 +29,20 @@ export default defineConfig({
|
||||
defer: true,
|
||||
src: "//js.hs-scripts.com/47086586.js"
|
||||
}
|
||||
},
|
||||
{
|
||||
tag: "script",
|
||||
attrs: {
|
||||
type: "text/javascript",
|
||||
id: "analytics",
|
||||
src: "https://analytics.nhcarrigan.com/js/script.file-downloads.outbound-links.js",
|
||||
defer: true,
|
||||
"data-domain": "nhcarrigan.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
tag: "script",
|
||||
content: "window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }"
|
||||
}
|
||||
],
|
||||
customCss: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user