How to Generate a Cookie Policy in CookieYes

Last updated on September 1, 2025

This guide will walk you through how you can generate and add a cookie policy page on your website. A cookie policy is essential for informing website visitors about the use of cookies and ensuring compliance with privacy regulations such as GDPR, CCPA and other data protection laws. CookieYes makes it easy to generate a cookie policy tailored to your website’s cookie usage.

To begin with, Sign up on CookieYes and try it for free.

Steps to Generate a Cookie Policy

From the top navigation menu, click on More and select Cookie Policy Generator from the dropdown menu.

Dashboard: Cookie Policy Generator

Step 2: Language settings

Select the Primary Language

Choose your preferred primary language for the cookie policy by clicking one of the available options. The selected language will be highlighted with a checkmark.

Primary Language Setting

Tip

Select a language that matches the main content of your website for consistency and a better user experience.

Enable Multiple Languages (Optional)

Toggle on the Generate policy in multiple languages option. Once enabled, additional language options will appear. Select one or more additional languages from the list.

Note

You can select multiple languages, but you’ll need to upgrade your plan before generating the policy. This feature is available only for Basic, Pro, and Ultimate subscription plans.

Multiple Languages

Save and Continue

After selecting your language preferences, click Save draft if you want to save your progress and return later or click Next to proceed to the next step: About cookies.

Save draft & Next button

Step 3: About Cookies

In this step, you can define the introductory section of your Cookie Policy by explaining what cookies are and why your website uses them.

Heading

Use the Heading field to specify a clear title for this section. You may keep the default text or customise it to match your website’s style and tone.

Add or Edit the Description

In the Description field, provide a clear explanation of cookies and their purpose. The default text covers what cookies are, why your website uses them and how they benefit users (such as improving functionality, security and performance). Edit or expand the text to ensure it matches your website’s practices.

Preview the Cookie Policy

Click Preview cookie policy (bottom left of the screen) to review how your content will appear to users. Use this option to confirm clarity, formatting and tone before proceeding.

Preview Cookie policy

Continue

Click Next to move to Use of cookies.

Step 4: Use of Cookies

In this step, you’ll describe how your website uses cookies and explain their purpose to your users.

Heading

In the Heading field, enter a clear and user-friendly title. You can either use the default heading as is or modify it to match your site’s tone and audience.

Description

Use the Description field to explain in detail how your website uses cookies. The default text includes information on the use of first-party cookies (primarily for website functionality) and the role of third-party cookies (such as analysing site performance, tracking user interactions, enhancing security and providing relevant ads). You may update the description as needed to ensure accuracy for your website’s practices.

Save and Continue

When you’re ready, click Next to proceed to the next step, Types of Cookies.

Use of Cookies

Step 5: Types of Cookies

Heading

In the Heading field, you can keep the default title “Types of cookies we use” or edit it to better reflect your website’s tone and your audience’s expectations.

Type of cookies

Review the cookie list

The cookie list shown here is based on your last website scan. To refresh the list, click Scan again. You’ll be redirected to the Cookie Manager, where you need to click Scan now to run a new scan.

Scan again

Check cookie categories and details
The list organises cookies into categories such as:

  1. Necessary – cookies required for basic site functionality and security.
  2. Functional – cookies enabling features like content sharing or feedback collection.
  3. Analytics – cookies for tracking and analysing visitor interactions.
  4. Performance – cookies for monitoring site performance and improving user experience.
  5. Advertisement – cookies are used to deliver relevant ads.

Each entry includes details about the cookie’s name, duration and purpose. Confirm that the descriptions are clear and accurate.

Proceed

After reviewing the cookie list, click Next to proceed to Cookie Preferences.

Heading

Use the Heading field to title this section. The default text is “Manage cookie preferences”, but you can update it to align with your site’s tone or user expectations.

Revisit consent widget code

This section includes a pre-generated HTML snippet that enables users to reopen the consent banner after initial interaction.

Description

The Description box explains how users can manage their cookie settings. It also includes helpful links to official browser support pages for managing or deleting cookies. You can customise this description to include additional browser types, site-specific instructions or translations, depending on your audience.

Set the effective date

This is the Effective Date of your cookie policy. By default, it shows the current date, but you may change it if needed. This date indicates when your cookie policy comes into effect.

Finalise or Save your policy

Click Generate cookie policy to complete the process and publish the cookie policy, or click Save draft if you want to continue editing later without publishing.

Cookie Preferences: Generate cookie policy

Review the generated Cookie Policy Preview in your selected language(s). When you’re ready, click Add policy to site in the top-right corner.

Add policy to site

Add the Policy to Your Site

After clicking Add policy to site, a modal window will appear prompting you to choose a method to embed the policy.

Add cookie policy to your website modal

You have two options:

Option 1: Code Snippet

Automatically keeps your cookie policy updated whenever changes are made in the CookieYes platform.

Code Snippet method

Steps:

  1. Choose the preferred language.
  2. Click Copy code to copy the JavaScript snippet provided.
  3. Paste the code into the required section of your website’s HTML.

Option 2: HTML Format

Use this option if you prefer to manually update the website every time you modify the cookie policy.

HTML format method

Steps:

  1. Select the language.
  2. Click the Copy code to copy the generated HTML code.
  3. Paste it into the desired location on your site.

Tip

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

Conclusion

You’ve successfully generated, published your cookie policy and added it to your website. With these steps, your visitors can easily understand how cookies are used on your site, and you can meet important privacy compliance requirements such as GDPR, CCPA and other data protection laws.

By embedding the policy directly into your site, you ensure it’s easily accessible and kept up to date, especially if you choose the recommended Code Snippet method. This not only strengthens legal compliance but also builds user trust by providing transparency about your data practices.

Was this article helpful?

Have more questions?

Reach out to us and we'll answer them.

Contact us