Skip to content

Commit

Permalink
Merge pull request #552 from alphagov/fix-ie8-analytics
Browse files Browse the repository at this point in the history
Don't minify analytics initialisers in template
  • Loading branch information
edds committed Mar 2, 2015
2 parents 53e50bd + e32ff75 commit e4883a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/root/_google_analytics.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script id="ga-params">
var GOVUK=GOVUK||{},_gaq=_gaq||[];GOVUK.Analytics=GOVUK.Analytics||{};
window.GOVUK = window.GOVUK || {};
window._gaq = window._gaq || [];
GOVUK.Analytics = GOVUK.Analytics || {};
<%#
Slimmer inserts custom variables here
https://github.com/alphagov/slimmer/blob/master/lib/slimmer/processors/google_analytics_configurator.rb
Expand Down

0 comments on commit e4883a6

Please sign in to comment.