JIRA 4.3 : Adding JavaScript to all pages for Google Analytics
This page last changed on Aug 17, 2010 by jlargman.
Deploying Velocity Templates without a RestartIn a development instance, you can play with picking up velocity file changes without a restart.
If you wish to add javascript to every page within JIRA (for example for use with Goolge Analytics), add the following javascript to <atlassian-jira>/includes/decorators/header.jsp (JIRA 4.x) or stylesheettag.jsp (JIRA 3.13): <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-xxxxx"; urchinTracker(); </script> |
![]() |
Document generated by Confluence on Mar 27, 2011 18:54 |