Skip to content
Browse files

The async version of Google Analytics can be placed inside the head.

  • Loading branch information...
1 parent e2f2a0b commit 07aa579ae0629ee4b498721579347013175f9981 @vanderhoorn vanderhoorn committed Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/layouts/default/views/layouts/default.html.haml
View
2 app/layouts/default/views/layouts/default.html.haml
@@ -26,10 +26,10 @@
%link{ :href => @rss_feed_url, :rel => "alternate", :type => "application/atom+xml" }/
= yield :atom_feed
= javascript_tag("document.observe('dom:loaded', function () { lightbox = new Lightbox({}); });")
+ = render :partial => '/shared/google_analytics'
%body
#main_container
= render :partial => '/layouts/partials/content'
= yield :header
= render :partial => '/layouts/partials/footer'
= render :partial => '/shared/admin_tools'
- = render :partial => '/shared/google_analytics'

0 comments on commit 07aa579

Please sign in to comment.
Something went wrong with that request. Please try again.