• Resolved 321abc

    (@deraxia)


    Does Relevanssi have any option for front-end statistics? How many searches, most popular searches, etc.?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Yes, just enable the logging from the Settings > Relevanssi > Logs tab, and you’ll find statistics later at Dashboard > User searches.

    Thread Starter 321abc

    (@deraxia)

    I apologize my question wasn’t clear. I want to know if that information can be shown on the frontend with a shortcode or widget.

    Plugin Author Mikko Saari

    (@msaari)

    It’s possible, the data is freely available in the wp_relevanssi_log database table. There just isn’t any ready-made tools for displaying it. What would you want to show? Common search terms is the typical request, but it’s dangerous enough that I don’t recommend doing it, even though it would be easy.

    Thread Starter 321abc

    (@deraxia)

    I know there is a possibility of the terms being manipulated, so it would be nice if there were some exclusion option or filter. But, I don’t want to ask too much of you.

    What I’d like to show is:
    – top X common terms for 30 days
    – # of searches for today/yesterday
    – # of searches for past 7 days
    – # of searches for 30 days
    – Total # of searches

    If it would be possible, maybe also least common (but successful, not zero result) searches.

    Plugin Author Mikko Saari

    (@msaari)

    I’m not going to provide a feature like that – I find it too problematic and the effort required to make one that would be good enough is too big.

    That said, the database structure for the log is very basic, and any WP developer will be able to create a widget like this for you based on the data in the log table.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Front End Stats’ is closed to new replies.