Forum Moderators: open

Message Too Old, No Replies

How To Track Author Pagviews in Drupal

Is there a module that helps to track author generates page view?

         

Erku

3:16 pm on Aug 6, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I am looking to the possibility of tracking the pag views that are generates by my authors. Is there a module that can do that in DRUPAL?

We would like to see how many pageviews an author generates per month.

thank you.

ergophobe

4:06 pm on Aug 6, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This is done in Drupal with the User Points module, extending it with your own module and voila!

Sounds complicated? Not really, since it is actually the exact situation the module authors chose for their API tutorial, so it's actually not only written, but explained as well, so hopefully you can tweak it for your needs.

check out: [drupal.org...]

Erku

5:17 pm on Aug 6, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thank you very much.

Would you please explain what do you mean by extending it with your own module?

Does this allow me to track author generate pageviews monthly?

thank you

[edited by: ergophobe at 6:45 pm (utc) on Aug. 6, 2008]
[edit reason] snip request for private contact [/edit]

ergophobe

6:44 pm on Aug 6, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The User Points module is an API. To get it to do anything, you need to create a module that uses the API. If you look at the User Points documentation I mention, it tells you how to do exactly what you're asking.

Erku

9:42 pm on Aug 8, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thank you very much. I am going to look into this. Are these starts reliable? Because right now on our website we have more pageviews per article than what google analytics shows. I would tend to trust google analytics. But can't track per author.

ergophobe

11:46 pm on Aug 8, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm just speaking generally here, not specifically about the User Points system because I'm unfamiliar with how ti works.

Many things will cause a discrepancy between Google and server-based stats because GA is based on Javascript and the internal stats are based on actual HTTP requests.

So that means GA does not count hits by users who have Javascript turned off (5-10%) and scrapers, bots, search engines and so on that visit your site but do not interpret Javascript.

Erku

1:21 am on Aug 9, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thank you ergophobe for the explainations.

Could we say that GA is more reliable?

Thank you.

ergophobe

8:29 pm on Aug 9, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



No, I wouldn't say that. I would say it measures different things.

If you want to know how much load on your server is being caused by bots, then GA is LESS accurate, for example. Anyway, it's a big topic and people far more knowledgeable than I have been debating it recently in this thead:

[webmasterworld.com...]

There's a whole weekend's worth of reading and pondering in there!