Sto usando Fathom Analytics e sto cercando di incorporare uno script JS per il tracciamento del sito, che appare così:
<!-- Fathom - semplice analisi del sito web - https://github.com/usefathom/fathom -->
<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, '//fathom.example.org/tracker.js', 'fathom');
fathom('set', 'siteId', 'ABCDEF');
fathom('trackPageview');
</script>
<!-- / Fathom -->
Sto aggiungendo questo alla sezione <head> tramite le impostazioni Personalizza > Tema > CSS/HTML personalizzati.
Ma quando carico il sito, il recupero dello script tracker.js di Fathom fallisce:
E la console mostra altri errori:
Uncaught (in promise) no-response: no-response :: [{"url":"https://fathom.example.org/tracker.js"}]
at a.makeRequest (https://discuss.example.org/javascripts/workbox/workbox-strategies.prod.js:1:2145)
Sembra che Fathom stia interferendo con il recupero di quel JS. Come dovrei procedere?
Sto usando la versione 2.6.0.beta1."
