A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

K Khan
Jun 29, 2015
  5577
(2 votes)

Visitor Criteria based on EPiServer Find Statistics

EPiServer Find Statistics are quite useful. Those helps editors to understand the behaviour of web users of their site. Those statistics can be used in other areas of EPiServer also. e.g. I have developed a visitor criteria that offers editors to select a keyword based on the most frequent search by web users during last month. On Search Listing page Editors can select Contents to show related contents for those popular searches.

Find Statistics show most frequent searches on website during last month

Image statistics.JPG

A Visitor Criteria to show specific contents for these terms

Image visitorcriteria.JPG

Search term specific contents

Image SpecificContentForSearches.JPG

Code and a nuget package is available on Github.

Following Configurations will require.

<episerver>
<visitorGroup>
        <searchKeyWordCriteria pattern="([#?&](amp;)?(q|p|Search)=(?<query>[^&]+))" />
      </visitorGroup>
</episerver>

I am looking forward for some public functions from EPiserver, so developers could retrieve statistics based on IP/user also. Some great features can be built based on that.

Jun 29, 2015

Comments

Jeff Wallace
Jeff Wallace Jul 16, 2015 01:12 PM

Like!

Please login to comment.
Latest blogs
Building simple Opal tools for product search and content creation

Optimizely Opal tools make it easy for AI agents to call your APIs – in this post we’ll build a small ASP.NET host that exposes two of them: one fo...

Pär Wissmark | Dec 13, 2025 |

CMS Audiences - check all usage

Sometimes you want to check if an Audience from your CMS (former Visitor Group) has been used by which page(and which version of that page) Then yo...

Tuan Anh Hoang | Dec 12, 2025

Data Imports in Optimizely: Part 2 - Query data efficiently

One of the more time consuming parts of an import is looking up data to update. Naively, it is possible to use the PageCriteriaQueryService to quer...

Matt FitzGerald-Chamberlain | Dec 11, 2025 |

Beginner's Guide for Optimizely Backend Developers

Developing with Optimizely (formerly Episerver) requires more than just technical know‑how. It’s about respecting the editor’s perspective, ensurin...

MilosR | Dec 10, 2025