Fathom Analytics を使用しており、サイトトラッキング用の JS スクリプトを埋め込もうとしています。コードは以下の通りです。
<!-- Fathom - simple website analytics - 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 -->
これを Customize > Theme > Custom CSS/HTML 設定から <head> セクションに追加しています。
しかし、ページを読み込むと Fathom の tracker.js スクリプトの取得に失敗します:
また、コンソールには他のエラーも表示されます:
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)
Fathom がその JS の取得を妨害しているように見えます。この場合、どのように対処すればよいでしょうか?
バージョンは 2.6.0.beta1 です。
