Select Page

Adding Google analytics to Atlassian Bamboo

Adding Google analytics to Atlassian Bamboo


As I found no better tutorial on Internet, here is a very very short how to add Google analytics to Atlassian Bamboo, it require a bit of hacking, and these kind of changes will be lost after each upgrade of Bamboo..

Edit the file webapps/ROOT/start.ftl Now put the usual code you get after creating a new analytics profile just before the </body>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "
https://ssl." : "http://www.");
document.write(unescape("%3Cscript src=’" + gaJsHost +
    "’ type=’text/javascript’%3E%3C/script%3E"));
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-88600-10");
} catch(err) {}</script>

While not ideal, it simply work as expected and let you get insight about Atlassian Bamboo usage using Google analytics.

My Bamboo continuous integration server is available at

You can also insert Google Adsense using the same trick, but don’t forget that all your changes may be lost if you upgrade to a  new version. I will investigating further if there is not a plugin or an other way to do this. Stay Tuned!

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments


Would love your thoughts, please comment.x