From ce9b3e9386824e93737d7495e1dbd8425fcc5d7c Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Fri, 19 Jan 2024 14:17:34 +0000 Subject: Plausible --- src/tour.gleam | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') 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")], [ -- cgit v1.2.3