CoderDojoGitHub / our-dojo

Our dojo's website, used for archiving lesson plans and signing up students for classes
http://coderdojosf.com
5 stars 4 forks source link

Provide ENV variable for enabling Google Analytics tracking #43

Open mikefowler opened 10 years ago

mikefowler commented 10 years ago

By default, no GA script would be injected, but if an ENV variable was set (i.e. GA_TRACKING_ID) then the proper script block would appear in the page with the tracking ID set.

jonmagic commented 10 years ago

Love this idea. Might do the same for Gauges too, my preferred analytics service :)

jonmagic commented 10 years ago

I forgot to do this before the emails went out this morning so I just quickly threw in a gauges tracking script and sent @mikefowler an invite.