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)

    <script src="" type="text/javascript">
    <script type="text/javascript">
    _uacct = "UA-xxxxx";

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

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

This page is outdated for JIRA7, please see for details

Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport