--- title: "How to Add a Cookie Policy to Shopify" subtitle: "Generate and add a cookie policy on your Shopify website in minutes with our lifetime free cookie policy generator." source: "https://www.cookieyes.com?utm_source=cy_llm_widget&utm_medium=cy_llm_widget&utm_campaign=cy_llm_widget" --- # How to Add a Cookie Policy to Shopify This guide will walk you through how you can generate and add a cookie policy page on your Shopify store. A cookie policy is a document that provides detailed disclosure about the types of cookies used on a website and their purposes. It will help your website comply with privacy laws like the GDPR and ePrivacy Directive. To begin with, [Sign up on CookieYes and try it for free](https://app.cookieyes.com/trial?plan=pro-monthly&ref=dshopifycpg). Note After you sign up, you will be directed to the installation screens. You can install the cookie banner to get GDPR compliant for your use of cookies. If you want to create a cookie policy first, then skip the installation and proceed to the app dashboard. You can also follow the step-by-step instructions below to easily add a cookie policy to your Shopify website. ## Generate a Cookie Policy in CookieYes ### Step 1: Access the Cookie Policy Generator From your app’s top navigation bar, click on More and select Cookie Policy Generator from the dropdown menu. ![Dashboard: Cookie Policy Generator](https://www.cookieyes.com/wp-content/uploads/2025/08/dashboard-scaled.png) ### Step 2: Configure Language Settings - Select your primary language. The chosen language will be highlighted with a checkmark. - (Optional) Enable Generate policy in multiple languages to add more languages. This feature is available on Basic, Pro and Ultimate plans. - Click “Save draft” to save your progress or “Next” to continue. ![Language settings](https://www.cookieyes.com/wp-content/uploads/2022/11/language-scaled.png) ### Step 3: Add About Cookies Details In the About Cookies section, edit the heading and description to explain what cookies are and why your website uses them, either by keeping the default text or customising it to better match your website’s practises. ![About Cookies](https://www.cookieyes.com/wp-content/uploads/2022/11/about-cookies-scaled.png) ### Step 4: Add Use of Cookies Details In the Use of Cookies section, describe how your store uses cookies, such as for functionality, analytics, performance, or advertising. You can keep the default text if it is suitable, or update it for accuracy. Once done, use the Preview cookie policy to review the formatting and tone before proceeding. ![Use of cookies](https://www.cookieyes.com/wp-content/uploads/2022/11/use-of-cookie-scaled.png) ### Step 5: Review and Edit Types of Cookies In the Types of Cookies section, you will see a list of cookies from your most recent website scan. If needed, you can refresh the list by clicking Scan again to capture any new cookies. The cookies are organised into categories such as Necessary, Functional, Analytics, Performance and Advertisement. Review each entry carefully to verify the cookie name, duration, and purpose for accuracy. ![Types of cookies](https://www.cookieyes.com/wp-content/uploads/2022/11/Type-of-cookies.png) ### Step 6: Set Cookie Preferences and Generate the Policy In the Cookie Preferences section, keep the default heading (Manage cookie preferences) and description, or update them with instructions specific to your users. Set the Effective Date for the cookie policy. Preview the policy to verify the details and when confirmed, click Generate cookie policy to generate the policy. ![Cookie preferences](https://www.cookieyes.com/wp-content/uploads/2022/11/cookie-preference-scaled.png) Note The Revisit consent widget enables your website visitors to manage their cookie preferences. You can remove the code in the field if you don’t want a widget to be displayed. GDPR Compliance To be GDPR compliant for your use of cookies, you should install a cookie banner on your website and obtain consent before deploying cookies on your visitor’s devices. To install the banner, from the top navigation bar, click on Advanced Settings > Banner Settings > Installation Code > Copy code Refer: [How to add cookie banner on Shopify](https://www.cookieyes.com/documentation/cookie-banner-shopify/) ## Add the Cookie Policy to Shopify After generating your cookie policy, review the preview in your selected language(s). When ready, click Add policy to site in the top-right corner. ![Add policy to site](https://www.cookieyes.com/wp-content/uploads/2025/08/add-policy-to-site-scaled.png) A modal window will appear. Follow the steps below to add your policy: ### Step 1: Copy the Policy Code - Choose your preferred method: Option A – Code Snippet (Recommended): Keeps your policy automatically updated. Option B – HTML Format: Requires manual updates whenever the policy changes. - Select your preferred language. - Click the Copy code button for your chosen method. Tip Use the Send code to a teammate option if someone else manages your website content. ### Step 2: Create a Policy Page in Shopify - Log in to your Shopify account. - Go to Online Store > Pages. - Click Add Page. Enter the Title for the page and click Save. ![Image](https://www.cookieyes.com/wp-content/uploads/2022/11/add-page-1-copy-1.gif) ### Step 3: Embed the Policy Code #### Option A: Code Snippet Method If you selected the Code Snippet Method, follow the steps below: - In the right panel of the Pages, click the View Template (eye icon) for the new page. - In the theme editor, go to Template > Add Section and select Custom Liquid from the left panel. - Paste the JavaScript snippet into the Liquid code section and click Save. #### Option B: HTML Format Method If you selected the HTML Format Method, follow the steps below: - In the page editor, click the <> (Show HTML) icon in the toolbar. - Paste the HTML into the Content field and click Save. Note If you want to remove the “Cookie Policy” heading that appears at the top of the page, delete the following line from the HTML code:

Cookie Policy

Your cookie policy page will be live on your Shopify store. You can then link your cookie policy to your website footer or link it within your cookie banner. ## Conclusion By following this guide, you can easily generate a cookie policy in CookieYes and publish it on your Shopify store. A properly configured cookie policy not only builds trust with your customers but also helps your store meet privacy requirements such as the GDPR and ePrivacy Directive. With CookieYes, you have a flexible, compliant and up-to-date solution to manage cookies and privacy transparency on your Shopify store.