OpenWaterFoundation / owf-app-snodas-ng

Open Water Foundation SNODAS snowpack user interface built with Angular
0 stars 0 forks source link

Add GA4 to CDSS SNODAS Tools #36

Open smalers opened 1 year ago

smalers commented 1 year ago

The SNODAS Tools website needs to be updated to use Google Analytics 4 (GA4). Below is the information provided by the State:

Here's the GA4 code for the SNODAS site:

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

  gtag('config', 'G-BRVYPVBMFH');
</script>