Is there any way Confluence can tell us how many hits a page gets?
Asked by Suzanne:

Is there any way Confluence can tell us how many hits a page gets?


Answers:
author: Thomas Alfred
body: AppFusions' [Google Analytics plugin for Confluence](http://www.appfusions.com/display/GANLC/Home) 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](https://blogs.atlassian.com/2011/11/measure-your-wikis-activity-with-google-analytics-for-confluence/) and [Report Confluence Activity Using Google Analytics in the Wiki](http://blogs.atlassian.com/2009/12/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](http://www.appfusions.com/display/CONFENGAGE/Home) 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](http://davidsimpson.me/2013/10/17/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.

comments: author: David Simpson
body: @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.


author: David Skreiner
body: 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.

comments: author: Davin Studer
body: There are a number of free ways to do this.

<https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.viewtracker/server/overview>

<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.tracking/server/overview>

<https://answers.atlassian.com/questions/89931/google-analytics-on-confluence-pages>


author: Davin Studer
body: Just to throw one more into the hat. With 5.3 there is now a SQL table that tracks page hits by users. So, ifyou are on 5.3 and want to use SQL for this then that is a possibility too.

comments: author: Kevin Baldwin
body: Hi, Davin. Is the "SQL table that tracks page hits by users" still in Confluence 5.10.8? If so, which table is it, by name? Thanks for the intriguing lead, --K


author: liyun360
body: Hi, Davin. Is the "SQL table that tracks page hits by users" still in Confluence 6.1.3? If so, which table is it, by name? Thanks for the intriguing lead, --K


author: Davin Studer
body: At the time I wrote that I misunderstood how the table worked. It doesn't really track hits.


author: Matthew J. Horn
body: I like using Google Analytics with Confluence.

comments: author: Suzanne
body: how would you use it with Confluence? Can you give me a short explanation please.


author: Matthew J. Horn
body: There's plenty of info out there, but this is a good place to start:

[https://answers.atlassian.com/questions/89931/google-analytics-on-confluence-pages](/questions/89931/google-analytics-on-confluence-pages)


author: Jeff Thomas
body: The [Tracking Plugin](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.tracking) will provide a hit counter for you.

comments: author: Suzanne
body: Is it available in 4.3?


author: Jeff Thomas
body: Version 3.0 supports Confluence 4.3 - <https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.tracking/versions>