How to Create Contact Group in Personalization

innovix solutions asked on September 23, 2019 10:17

I m using Kentico12 MVc development model.I would like to create new contact group for content personalization with K# micro.Are there any way to write micro condition ?(contact group that visited specified page type).

Correct Answer

Dmitry Bastron answered on September 23, 2019 12:54

Hi,

There is no such macro out-of-the-box. I'd suggest the following:

  1. Create a new custom Activity Type (something like 'Page Type Visit')
  2. Write custom code that will log this activity via ActivityInfoProvider.SetActivityInfo(..) on page load
  3. Create contact group based on 'Checks if the contact has performed the selected activities during the last X days.' macro with your custom activity type.
1 votesVote for this answer Unmark Correct answer

Recent Answers


innovix solutions answered on September 24, 2019 19:05

I m using Kentico 12 MVC development model and I have created varient.NOw i would like to get that varient value in MVC widget Controller.Are there anyway to get that kind of functionality?

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on September 24, 2019 23:54

I'm not sure I understood the question. Could you rephrase please? What "varient" do you mean?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.