Integrating Koko Analytics stats by Mikko Saari (
It’s possible to integrate all kinds of external data to Relevanssi weights. Koko Analytics is a great analytics plugin. It collects stats about your visitors and stores them in the local database, which means those stats are available for Relevanssi. For some sites, this makes a lot of sense. For...

I have been using Koko Analytics on The New Leaf Journal since 2020 and I also use it on this site. Moreover, I use Relevanssi Light to improve on WordPress’s (sub-standard) default search after having briefly used the much heavier and more robust Relevanssi plugin. While I plan to stick with Relevanssi Light because it is good enough for my search-improvement purposes, I was still interested to read a 2022 post by the developer of the Relevanssi plugins about “[i]ntegrating Koko Analytics stats as a factor in the weight calculations [fior Relevanssi Premium].” In short, he demonstrates a PHP snippet that would allow Relevanssi Premium users to slightly favor popular posts in searches. This is very neat and I would definitely try it if I were running Relevanssi Premium. For those of you with less intense search needs or limited resources, however, I recommend giving Relevanssi Light a try — it is as good as it is simple.

Leave a Reply

Only people in my network can comment.