It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JavaScript / User Analytics - Confluence Cloud

Jon Simone Mar 18, 2016

This question is in reference to Atlassian Documentation: How to use JavaScript in Confluence

Hello,

I am desperately trying to gather as much user analytics as humanly possible from our Confluence Cloud instance. 

Here is a quick run down:

  1. I have read this article about viewing Site Statistics but this does not give us nearly as much information as we need: https://confluence.atlassian.com/doc/viewing-site-statistics-123043962.html BTW, anyone know if there is a way to pull more than just the top 10 viewed pages in each space? That info must live somewhere.
  2. I have also read this article about using add-ons to gather data: https://confluence.atlassian.com/confkb/how-do-i-get-more-statistics-from-confluence-154239308.html but these require using the server version of Confluence (which is not an option for us at this time). 
  3. Our company uses Looker and Snow Plow and with these tools and a little help from JavaScript we are able to track all sorts of data and events. 

So here are my questions:

  1. Is there a way to insert Javascript into the head tag on every page as mentioned in this article: 

    https://confluence.atlassian.com/confkb/how-to-use-javascript-in-confluence-313458839.html (This article looks like it may be out of date or that it does not apply to the Cloud version of Confluence). 

  2. If we are able to insert Javascript does anyone have an idea how we can grab the email address of each logged in user?

The main things I need are:

  1. The ability to see page views for every single page (and hopefully the ability to see how many unique visits there are).
  2. The ability to see which pages each particular user has viewed. 

I appreciate any help or suggestions!

Thank you!

3 answers

2 votes
Thomas Alfred Mar 18, 2016

Drop david@davidsimpson.me an email if you'd like to try out Google Analytics in Confluence Cloud. He should be able to help you out.

David Simpson Community Leader May 23, 2017

Yes, my Google Analytics add-on for  Confluence Cloud is now in the Marketplace after a year of closed beta ;)

1 vote
Tim Clipsham Jan 23, 2017

Hi Jon,

We've created an analytics add-on for Confluence Cloud that makes it easy to get an overview of activity and also zoom in on the details like who has viewed a particular page.

You can find more information here: Analytics for Confluence Cloud

Hope it helps!

0 votes
Huiyi Lin Apr 04, 2017 • edited Apr 05, 2017

Hi Jon, 

I am not a geek, so I cannot comment on the technical side of your questions. However, in terms of the "main things you need", mentioned above, I can give you some suggestion.

Our engineer created a plugin for our internal use previously, to connect GoogleAnalytics with Confluence Cloud, as I was very disturbed by the fact that there's little analytics available on Cloud. We saw that many people have the same problem like we do, so in early March we decided to put the plugin in the marketplace. It's free at the moment, so give it try, maybe it helps. Here is the setup guide. 

1. The ability to see page views for every single page including unique visitors. 

Yes, you can see this through google analytics after you connect your confluence cloud via our Plugin. Sorry, I have to take out the data.

Behavior>Site>All Pages>Click on a specific page in the list, then you will see my screenshot below. 

 Pageview_unique visitor.png


2. The ability to see which pages each particular user has viewed

Yes, You can see which page the users viewed. 

Audience> User Explorer> then you see a list with Client Id, session duration, bounce rate, etc> click on a specific Client Id. However, I don't think you will be able to recognise who the client is, because the ID is assigned by Google. 

I hope this is helpful to you. 

Huiyi Lin Apr 04, 2017

Oops, the link was not there:

Marketplace: GoogleAnalytics for Confluence Cloud

Documentation: Setup guide

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

945 views 0 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you