app/views/layouts/almanac/_ga.html.haml in almanac-0.5.2 vs app/views/layouts/almanac/_ga.html.haml in almanac-0.5.3
- old
+ new
@@ -1,7 +1,7 @@
:javascript
var _gaq = _gaq || [];
- _gaq.push(['_setAccount', #{@blog.google_analytics}]);
+ _gaq.push(['_setAccount', "#{@blog.google_analytics}"]);
_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';
\ No newline at end of file