Rodrick
Rodrick

Reputation: 615

Google Analytics only show real-time data and not historic data

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.

Google Analytics Home 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

Answers (1)

Rodrick
Rodrick

Reputation: 615

It takes a while to show historic data, 1 or 2 days at least.

Upvotes: 9

Related Questions