Integration of JIRA with Google Analytics

venugopal123 August 27, 2017

Hi, 

 Can we Integrate JIRA with Google analytics ? If there is any possible please let me know how it is to be done  with a proper documentation

2 answers

0 votes
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.
February 25, 2021

Hi Venu,

I hope you've already worked this out, but being as this post at the top of most SERPs, I figured I'd answer the question for others.

I'll answer for both on premise and for cloud...

On Jira Server/Data Center

You can add the Google Analytics javascript snippet to the Announcement Banner.

Make sure that you use the new GA4 style data collection snippet as this will automatically track updates to single page apps.

Choose Administration > System.

Select User Interface > Announcement banner in the System panel below.

Enter the snippet (where G-****** is your measurement ID):

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-******"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-******');
</script>


Select the required Visibility Level for the banner.

Click the Set Banner button.

On Jira Cloud

You cannot add JavaScript in the same manner, so instead use an app from the Marketplace:

https://marketplace.atlassian.com/search?hosting=cloud&query=google%20analytics%20jira

There are currently 2 listed which provide tracking for Jira Cloud.

Note: My company "David Simpson Apps", provides Google Analytics in Jira & JSM.

Cheers, David.

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 28, 2017

HI Venu,

It is possible and here is some documentation to get started:

Adding JavaScript to all pages for Google Analytics

 Putting Google Analytics to work with plugins for Confluence

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer