fbpx

Implementing CookieYes on WordPress

Last updated on December 23, 2021

CookieYes helps in creating a cookie consent banner and manages the user consent for websites. You can easily install the cookie banner on your website. For this, you need to add the CookieYes installation code in the source code of your website. 

This article will help you implement the CookieYes banner on your WordPress website. 

Copy Installation Code

Copy the installation code that will be available to you when you sign up for a CookieYes account.

cookieyes code wordpress

You can also copy the code from the dashboard. On the left sidebar, click Site Settings, then click the Get Script button on the right side and copy the code from the popup.

The next step is to add the copied code to the website.

Add Code to Site

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.

  1. Add code by editing your theme directly
  2. Add code using a plugin

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 and paste the code between the <head> </head> tags of your website prior to all other scripts.

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

Using a Plugin

Another method is to use 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.

You will find many plugins that will let you add the custom code to the header and footer of your website without the need to edit the theme file. Download and install the plugin on your website. Once activated, there will be options to configure the plugin, where you can add the code.

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

cookieyes banner on wordpress

Watch this video guide about how to install the CookieYes banner on your WordPress website.

After installing the banner, the next step is to customize and configure it and manage cookie consent on your website. Read more about it in the CookieYes setup guide.

In case of any issue in the setup of CookieYes, please contact our support.

just a background image

We Will Gladly Help You

If you have any issues or queries regarding CookieYes implementation,
feel free to contact our support team.

just a background image