Reputation: 615
I have a webform site where I added the Google Analytics script, but the Google Analytics Home just shows real-time data and not historic data like Page Views, Session by Device, Session by country, etc.
The script looks like this (it was inserted after ):
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXXX-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXXXXXX-1');
</script>
Upvotes: 6
Views: 4283