cancel
Showing results for 
Search instead for 
Did you mean: 

Magento CE 2.3.3 Google Analytics Showing partial Data

Magento CE 2.3.3 Google Analytics Showing partial Data

Have just done a migration from 2.2.2 to 2.3.3.

Initially once migration was completed, no data at all was recording in google analytics screen.
We the checked Analytics setting in the backend of the store:
Stores>Configuration>Sales>Google API>Google Analytics It was disabled so we enabled it.

-Prior to migration, daily new users: 500.
-After migration, daily new users for the last 2 days: 140.
-Conversions: unaffected

Conclusion: analytics is not recording the data correctly.

Can anyone advise what else could be investigated why the data isn't accurate afte 48hrs+?

and I can see also some google code in:
public_html/app/design/frontend/[vendor name]/[theme name]/Magento_Theme/templates/html/footer.phtml

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXXX-X"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-XXXXXXX-X');
</script>```