1

Is there any module which tracks page visit count for taxonomy terms?

Several module exists for node visit report (including Core Statistics). But I have not found any for taxonomy term page visit count.

Some posts found suggest using the Google Analytic module for this purpose. But my client does not want to use Google Analytic as this is intranet site. Still wants a report for category pages visit.

  • I think the module Statistics Counter may do what you want. It works alongside the Statistics module. I've only used it for Content though. It works in with Views. – Deejay Nov 19 '14 at 20:44
  • Thanks for your reply. I checked it with Statistics module. Cannot find option for taxonomy terms. – bPadaria Nov 19 '14 at 20:56
  • Core stats logs visits to term pages in the db (nid in node_counter table), so you should be able to pull it out using Views by selecting your term/s and then adding a relationship via nid. See related discussion here... drupal.org/node/603868#comment-4421144 – murraybiscuit Nov 20 '14 at 8:18
  • Thanks. But as you have mentioned, stats log saves nid not tid. Can you please give more detail? – bPadaria Nov 20 '14 at 14:50
0

Consider using the Forena module, it comes with all sorts of reporting features. And all sorts of hooks if you want to use them in your own custom modules.

Here is an excerpt from its Community documentation:

Forena Reports is built of the idea of using SQL to get data out of a database and use XHTML and CSS to format it into web reports.

It is designed to leverage existing knowledge of HTML, CSS, SQL and JavaScript to help you create rich interactive web reports.

In this specific case: if you know in which Drupal table (or combination of tables) the info is stored that you are looking for (like your which tracks page visit count for taxonomy terms), then it's a matter of putting together an appropriate SQL statement to retrieve those data, and then format it in a nicely looking report (and even chart if you'd want).

Curious to hear if this somehow could work in your case ...

Disclosure: I'm a co-maintainer of Forena,
I hope this does not violate the site's policy on self-promotion.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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