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.
On the page, you will see the installation code for the website. Click Copy code to copy the code to the clipboard.
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.
Add CookieYes Installation Code in Kartra
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:
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.
Click Apply to save.
To paste the code to the source code, select SETTINGS from the left-side panel, and select Tracking 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.async = “true”;
var s = document.getElementsByTagName(“script”);
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.
You have successfully implemented the CookieYes cookie banner on your Kartra website!
Further CookieYes Configuration
Read the setup guide to learn more.