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:
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:
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.
@Thomas Alfred is correct in all the detail above. I'd like to reiterate the point about tracking usernames or user display names as it is extremely important -- if your Google Analytics implementation tracks usernames or user display names, you could have your Google Analytics account suspended as it's against section 7 of Google's ToS.
Too bad Atlassian doesn't delete SPAM for paid plugins from these forums.
Admins come here to find answers, not to go on a shopping spree.
And all those "Can't do it but here's a paid plugin" answers lead to even more rumors about how Atlassian refuse to address problems if there's paid plugins that fix them.
There are a number of free ways to do this.
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...
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!
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