Have issues with getting Google Analytics to work on my clients site (https://jkmurphyadvisors.com/) It used to connect to the RTA, but now it doesn’t. I first had the code directly in my header.php of my child theme, and then I used the X plugin for GA and pasted this:
<!-- 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-44897617-1');
</script>
That didn’t seem to work either. What’s going on here?