Based on Consent agree how to enabled the track user activity

Ali Khan asked on November 15, 2022 13:10

I want to enabled user activity based on user accept the consent else I don't want to track the user activity how to implement this.

Recent Answers


Dmitry Bastron answered on November 16, 2022 10:08

Hi Ali,

Kentico tracking is based on CurrentContact cookie. Please have a look at this article to learn more about Kentico cookies and levels. Basically, you need to setup the default cookie level to something like Essential, and if the user clicks on agree with tracking cookies - then change the level to All for example. This needs to be done in your custom code.

1 votesVote for this answer Mark as a Correct answer

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