Hello J,
This is what I am seeing on the backend.
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());
gtag('config', 'UA-6246109-1');
</script>
Then on the frontend I am just seeing the comment part:

I tried to update the code and remove the extra script tags and even update the comment to see if it’s working, but then nothing is happening on the frontend. Can you try clearing cache again and disable it for a moment. Having multiple cache might cause this issue. It’s a like caching an already cache content.