commit 91012a13c940d5cf446f69d9e23fe29251382637 parent e91a75ec0dd140db6d7e44e6f42df05190428bcf Author: therealFIGBERT <figbertwelner@gmail.com> Date: Mon, 27 Jan 2020 14:36:13 -0800 Update GoatCounter script Diffstat:
M | public/index.html | | | 13 | ++----------- |
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/public/index.html b/public/index.html @@ -16,16 +16,7 @@ <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> + <script data-goatcounter="https://figbertmath.goatcounter.com/count" + async src="//gc.zgo.at/count.js"></script> </body> </html>