I want a simple block (or it could be attached to the content, I don't really care) displaying how many hits a node has had, visible on the node itself, and only visible to the user who created the node (and admins obviously).

Any easy way to do this?

2 Answers 2


It should be somewhat easy to do using the statistics module. I wouldn't recommend this, is it requires a database write on each page view, with is quite a performance hit.

A better solution would be to do some integration with GA or similar and get the data from there, but that would obviously require much more work.


The Google Analytics Reports modules offers blocks that will report on individual pages. Wouldn't this off-load the stat works to Google?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.