fbpx

Implementing CookieYes on Kartra

Last updated on June 16, 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 Kartra 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 Kartra.

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

Please note that for Kartra, you only need the URL of the CookieYes script file, i.e. “https://cdn-cookieyes.com/client_data/xxxxxxxxxxxxxxxxxxxxxxxx.js”.

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

cookieyes script on shopify kartra kajabi etc

To activate the CookieYes cookie banner on your website, you should paste the copied code to its source code.

Let us see how you can do it.

After you log in to your Kartra account, click My Pages from the dashboard. Then, select a page of the site you are working on and click on Edit as shown:

Kartra edit page

After confirming the edit from the dialog box, the app will open the edit settings where you can make changes to your web pages.

From the left-side panel, select SITES and activate the Tracking Code toggle and then select Apply to all pages in the site from the EXPORT TO OTHER PAGES menu. Doing this will activate the code on all pages of the site.

Enable global elements export in Kartra

Click Apply to save.

To paste the code to the source code, select SETTINGS from the left-side panel, and select Tracking Code.

kartra settings to paste cookieyes code

Here, paste the following code into the header tag.

var cky = document.createElement(‘script’);
cky.src = “https://cdn-cookieyes.com/client_data/xxxxxxxxxxxxxxxxxxxxxxxx.js”;
cky.type = “text/javascript”;
cky.async = “true”;
var s = document.getElementsByTagName(“script”)[0];
s.parentNode.insertBefore(cky, s);

Note: The “https://cdn-cookieyes.com/clien_data/xxxxxxxxxxxx.js” is the URL of the CookieYes javascript file.

kartra paste cookieyes code

After pasting the code, click Apply to save.

Now, go to Action in the top-right of the app, and here, you can click Preview to verify the banner activation and check how it looks on the site. You can save the changes by clicking Save progress and then Publish live if the page is not live.

Kartra preview save publish page with cookieyes banner

You have successfully implemented the CookieYes cookie banner on your Kartra website!

Kartra website with cookieyes banner
A Kartra website with CookieYes cookie banner

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.

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