Skip to content

Commit a76d647

Browse files
committed
feat: Add plausible analytics
1 parent 45ef97a commit a76d647

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Diff for: src/layouts/Base.astro

+14
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,20 @@ const { title, meta_title, description, image, noindex, canonical } =
168168
}`}
169169
/>
170170
<meta name="twitter:card" content="summary_large_image" />
171+
172+
<!-- Plausible Analytics -->
173+
<script
174+
defer
175+
data-domain="devcontainer.community"
176+
src="https://plausible.io/js/script.file-downloads.hash.outbound-links.pageview-props.revenue.tagged-events.js"
177+
></script>
178+
<script>
179+
window.plausible =
180+
window.plausible ||
181+
function () {
182+
(window.plausible.q = window.plausible.q || []).push(arguments);
183+
};
184+
</script>
171185
</head>
172186
<body>
173187
<TwSizeIndicator />

0 commit comments

Comments
 (0)