Implementing CookieYes on Shopify

If you are looking to make your Shopify website GDPR compliant for cookies, then you have come to the right place. In this article, you will learn how to implement CookieYes on Shopify. Using CookieYes, you can get a fully customizable cookie banner for your website, and also manage cookie consent and block cookies to implement prior consent. 

Now, let's get started!

Get Installation Code From CookieYes

The first step is to copy the installation code after registering on CookieYes. You can see the code when you reach the “publish” step during the setup as shown in the screenshot below. Copy this code.

You can also get the code from the CookieYes dashboard (after you finish the set up). Just click Get Script from the Site Settings page.

CookieYes Dashboard

Add Code in Shopify

The next step is to add the copied code to your website to activate the banner. For this, you need to paste the copied code between the <head> and </head> tags within your website source code. For this, follow the below steps:

  1. On your Shopify account, go to Online Store under ‘SALES CHANNELS.’

    Shopify Account Settings

  2. Select Themes. You will see your layout theme (in this case, ‘Debut’). From there, click the option Actions and choose Edit Code from the drop-down menu.

    Shopify Layout Settings

  3. Under Layout, select {/} theme.liquid.

  4. Paste the copied code between the <head> and </head> tags (here it is pasted just before the </head> tag).

  5. Click Save. This will add the CookieYes banner to your Shopify website.

  6. Now check the front-end of your website to see if the banner is active.

Further CookieYes Configuration

From the CookieYes dashboard, you can further customize the banner. There you can also see the scan report of your website, which shows the details of all the cookies in use and the consent log.

CookieYes Dashboard

Read the setup guide to learn more.

If you have any issues or need our help, head over to the contact page to get in touch with our support team.