Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Creating Custom Visited Page Visitor Group Criteria

Vote:
 

Hi,

I want to store visitors visited page information into a database. I learned that episerver inbuilt VisitedPage criteria saves visited page information in HttpContext only for that user session.

So, I want to create Custom Visitor group criteria similar to inbuilt episerver criteria except that it will store information in database.

Can I modify or extend the existing episerver criteria to store info in database or how can I create custom criteria for this?

Thanks,

Sanket Mahimkar

#143935
Feb 03, 2016 15:05
Vote:
 

You can follow this guide for building your own custom criterias

http://world.episerver.com/blogs/Henrik-Fransas/Dates/2015/2/building-custom-criteria-for-visitor-groups-in-episerver-7.5/

I would start by checking if you can inherit from the current VisitedPage criteria / check it out with dotPeek or similar. 

If you are only interested of the statistics part I would recommend using Google Analytics addon instead

#143945
Feb 03, 2016 15:54
Vote:
 

You can check out 

https://jstemerdink.wordpress.com/2016/02/10/remember-me/

as well

#144315
Feb 10, 2016 18:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.