rowan.t
rowan.t

Reputation: 187

Displaying page hits in Drupal 7

I have a Drupal site which allows users to sign up and add their own content. I am trying to create something that emails users every week and shows them statistics like how many people viewed your content etc. I have turned on the statistics module and checked on count content views. I moved the popular content block into the correct region but it will not show me the number of hits only the most popular content pages. I would like to be able to show the number of hits. I was also wondering if there is a programatically way to print the number of page hits so I could do it that way. Thanks

Upvotes: 1

Views: 1648

Answers (2)

Deepak ML
Deepak ML

Reputation: 79

try Google Analytics Reports module. Statistics module has big impact on performance because of the huge db writes.

Upvotes: 0

Joonas
Joonas

Reputation: 2182

Check out the statistics module's documentation. You can use statistics_get($nid) function to get total count of views of a node.

Upvotes: 1

Related Questions