lib/views/partials/_google_analytics.haml in schnitzelpress-0.1.1 vs lib/views/partials/_google_analytics.haml in schnitzelpress-0.2.0
- old
+ new
@@ -1,7 +1,7 @@
:javascript
var _gaq = _gaq || [];
- _gaq.push(['_setAccount', '#{settings.google_analytics_id}']);
+ _gaq.push(['_setAccount', '#{config.google_analytics_id}']);
_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';