mnoetel / READI-SCRUB

For READI SCRUB project cleaning code and dashboard
Creative Commons Zero v1.0 Universal
1 stars 1 forks source link

Add Google Analytics code to Shiny code #23

Closed aksaeri closed 4 years ago

aksaeri commented 4 years ago

See email for info -

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

  gtag('config', 'UA-170147765-1');
</script>

Step 3 here: https://shiny.rstudio.com/articles/google-analytics.html