Developer
Documentation
Resources
Get Support
Sign in
Developer
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Developer
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Oct 23, 2025

Adding JavaScript to all pages for Google Analytics

If you wish to add javascript to every page within JIRA (for example for use with Google Analytics), add the following javascript to the appropriate file:

  • stylesheettag.jsp (JIRA 3.13)

  • <atlassian-jira>/includes/decorators/header.jsp (JIRA 4.x)

  • <atlassian-jira>/atlassian-jira/includes/decorators/aui-layout/header.jsp (JIRA 5.x)

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

Note that you can also add a noindex tag, like:

1 2
<meta name="robots" content="noindex"> 

Rate this page: