Apparently the Google Analytics code won't get compiled in production without an ERB extension
This commit is contained in:
parent
b9dd869b0c
commit
7f844c970b
|
@ -0,0 +1,10 @@
|
|||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-20825280-2']);
|
||||
_gaq.push(['_setDomainName', '.adoptahydrant.org']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
Loading…
Reference in New Issue