Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Setting up VisitorGroups programmatically

Vote:
 

Hi!

 

As the subject suggests: I would like to set up a visitor group with a set of criterion programmatically and i have no idea where to start. Can anyone point me in the right direction?

 

/Nils

#53524
Sep 13, 2011 14:10
Vote:
 

Hi,

I would start by taking a look at the Developing Custom Visitor Group Criteria tech note
For an example based on EPiServer roles, take a look at More custom Visitor Group criteria: Role

Hopefully this will give you some information :)

Karoline

#53529
Sep 13, 2011 14:44
Vote:
 

Hi,

In addition to this problem, I am facing problem with visitor groups which is When I added one customised visitor group (to show contents on mobile phones). When i selected the contents to be displayed when criterial meets, it is still showing the contents even criteria is not matching and it is also showing visitor group name on the page. After that, I created another visitor group that only french people can view the page contents Reference: http://tedgustaf.com/en/blog/2011/10/create-new-visitor-group-criterion-in-episerver/ but still problem is the same. It is showing contents even I am browing site from UK and it is also showing visitor group name on page as well. Any suggestion how to solve this problem?

Thanks

#57149
Feb 28, 2012 15:09
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.