diff options
author | Ben Sima <ben@bsima.me> | 2019-02-23 13:26:33 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-02-23 13:26:33 -0800 |
commit | d72dae5772bb16d802bdfb03ede44de51b28debc (patch) | |
tree | a1e049a14982b968785cafb73e1d0108aa4ae8b4 | |
parent | 9b2b49e9063d805e68acbef40989075f1b1a6576 (diff) |
ibb: Add fathom tracker script
-rw-r--r-- | ibb/Main.hs | 12 |
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> |