sul-cidr / noh

Noh as Intermedia
http://noh.stanford.edu/
MIT License
4 stars 2 forks source link

Enable analytics #587

Closed broadwell closed 4 years ago

broadwell commented 4 years ago

Enables Google Analytics on the site, through the Jekyll hooks that were mostly already in place.

NOTE that the environment variable JEKYLL_ENV=production must be set when building the site to deploy it to production in order for analytics to enabled. This value must not be set on any other build; otherwise our local, staging, etc. sites will all send reports to Google as well.

simonwiles commented 4 years ago

I've added some additional GA config -- these comments are on the commit: