: Google analytics for wordpress I have a problem in Google Analytics and I don't know what is missing in it. I added the script file to my WordPress website header like this one: <script
I have a problem in Google Analytics and I don't know what is missing in it. I added the script file to my WordPress website header like this one:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-Y']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
When I opened the Google Analytics I saw Tracking Installed but when I open the dashboard to see the reports and my information everything shows 0 people visited this site, 0 visits, everything is zero and I don't know why ?
More posts by @Reiling115
3 Comments
Sorted by latest first Latest Oldest Best
Default Google Analytics reports show historical data compiled over the course of the last 24-48 hours (generally, you will not see anything reported with standard reports until at least 24 hours have passed; the greater and the more geographically-dispersed your traffic is, the longer it can take to compile all traffic data).
Switch to Real-Time Reports to test in real-time.
sarah, check the time frame (at the top of your GA) for which dates you are view your report. By default, GA does not include the current day ... you need to change the same.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.