How to Add a Cookie Policy to Winter CMS

Last updated on October 9, 2026

This guide will walk you through how you can generate and add a Cookie Policy page on your Winter CMS website. A Cookie Policy is a document that provides detailed disclosure about the types of cookies used on a website and their purposes. It can help your website meet transparency requirements under privacy laws such as the GDPR and the ePrivacy Directive.

Prerequisites

  • A CookieYes account (if you don't have one, sign up for free).
  • Admin access to your Winter CMS website.

Note

After you Sign up, you will be directed to the installation screens. You can install the cookie banner to support GDPR compliant for your use of cookies. If you prefer to create a Cookie Policy first, skip the installation and go directly to the CookieYes Dashboard.

  1. Log in to your CookieYes account.
  2. From the top navigation bar, select Legal Policies.
  3. From the Cookie Policy section, click + Generate.
legal_policies_dashboard.png

Step 2. Configure language settings

  • Select your primary language. The chosen language will appear 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

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. You can keep the default text or edit it to match your website’s practices.

about-cookies

Step 4. Add use of cookies details

In the Use of cookies section, describe how your website uses cookies (for example, functionality, analytics, performance, or advertising). You can keep the default text or update it for accuracy.

When ready, click Preview cookie policy to review the formatting and tone before proceeding.

use-of-ccokies

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

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

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. For more details, refer to the guide.

After you generate your cookie policy, review the preview in each selected language. Click Add policy to site to open a modal with ways to add your cookie policy.

add-policy-to-site

Adds the cookie policy using your existing cookie banner script. The published policy updates automatically whenever you make changes in CookieYes.

Step 1: Select One-click install

In the modal, select One-click install.

Step 2: Create a policy page in Winter CMS

  1. Log in to your Winter CMS website.
  2. In the dashboard, go to CMS > Pages.winter-cms-add-page.webp
  3. Click + Add.click-add.webp
  4. Enter Cookie Policy in Title and /cookie-policy in URL. The File Name field fills in automatically.
  5. Click Save.click-save.webp
  6. Copy the URL of the cookie policy page and paste it into the CookieYes web app.paste-url.png

Step 3: Embed the policy code

  1. In the page editor, click the Markup tab.
  2. Paste <div id="cky-auto-cookie-policy"></div> into the editor, then click Save.save-after-pasting.png

Step 4: Publish and verify

  1. Return to the CookieYes web app.
  2. Click Publish cookie policy.publish-cookie-policy.png
  3. Open the live cookie policy page on your Winter CMS website.

Your cookie policy page is now live on your Winter CMS website. You can link the cookie policy in your website footer, and within your cookie banner so visitors can read it before they give consent.

Option 2: Hosted URL

Displays your cookie policy through a hosted link. The policy updates automatically whenever you make changes in CookieYes.

Step 1: Copy the hosted URL

  1. In the modal, select Hosted URL.
  2. Click Copy URL.
hosted-url.png

By default, the policy uses the visitor's browser language. To set a specific language, add its code to the end of the URL. For example, /fr for French:

https://legal.policygenerators.com/cookie-policy/xxxxxxxxxxxxxxxxx/fr

Tip

If someone else manages your website, click Send URL to a teammate to share the link with them.

These steps add the link to your site footer, though you can place it anywhere on your site.

  1. Log in to your Winter CMS website.
  2. In the dashboard, go to CMS > Partials.
  3. Open your footer partial.
  4. Add the following line where you want the link to appear, replacing HOSTED_URL with the URL you copied:<a href="HOSTED_URL">Cookie Policy</a>
  5. Click Save.

If you use the Winter.Pages plugin, go to Pages > Menus and add the link to your footer menu instead.

Option 3: Code snippet

Adds the cookie policy using a JavaScript snippet. The published policy updates automatically whenever you make changes in CookieYes.

Step 1: Copy the code snippet

  1. In the modal, select Code snippet.
  2. Click Copy code.
code-snippet.png
Tip

Use Send code to a teammate if someone else manages your website content.

Step 2: Create a policy page in Winter CMS

  1. Log in to your Winter CMS website.
  2. In the dashboard, go to CMS > Pages.winter-cms-add-page.webp
  3. Click + Add.click-add.webp
  4. Enter Cookie Policy in Title and /cookie-policy in URL. The File Name field fills in automatically.
  5. Click Save.click-save.webp

Step 3: Embed the policy code

  1. In the page editor, click the Markup tab.
  2. Paste the JavaScript snippet into the editor, then click Save.save-after-pasting.png

Option 4: HTML format

Adds the cookie policy as static HTML. You update the page manually whenever the policy changes.

Step 1: Copy the HTML

  1. In the modal, select HTML format.
  2. Select your preferred language.
  3. Click Copy code.
Tip

Use Send code to a teammate if someone else manages your website content.

Step 2: Create a policy page in Winter CMS

  1. Log in to your Winter CMS website.
  2. In the dashboard, go to CMS > Pages.winter-cms-add-page.webp
  3. Click + Add.click-add.webp
  4. Enter Cookie Policy in Title and /cookie-policy in URL. The File Name field fills in automatically.
  5. Click Save.click-save.webp

Step 3: Add the HTML

  1. In the page editor, click the Markup tab.
  2. Paste the HTML into the editor, then click Save.save-after-pasting.png
Note

To remove the Cookie Policy heading at the top of the page, delete the following line from the HTML code: <h1 class="cookie-policy-h1">Cookie Policy</h1>

Conclusion

Your cookie policy page is now live on your Winter CMS website. You can link the cookie policy in your website footer, and within your cookie banner so visitors can read it before they give consent.

Was this article helpful?

Have more questions?

Reach out to us and we'll answer them.

Contact us