Tracking GDPR Consents in Kentico 11

Tracking GDPR Consents in Kentico 11

Nov 2, 2017
Tracking GDPR Consents in Kentico 11

Friday, 25th May 2018… What a date! I am sure that Friday night will be full of Champagne drinkers, getting tipsy because they just managed to become GDPR compliant and free from the potential €20M fine! Of course, it all boils down to one thing: Make sure you have their GDPR-valid consent. But what can you do to achieve this?

There are many things you need to do (I hope you have already started!), but especially if you collect the data of EU citizens and use it to personalize their website experience in some way. In most cases, it is much easier to say than to do, and that’s the exact reason why we added the consent tracking functionality to Kentico 11.

As we are always pushing Kentico to newer heights, providing you with the help you need to comply with GDPR was one of our top priorities on the list. Going through the GDPR compliance processes ourselves, we realized how complex the whole thing was, and decided to make it as easy for you as possible.

That’s why we added the Data Protection application to Kentico 11 where (among other things) the consents can be created, updated, and stored, to be then displayed on your website wherever and whenever needed.

Of course, there are plenty of other things you need to ensure to become GDPR compliant (and you should discuss it with your lawyers in the first place), but we believe that our improvements will be a great help on your way to GDPR compliancy.  

If an image is worth a thousand words, then a video is definitely worth of thousand images. So, let’s watch the video below which describes how the tracking consent functionality can be used in Kentico 11:

Let’s recap the two main macros used in the video:

  • {% !OnlineMarketingContext.CurrentContact.AgreedWithConsent([code name of the consent]) % } -> checks if the current contact hasn’t agreed to a specific consent yet (notice the exclamation mark at the beginning of the macro).
  • {% GlobalObjects.Consents.[code name of the consent].GetConsentText().FullText % } -> displays a full text version of the specified consent.

These two macros are the most important ones needed for the successful implementation of the tracking consent functionality in Kentico 11.

And let’s not forget the short version of the tracking consent that is managed and displayed by the Cookie Law and Tracking Consent web part that needs to be placed (ideally) on a master page. It can be configured to display different text per each cookie level, especially the one when a visitor hasn’t agreed to a consent yet.

Are you ready for GDPR yet? Let us know in the comments! The topic of GDPR is one that is dear to our hearts. Check out some of the critical points you should be addressing here.

DISCLAIMER: All data and information provided in this blog post are for informational purposes only. Kentico makes no representations as to the accuracy, completeness, currentness, suitability, or validity of any information contained herein. We recommend consulting with a lawyer for any legal advice pertaining to GDPR compliance.

More by this author

We're sorry, but your browser is currently not supported. Try using our website in other browsers like the new Microsoft Edge, Google Chrome, or Mozilla Firefox.
Should you have any query or want to report any issue, feel free to send us an email to