summaryrefslogtreecommitdiff
path: root/ibb
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-02-23 13:26:33 -0800
committerBen Sima <ben@bsima.me>2019-02-23 13:26:33 -0800
commitd72dae5772bb16d802bdfb03ede44de51b28debc (patch)
treea1e049a14982b968785cafb73e1d0108aa4ae8b4 /ibb
parent9b2b49e9063d805e68acbef40989075f1b1a6576 (diff)
ibb: Add fathom tracker script
Diffstat (limited to 'ibb')
-rw-r--r--ibb/Main.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/ibb/Main.hs b/ibb/Main.hs
index 4940396..27506d8 100644
--- a/ibb/Main.hs
+++ b/ibb/Main.hs
@@ -76,6 +76,18 @@ homepage peopleList = [shamlet|
crossorigin="anonymous">
<link href="/custom.css" rel="stylesheet">
<title>#{title} | #{subtitle}
+ <script>
+ (function(f, a, t, h, o, m){
+ a[h]=a[h]||function(){
+ (a[h].q=a[h].q||[]).push(arguments)
+ };
+ o=f.createElement('script'),
+ m=f.getElementsByTagName('script')[0];
+ o.async=1; o.src=t; o.id='fathom-script';
+ m.parentNode.insertBefore(o,m)
+ })(document, window, '//stats.simatime.com/tracker.js', 'fathom');
+ fathom('set', 'siteId', 'IJATN');
+ fathom('trackPageview');
<body>
<div .container.mt-5>
<div .jumbotron>