KVKK Compliance with Consent Mode Setup

The Personal Data Protection Authority (the Authority) recently prepared and shared with the public a draft guide containing recommendations for the protection of personal data under Law No. 6698 on the Protection of Personal Data (the Law) for website operators processing personal data through cookies. The guide was open for feedback from relevant parties for 30 days, until February 10, 2022. The guide focuses on the use of cookies that concern everyone with a website, including cookie declarations, cookie banners, and the use of these cookies. 

In this blog post, we covered how to set up Consent Mode for websites using Google Tag Manager in accordance with the directions in the guide. 

Note: The items mentioned in this article do not constitute legal advice. 

Google Tag Manager and CMP Integrations

Google provides integration with 9 CMPs (Consent Management Platforms) for Consent Mode setup. Some tools also have templates that can be used on Google Tag Manager. In this guide, we will be using Cookiebot and Google Tag Manager for our setup. During this process, a cookie consent banner in your chosen format will be added to your website, along with a dynamically updated informative text about the cookies used on the site. The cookie consent banner should be active on all pages, while the aforementioned text should only be added to the page with your KVKK Information Text. 


Consent Mode kurulumu ile KVKK uyumluluğu

Cookiebot Panel Setup 

After signing up for the site, you can start by adding your site’s domain to the screen you are redirected to. By default, Cookiebot scans the cookies your site uses monthly and sends you a report. You can change this frequency. The scanning process takes approximately 24 hours. You can click here for more detailed information about the scanning process. 

Consent Mode kurulumu ile KVKK uyumluluğu

In the “Dialog” tab, you can customize the appearance and functions of your banner. There are 3 different design options in this section. We currently use the “Swift” design on You can choose between two ready-made designs or add your custom-designed banner. 

Consent Mode kurulumu ile KVKK uyumluluğu

For KVKK compliance, you need to present the permission types on the banner as opt-in, meaning that the cookie options on the banner should be displayed unselected as shown below. 

Consent Mode kurulumu ile KVKK uyumluluğu

From the “Content” tab, you can edit your cookie information text and add different languages. In addition, there is an option to display the information text in the language used by the user. The page where you add the cookie information text should also offer the user the option to revoke permissions. 

Consent Mode kurulumu ile KVKK uyumluluğu

In the “Your Scripts” tab, you can find the code blocks that need to be added to your site. The top code block must be added to the top of your site’s head tag. The bottom code block should be added to the page where your KVKK Information Text and/or other cookie policy texts are located. 

Consent Mode kurulumu ile KVKK uyumluluğu

Before adding the code blocks to your site, you can check your information text and permission banner using the preview buttons on the left side of your Cookiebot panel. 

Google Tag Manager Setup 

We will proceed with the remaining Consent Mode setup on our Google Tag Manager panel. To make bulk edits on the permission settings of our tags, go to the “Admin” tab in the GTM panel and click on “Container Settings”. In the opened window, check the “Enable Consent Overview” option and save. 

Consent Mode kurulumu ile KVKK uyumluluğu

As the next step, we will add a new tag. After clicking the tag adding button, we go to the community gallery section at the top of the opened window and add the “Cookiebot CMP” template. 

Consent Mode kurulumu ile KVKK uyumluluğu

In the added tag, you need to enter your Domain Group ID. You can find this ID in the “Your Scripts” tab in the Cookiebot panel. The trigger for your tag should be set to the built-in trigger named “Consent Initialization – All Pages”. 

Consent Mode kurulumu ile KVKK uyumluluğu

Consent Mode Setup and KVKK Compliance 

The following setups aim to ensure that related tags are triggered according to the permission types given by users. There are 5 different permission types: 

ad_storage Cookies collecting data for advertisements 

analytics_storage Cookies for analysis purposes 

functionality_storage Cookies for the functionality of the site/app, such as language settings 

personalization_storage Cookies for personalizations 

security_storage Cookies for security measures 

Tags like Google Ads Conversions, Google Analytics, and Floodlight automatically determine which permissions they will be triggered in. For other providers like Facebook Pixel and Tiktok Pixel, you need to manually set the triggering permissions. To do this, go to the “Tags” tab and click the “Consent Overview” button in the upper right corner. Then, you can easily assign the relevant permission types in bulk by selecting the tags that will give the same permission types and using the “Edit Consent Settings” section, as seen in the image below. 

Consent Mode kurulumu ile KVKK uyumluluğu

Don’t forget to take a preview and verify your Consent Mode setup before going live. When you go live with the setup, you will be one step ahead in compliance with KVKK (the Law). Please note that you may experience a decrease in traffic due to users who refuse permissions after the setup. You can click here to reach our contact form to get a proposal for measures regarding KVKK’s (the Law) applications in the cookie field. 

 I would like to thank Arif Candemir from the Verini Koru team for his contribution to the preparation of this blog post. 

 See you in our future articles! 

Hello, I am Mehmet Akif ÇANDIR, after working as an engineer in the sector, I started working in the Web/App Analytics sector with the contribution of my curiosity and engineering knowledge. I am improving myself and providing service as a Web/App Analyst. I have been working as a Web/App Analyst at Perfist since July 2022.

Perfist Blog

Similar Articles

Other Articles