I use Lunarpages for hosting and when I look at the Webalizer stats, all I see are page views for the entire site. How can I get the number of views for an individual page so I know what to charge the advertiser???

Thanks!

Comments

rkarajgi’s picture

If you download and install Google Analytics module (http://drupal.org/project/google_analytics) - that can give you all the info. Also saves you the hassle of logfiles and webalizer. I hope this helps.

- Rajeev
----------------------------------------------------------
- Rajeev Karajgikar, Drupaler in South Bay Area

----------------------------------------------------------
- R Karajgikar

mitzy’s picture

I looked at the module and it appears to be for 5 and above.... Can it be installed on 4.6?

rkarajgi’s picture

You can not install D5.x module on D4.x. So this module will not install on D4.x.

However, what you can do is as follows:
- when you add site to Google Analytics, it gives you embed code
- You can add that embed code to page.tpl.php just before the towards the end of the page.
- In case if you have any pages themed by cloning page.tpl.php then you will have to add the embed code to all such pages.

This should do the job and you will get the data in Google Analytics.

I hope this helps. Thanks
----------------------------------------------------------
- Rajeev Karajgikar, Drupaler in South Bay Area

----------------------------------------------------------
- R Karajgikar

defconjuan’s picture

Use a third party service or start your own. You can use OpenX (an open source ad server) and there are two modules to integrate it with Drupal.