Commit 17f66486 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix google analytics setting being ignored

parent 63c6f30a
:javascript :javascript
var _gaq = _gaq || []; var _gaq = _gaq || [];
_gaq.push(['_setAccount', '#{gitlab_config.google_analytics_id}']); _gaq.push(['_setAccount', '#{extra_config.google_analytics_id}']);
_gaq.push(['_trackPageview']); _gaq.push(['_trackPageview']);
(function() { (function() {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
= csrf_meta_tags = csrf_meta_tags
= include_gon = include_gon
= render 'layouts/google_analytics' if gitlab_config.has_key?('google_analytics_id') = render 'layouts/google_analytics' if extra_config.has_key?('google_analytics_id')
-# Atom feed -# Atom feed
- if current_user - if current_user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment