figbertmath

[RADIOACTIVE] miscellaneous math programs in website form
git clone git://git.figbert.com/figbertmath.git
Log | Files | Refs | README

commit e91a75ec0dd140db6d7e44e6f42df05190428bcf
parent dfb444c09f932729a795afe5b0b618bd820f0b14
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Sun, 19 Jan 2020 17:34:41 -0800

Add GoatCounter analytics script

Diffstat:
Mpublic/index.html | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/public/index.html b/public/index.html @@ -16,5 +16,16 @@ <body> <noscript>This app is built with React, so you need to enable JavaScript to run it.</noscript> <div id="app"></div> + <script> + (function() { + window.counter = 'https://figbertmath.goatcounter.com/count'; + + let script = document.createElement('script'); + script.async = 1; + script.src = '//gc.zgo.at/count.js'; + let ins = document.getElementsByTagName('script')[0]; + ins.parentNode.insertBefore(script, ins); + })(); + </script> </body> </html>