--- googleanalytics.module	2007-09-20 21:09:06.000000000 +0000
+++ googleanalytics.module.new	2007-11-29 20:27:38.000000000 +0000
@@ -106,7 +106,7 @@ function googleanalytics_footer($main = 
       $source = 'http'. $prefix .'.google-analytics.com/urchin.js';
     }
 
-    $script = '<script type="text/javascript" src="'. $source ."\"></script>\n";
+    drupal_add_js('</script><script type="text/javascript" src="'. $source .'">', 'inline');
     $script .= '<script type="text/javascript">'. $downloadtracker ."\n_uacct = \"". $id ."\";urchinTracker();{$segmentation}{$codesnippet}\n</script>\n";
 
     return $script;
