summaryrefslogtreecommitdiff
path: root/src/components/BaseHead.astro
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-07-03 17:27:48 +0300
committerDawid Rycerz <dawid@rycerz.xyz>2025-07-03 17:27:48 +0300
commit0df973de7b554008383a23fd4fc2a0b8e1401b37 (patch)
treef52b7e58b6bc80c0731d48a15016c1a7ff55c422 /src/components/BaseHead.astro
parent0b6a5881b99027be9a175e7d1f2b112daef1ab51 (diff)
Cleanup and firt post
Diffstat (limited to 'src/components/BaseHead.astro')
-rw-r--r--src/components/BaseHead.astro20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro
index ceb55ea..d65dd9a 100644
--- a/src/components/BaseHead.astro
+++ b/src/components/BaseHead.astro
@@ -83,4 +83,24 @@ const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url
)
}
+{/* Plausible Analytics */}
+<link rel="dns-prefetch" href="//analytics.craftknight.com" />
+<script
+ type="text/javascript"
+ defer
+ data-domain="rycerz.xyz"
+ data-api="https://analytics.craftknight.com/api/event"
+ data-cfasync="false"
+ src="https://analytics.craftknight.com/js/plausible.outbound-links.js?ver=2.1.3"
+ id="plausible"></script>
+<script type="text/javascript" id="plausible-analytics-js-after">
+ /* <![CDATA[ */
+ window.plausible =
+ window.plausible ||
+ function () {
+ (window.plausible.q = window.plausible.q || []).push(arguments);
+ };
+ /* ]]> */
+</script>
+
<meta content={Astro.generator} name="generator" />