I set up a Google Analytics account and I set up a website and get a Google Analytics code that:
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-4XXXXXXX-1', 'mydomain.com'); ga('send', 'pageview'); </script>
I inserted all my pages in the title bar, but Analytics continues to say "Tracking not installed."
I looked and checked that the source code is in the header of the main page, and there is code. The site is built on classic ASP (default.asp), and I have several other sites installed in GA, and they worked perfectly. Therefore, I do not know why this does not work. This code was provided by GA.
Can someone tell me why this is not working?
javascript html google-analytics
Frank G.
source share