Answer the question
In order to leave comments, you need to log in
Google Analytics on a subdomain?
In general, the task is super simple and used to take 5 minutes. Now it's the second day in a dead end.
There is a static subdomain. For him I want a separate tracking.
I paste the code - it doesn't work... I tried a variety of options, finally created an empty subdomain with a page where there is nothing but Google Analytics. The real time of users shows, but the status is still - Not Installed
Here is the actual code:
<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-МОЙ-НОМЕР', 'auto');
ga('send', 'pageview');
</script>
Answer the question
In order to leave comments, you need to log in
Answered now on google forums, they said that it could take time. I'll wait a couple of days :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question