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

Benjamin Weeks November 11, 2013

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

1 vote
David Simpson November 11, 2013

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.

0 votes
Benjamin Weeks November 11, 2013

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.

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 11, 2013

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

0 votes
Benjamin Weeks November 11, 2013

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.

0 votes
David Simpson November 11, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events