Try our conversational search powered by Generative AI!

Custom Visitor group based campaign


Hi Team,

I am using a custom cookie-based visitor group for promotion. For a situation like below how to handle that?

1.visitor a group G- campaign gold

2.visitor a group S- campaign silver

3.visitor a group P- campaign platinum

If using below method I will check cookie contains valid data or not. how the campaign is for a specific visitor group?

 public class CookieExistsCriterion : CriterionBase<CookieExistsCriterionSettings>

        public override bool IsMatch(IPrincipal principal, HttpContextBase httpContext)
       return IsValidcookievalue() ;

Note: I am not able to add a user in visitor group.

Please help me out.

Jan 24, 2019 17:47

I'm not sure exactly what you are asking about, but have a look at this - it may help 

Jan 24, 2019 23:15

Thanks Marcus,

The above link is useful when we use only one custom visitor group in the campaigns. It will not suitable for multiple campaigns with multiple visitor groups. so I moved to the custom promotion and achieved my requirement.

Jan 29, 2019 8:40
* 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.