diff options
author | Louis Pilfold <louis@lpil.uk> | 2024-01-19 14:17:34 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-01-19 14:17:34 +0000 |
commit | ce9b3e9386824e93737d7495e1dbd8425fcc5d7c (patch) | |
tree | 6925f9e724a8723aac323c65309634213878f16e /src/tour.gleam | |
parent | 3908f1c57a4e531bd79d7425b4945985cd7fabea (diff) | |
download | tour-ce9b3e9386824e93737d7495e1dbd8425fcc5d7c.tar.gz tour-ce9b3e9386824e93737d7495e1dbd8425fcc5d7c.zip |
Plausible
Diffstat (limited to 'src/tour.gleam')
-rw-r--r-- | src/tour.gleam | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tour.gleam b/src/tour.gleam index 21084e5..56a88f1 100644 --- a/src/tour.gleam +++ b/src/tour.gleam @@ -541,6 +541,15 @@ fn lesson_html(page: Lesson) -> String { metaprop("twitter:image", "https://gleam.run/images/og-image.png"), link("shortcut icon", "https://gleam.run/images/lucy-circle.svg"), link("stylesheet", "/style.css"), + h( + "script", + [ + #("defer", ""), + #("data-domain", "tour.gleam.run"), + #("src", "https://plausible.io/js/script.js"), + ], + [], + ), ]), h("body", [], [ h("nav", [#("class", "navbar")], [ |