processing / p5.js-video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Analytics

scottgarner opened this issue · comments

@lmccart, I see UA-51635913-1 as the Google Analytics user id at p5js.org. Should I use the same one here?

here's the script, I just added it to p5js.org, too:

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-53383000-1', 'auto');
  ga('send', 'pageview');

</script>

where did you see the UA-51635913-1?

It's in the source of the current placeholder site at http://p5js.org/.