Google Analytics embedded in a fresh JIRA install with no plugins enabled

I'm setting up a fresh install of latest JIRA and noticed that the browser was blocking GA connections right from the start.

When I'm on the Dashboard I see this in the HEAD tag

<script src="http://www.google-analytics.com/ga.js" type="text/javascript" async=""></script>

Googling as only showed Greenhopper/Agile lab feature that can be turned off. But I dont have that plugin installed.

Is this new?

This is running version 6.2.2, then I also have another instance running 6.0.3 which does not have Google Analytics.

In the general configuration there isa config for "Enable Atlassian analytics"

Enabling this just adds another line of

<script src="http://www.google-analytics.com/ga.js" type="text/javascript" async=""></script>

Meaning there are now two entries for the same call. Changing the setting back removes only one line.

1 answer

1 vote
David Simpson Community Champion Apr 11, 2014

One way to prevent tracking is to add some code that tells Google not to track.

For example this would stop Atlassian configured trackers provided that they are still using the UA-20272869 property id

&lt;script&gt;
    // Disable any trackers that Atlassian may have added
    for (i=0; i &lt; 50; i++) {
        window['ga-disable-UA-20272869-'+i] = true;
    }
&lt;/script&gt;

Place this code in the Announcements Banner to prevent Atlassian's Google Analytics code from sending tracking to Google Analytics.

Would work somewhat but this will only tell Google to not track it. I'm more interrested in why this is embedded by default and I can remove it if possible.

Anoying to have outbound connections from a pure internal environment.

David Simpson Community Champion Apr 24, 2014

I think you're being totally reasonable. It may be something to do with one of the plugins that's installed - Are you using Atlassian Navigation Links Plugin?

Try opening a JIRA issue with Atlassian, or maybe @Joseph Clark [Atlassian] can help?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

816 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you