How to Configure JIRA for Google Indexing

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

 

If you wish to add javascript to every page within JIRA (for example for use with Goolge 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)

  • In JIRA 6.x these changes have to be made to both files in order to apply to all JIRA pages.

    • <atlassian-jira>/includes/decorators/aui-layout/head-common.jsp

    • <atlassian-jira>/includes/decorators/aui-layout/head-common-nodecorator-pre.jsp

       

 

 

<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:

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

 

Once these changes have been made to the .jsp file(s), you will need to save that file and the restart JIRA in order for these changes to take effect.

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

最終更新日: 2016 年 2 月 23 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.