mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
Add GoatCounter
This commit is contained in:
parent
46b38d2e57
commit
3dfe710afa
1 changed files with 15 additions and 0 deletions
|
@ -26,3 +26,18 @@
|
|||
</div>
|
||||
<span class="copyright">Copyright © 2004 – <%= Date.today.year %> Wesley Moore</span>
|
||||
</footer>
|
||||
<script>
|
||||
(function() {
|
||||
if (window.location.hostname.indexOf('localhost') > -1) {
|
||||
return;
|
||||
}
|
||||
|
||||
var script = document.createElement('script');
|
||||
window.counter = 'https://binarytrance.goatcounter.com/count'
|
||||
script.async = 1;
|
||||
script.src = '//static.goatcounter.com/count.min.js';
|
||||
|
||||
var ins = document.getElementsByTagName('script')[0];
|
||||
ins.parentNode.insertBefore(script, ins)
|
||||
})();
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue