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

Elvar Bjarki Böðvarsson March 31, 2014

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 at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
April 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.

Elvar Bjarki Böðvarsson April 22, 2014

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 at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
April 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