I recently setup Google Analytics on my website, hosted on a VPS I manage. This is a plain HTML webpage, not a CMS like Wordpress (not sure if that matters?) I copied and pasted the following right above the </head> tag.
<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> When I login to Google Analytics I see values in Property Hit Volume:
Despite these hits, there is no data in Audience Overview or anywhere else in the portal. I created a View with default settings from Property Settings, so there are no filters in place.
Am I missing anything in my script or settings that I should have enabled?
Thank you!!
1 Answers
Answers 1
It depends on when you created the view. Views will only accumulate data from when they are created. So that might be a reason as to why you are not seeing any traffic on the reporting side.
The easiest way to test if the tracking code implementation works is to go to the website and then check the real-time view in Google Analytics. If you cannot see yourself there, you have issues with the tracking code.
0 comments:
Post a Comment