From 87e3386356b5a2e05958b3384f57a20c6f618d5a Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 9 Jun 2008 13:30:32 -0700 Subject: [PATCH] Moving Analytics loading to the bottom of the page for faster loading of the page itself. --- view/Page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/Page.py b/view/Page.py index d4833e9..1e13078 100644 --- a/view/Page.py +++ b/view/Page.py @@ -16,7 +16,6 @@ class Page( Html ): Head( Link( rel = u"stylesheet", type = u"text/css", href = u"/static/css/style.css" ), Meta( content = u"text/html; charset=UTF-8", http_equiv = u"content-type" ), - Script( type = u"text/javascript", src = u"https://ssl.google-analytics.com/urchin.js" ), [ child for child in children if isinstance( child, head_types ) ], Title( title and u"%s: %s" % ( app_name, title ) or app_name ), """""", @@ -27,6 +26,7 @@ class Page( Html ): *[ child for child in children if not isinstance( child, head_types ) ], **attrs ), + Script( type = u"text/javascript", src = u"https://ssl.google-analytics.com/urchin.js" ), ), id = "html", xmlns = u"http://www.w3.org/1999/xhtml",