summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--googleanalytics.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/googleanalytics.module b/googleanalytics.module
index 7d10ae3..daef388 100644
--- a/googleanalytics.module
+++ b/googleanalytics.module
@@ -42,8 +42,7 @@ function googleanalytics_footer($main = 0) {
$prefix = 's://ssl';
}
- drupal_set_html_head('<script type="text/javascript" src="http' . $prefix . '.google-analytics.com/urchin.js"></script>');
- return '<script type="text/javascript">_uacct = "'.$id.'";urchinTracker();</script>';
+ return '<script type="text/javascript" src="http' . $prefix . '.google-analytics.com/urchin.js"></script><script type="text/javascript">_uacct = "'.$id.'";urchinTracker();</script>';
}
}