CookieYes Code Installation on WordPress

CookieYes Code Installation on WordPress

By Sowmya G

Published on 8th Jul 2019

To install the CookieYes code you need to head over to your WordPress dashboard. There are two ways for installing this on your WordPress website.

Theme Editor

You can add the code via the theme of your WordPress website. Go to  Appearance >Theme Editor from your WordPress dashboard.

In the theme editor, go to Theme Header or Footer and paste the code between the <body> </body> tags.

Update file and you can see the banner displayed on your website.

Using a Plugin

Another method is to search for a plugin to edit your Wordpress website and insert the installation code, without editing the theme. This method is recommended over the first one as in the case when the theme is updated, the changes will be overwritten.


For example, the plugin Insert Headers and Footers can be used. This plugin will help you insert a code into your Wordpress website header or footer.


Note: Insert Headers and Footers plugin is an example of the plugins that can be used for inserting code in this way. It’s not a recommendation, you can use a plugin of your choice.


Download and install the plugin on your website. Once installed and activated, you will see an option to configure the plugin.

When you click on it, you will be redirected to the settings page of Insert Headers and Footers. Here you can enter scripts or code in Header or Footer and save the changes.


Once you have completed the steps you can see the banner appear on your website.

These were all the steps involved in the installation of CookieYes code on Wordpress. 

Make Your Website GDPR Compliant With CookieYes

CookieYes is a new and easy solution to make your website comply with the GDPR Cookie Law from Cookie Law Info. Join the 900,000+ website using our solutions now!

Sowmya G

Sowmya is a technical content writer for Cookie Law Info. She writes mostly about online privacy and privacy laws. When she's not writing, she likes to sing and read books.