uMatrix와 uBlock 플러그인에 'Googletagmanager.com'이 여전히 표시됩니다. 왜 그런가요? / 어떻게 제거하나요?

No analytics are installed on the discourse but uBlock and uMatrix in Firefox is still seeing and reporting two instances of googletagmanager.com

What’s going on here is it placeholder code?

Hi agemo,

I tested on a forum on which I don’t have Google Analytics configured, and I have no such request.

Do you still have a request to googletagmanager.com if you disable all your Firefox extensions?

Ok thanks. I’ll check extensions later and also run a rebuild and see if that makes a difference.

Analytics is core in discourse so what I did originally was remove the tracking code, assuming this would disable it, but turns out analytics is still reporting live data. Maybe I’ve done it wrong. How is it still reporting?

Could it be that you have it in a custom script/theme somewhere?

Ha ha of course, and I never thought of that. Found the below lurking in a custom component. I dunno why it’s there, must be an old inclusion from way back.

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=xxxxxxx"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-xxxxxxx-x');
</script>