Skip to content

Commit c15537c

Browse files
committed
add plausible tracking
1 parent 0558aa9 commit c15537c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/layouts/Layout.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ const bannerOffset =
109109
/>
110110
))}
111111

112+
<!-- Plausible Analytics -->
113+
<script is:inline defer data-domain="belfar.dev" src="https://plausible.io/js/script.outbound-links.js"></script>
114+
112115
<!-- Set the theme before the page is rendered to avoid a flash -->
113116
<script is:inline define:vars={{DEFAULT_THEME, LIGHT_MODE, DARK_MODE, AUTO_MODE, BANNER_HEIGHT_EXTEND, PAGE_WIDTH, configHue}}>
114117
// Load the theme from local storage

0 commit comments

Comments
 (0)