If you have jQuery on your website alongside Google Analytics, you’re loading two jQuery libraries without you knowing due to Google using it too on their analytics script.
Is that the same JS used for Analytics? I think that's just for GTM. Here is the analytics script I see more often and it doesn't have jQuery: https://www.google-analytics.com/analytics.js
<script src="https://www.googletagmanager.com/gtag/js"></script>
<script>$</script>
ReferenceError: $ is not defined
<script>jQuery</script>
ReferenceError: jQuery is not defined