Database Query that can display more than the OOTB top ten users who accessed (Space Activity) (hit/clicked on/viewed) a space or page.

Greetings and sorry for the horrible description from before. Is there a database query that can display more than just the top ten "Most popular content (views) for a site or space? "/spaces/usage/report.action?key=bwp" Currently it will display the top ten most popular content but I was trying to take a particualar space and/or page and have a list of user names and the number of times they visited, hit, or viewed that particular space or page. Maybe if the script could be ran once a month for a particular space/page to return the desired data?

Thanks!

5 answers

OK, so you're interested in analytics?

As @Thomas Alfred replied in a previous question...

AppFusions' Google Analytics plugin for Confluence is a good way of tracking page views and displaying the resultys within Confluence - it also displays results for external websites too.

Atlassian blogged about it a couple of times:

Measure Your Wiki’s Activity with Google Analytics for Confluence and Report Confluence Activity Using Google Analytics in the Wiki

It's still fully supported despite no longer being listed in Atlassian's marketplace.

More details information on who is doing what (edit, view, delete, comment etc) can be found using Mixpanel Engagement Analytics for Confluence also by our friends at AppFusions.

Just something to note, if you're tracking usernames or user's actual names using Google Analytics, you could have your Google Analytics account suspended as it's against section 7 of Google's terms of service. David Simpson gives a robust explanation of this in his blogpost:

Identifying your users in Google Analytics while complying with section 7 of the terms of service

One more thing, beware adding tracking code to At the end of the HEAD if you're also using Zen Foundation - this doens't work as they disable that functionality. Stick your stuff At the end of the BODY instead.

What do you mean by "top 10 users"? What is the criteria?

Is there a way to replicate what the out of the box function does to collect top ten hits but to make it for all hits over a particular time range? Could you find the code that gathers this content for display? With the hope of replicating it but to a wider range in time and users.

Not specifically to your question, but Site Statistics does have some queries along the lines of understanding contributions and contributors on your site.

Hi, the article is from 2005, is there anything more up to date and has there not been very many people requesting more statistical data options for pages and spaces to monitor who and how often their spaces are visited?

Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

922 views 2 13
Read article

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