Implementing CookieYes on MODX

Last updated on June 2, 2021

CookieYes is a cloud-based application for cookie compliance. Using CookieYes, you can add a cookie consent notice to makes your website compliant with privacy laws like GDPR, ePrivacy Directive, and CCPA for cookies. We will guide you through the steps to implement CookieYes on a website made with the MODX platform.

You can install CookieYes in just three steps: Sign up, copy installation code, and paste it on your website!

Let us see how we can set it up on MODX.

Copy Installation Code From CookieYes

After you sign up on CookieYes, you will see a few options for the cookie consent banner template. After you choose the banner template, click Next Step.

cookieyes on modx -setup

On the page, you will see the installation code for the website. Click Copy code to copy the code to the clipboard.

cookieyes code on modx
CookieYes copy code

You can also get the code later from the CookieYes dashboard. Just click Get Script from the Site Settings page and copy the code.

get cookieyes script for modx
CookieYes ‘Get Script’

To activate the cookie consent banner on your website, you must paste the copied code between the <head> and </head> tags of the site’s source code. For this, follow the below steps:

  • Log in to the admin panel of your MODX website and select the Elements tab from the sidebar on the left side.
CookieYes on MODX - templates
MODX templates settings
  • Select BaseTemplate from the Templates drop-down list or create a new template. On the Create/edit template tab, paste the CookieYes code in the Template code (HTML) section between the <head> and </head> tags. Then, click Save to publish the changes.
modx editor with cookieyes code
MODX HTML editor
  • Check the homepage of the website to see the banner activated.
modx homepage with cookieyes banner
MODX homepage

Further CookieYes Configuration

You can customize the banner from the CookieYes dashboard after (or before) you activate the banner on the website. You can select or modify the content, color, language, or behavior of the banner. The dashboard will also give you an overview of the cookie scan result and the recent consent logs. You can also find other settings such as Manage Cookies to block third-party cookies prior to user consent and Privacy Policy and Cookie Policy to generate privacy policy and cookie policy pages for the website.

cookieyes dashboard
CookieYes dashboard

Read the setup guide to learn more.

If you have any issues or need our help, get in touch with our support team.

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