This page last changed on Dec 08, 2005 by nick.menere@atlassian.com.

Some people wish to add some javascript to every page within JIRA. One such use case is Goolge Analytics.

To implement this you need to add the following javascript to all your pages:

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-xxxxx";
urchinTracker();
</script>

The easiest way to do this would be (as of 3.4.1) to add this script into the Annoucement Banner which is displayed on nearly every page. This will display an empty red box, but you can simply comment out the style in the CSS. This will take care of about 90 - 95% of pages. This can be edited through the Adminitration section.

Else, you can manually add it to the file: stylesheettag.jsp This is included on every page.

Document generated by Confluence on Oct 06, 2009 00:31