# How to Generate a Privacy Policy for Your Website

Follow this step-by-step CookieYes guide to generate a GDPR and CCPA compliant privacy policy for your website in minutes.

---

**Categories:** , 
**Published:** August 12, 2026
**URL:** https://www.cookieyes.com/documentation/generate-privacy-policy/

---

A privacy policy page is legally required and will also help your website stay compliant with privacy laws like GDPR, CCPA, and ePrivacy Directive. This guide will walk you through how you can generate a custom privacy policy for your website in minutes.
To begin with, [**sign up on CookieYes and try it for free**](https://app.cookieyes.com/trial?plan=pro-monthly&ref=Document_PPGCookieYes).

> **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 want to create a privacy policy first, then skip the installation and proceed to the app dashboard.
>

## How to generate a privacy policy in CookieYes

## Step 1. Access the privacy policy generator

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

![](https://assets.cookieyes.com/privacy_policy_in_legal_policy_page_7b919f6288.png)

## Step 2. Configure language preferences

- **Select the primary language**
-
  - Choose the primary language for your privacy policy.
- **Generate policy in multiple languages**
-
  - Select the additional languages you want to generate the privacy policy in. This feature is available only on Basic, Pro and Ultimate plans.
- Click **Save draft** to save your progress or **Next** to continue.

![language preferences](https://assets.cookieyes.com/2026_06_09_14_54_47_1_1_rtou_e5fd05caba.gif)

## Step 3. Add company details

**Company details** has two sections: **Contact information** and **Business details**.
In **Contact information**, provide name (either company or individual), website URL, email address, contact URL (if applicable), and full address. Click **Next** to navigate to **Business details.**

![contact information](https://assets.cookieyes.com/image_1_1juh_8df5fed983.png)

In **Business details**, provide the following details.
**Do you have users in EU/EEA?**
Select **Yes** or **No** to indicate whether your website has users in the **EU or EEA**. Selecting **Yes** includes GDPR-specific clauses in your privacy policy.

> **Note**

> The remaining questions in this section apply only to websites with users in California. If you do not have users in California, select **No** for the next question and click **Next**.
>

**Do you have users in California?**
Select **Yes** or **No** to indicate whether your website has users in **California**. Selecting **Yes** displays follow-up questions that determine whether the CCPA/CalOPPA applies to your business.

> **Note**

> The follow-up questions below are available only on the **Basic**, **Pro**, and **Ultimate** plans.
>

If you select **No**, no additional questions appear.
If you select **Yes**, answer the following questions:
- **Are you a for-profit organisation?**
-
  - If you select **No**, no additional questions appear, as the CCPA applies only to for-profit businesses.
  - If you select **Yes**, the following question appears:
  -
    - **Do you cross one or more of the following thresholds?** $25 million or more in annual gross revenue, data processing for 100,000 or more customers, or 50% or more of revenue from selling customers' personal information (including data shared for cross-context behavioral advertising).
    -
      - If **Yes**, the CCPA applies to your business. A **Disclosure of data** page appears later in the flow.
      - If you select **No**, a follow-up question appears: **Do you want to include CCPA-compliant clauses even if not legally required?**
      -
        - If you select **Yes**, the **Disclosure of data** page is added to the flow.
        - If you select **No**, no additional questions appear in this step.
- **Do you sell or share the personal information of users?**
-
  - Selecting **Yes** prompts you to provide the categories of personal information that are sold or shared and, for each category, the categories of third parties to which the information is sold or shared. The **Disclosure of data** page is also added to the flow.
  - If you select **No**, no further questions appear in this step.
Click **Next** to proceed to **Step 4**.

![business details](https://assets.cookieyes.com/image_2_6z79_675cb7736f.png)

## Step 4. Collection of data

**Collection of data** has two sections: **Personal information** and **Additional information**.
In **Personal information**, specify the types of personal or sensitive personal information you collect. Click **Next** to navigate to the **Additional information **section.

![personal information](https://assets.cookieyes.com/image_3_hthy_5c13786a6b.png)

In **Additional information**, provide the following details:
- Specify whether you use cookies or other tracking technologies. If you select **Yes**, add a link to your cookie policy.
- Describe how you respond to **Do Not Track** requests.
- Specify whether you collect information about users below the age of 16.
- Select the legal bases for collecting the data.
- Specify whether you collect information about users below the age of 13.
- Specify whether you have a process that allows users to review and request changes to their information. If you select **Yes**, describe how users can review or update their data.
Click **Next** to proceed to **Step 5**.

![additional information](https://assets.cookieyes.com/image_4_c6sr_1f723b49a1.png)

## Step 5. Use of data

In **Use of data**, select the options that describe how the information you collect is used. Click **Next** to proceed to **Step 6**.

![use of data](https://assets.cookieyes.com/image_5_yud0_ee8c349f07.png)

## Step 6. Disclosure of data

In **Disclosure of data**, provide details about the categories of users whose information is sold or shared, the request process for users to delete, correct, or access their information, sensitive information disclosures, and any third-party disclosures made in the past 12 months.

![disclosure of data](https://assets.cookieyes.com/image_6_t36d_e9689a49c2.png)

> **Note**

> **Disclosure of data** appears only if you selected the relevant options in the **Business details** section of the **Company Details** page, so it **may not be** part of every user's setup.
>

## Step 7. Data retention

In **Data retention**, specify how long the information you collect is retained. Click **Next** to continue.

![data retention](https://assets.cookieyes.com/image_7_a02k_a567b6d5d4.png)

## Step 8. Miscellaneous disclosures

In **Miscellaneous disclosures**, provide details about cross-border data transfers (to non-adequate countries or regions outside the EU), automated data processing, your data protection officer's contact details, and your data controller or representative (if applicable). Click **Next** to continue.

![miscellaneous disclosures](https://assets.cookieyes.com/image_8_d5ub_34589269dd.png)

## Step 9. Preview and generate the privacy policy

You can now preview your privacy policy in multiple languages. Click **Generate privacy policy** to generate the policy.

![generate privacy policy](https://assets.cookieyes.com/image_9_cifw_6446c2a545.png)

Click **Add policy to site** to see the methods for adding the privacy policy to your website.

![add policy to site](https://assets.cookieyes.com/image_10_2tdn_45420498fa.png)

## Step 10. Add the privacy policy to your website

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

![add privacy policy to your website](https://assets.cookieyes.com/image_11_1op3_b44711d830.png)

You have two options:

## Option 1: Code snippet

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

![code snippet method](https://assets.cookieyes.com/image_12_splu_1689ef930c.png)

**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](https://assets.cookieyes.com/image_13_6070_2f226b4ddf.png)

**Steps:**
1. Select the language.
2. Click **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.
>

## Step 11. Complete privacy policy generation

Return to CookieYes and click **Complete generation**. In the popup that opens, click **Yes, I have installed**.

![complete generation](https://assets.cookieyes.com/2026_06_09_16_43_42_1_1_q4sy_a2d7259556.gif)

Your privacy policy page will be live on your website. You can then link your privacy policy to your website footer.  
- If you are facing issues with the Privacy Policy Generator, [contact technical support](https://www.cookieyes.com/support/?query=troubleshoot).
- To help meet privacy law requirements, you can also [add a free cookie banner on your website](https://www.cookieyes.com/documentation/add-cookie-banner-to-website/) and obtain cookie consent for deploying cookies on your website visitor’s devices.
- To update your privacy policy after publishing, see [How to Edit a Privacy Policy](https://www.cookieyes.com/documentation/edit-privacy-policy/).

## Conclusion

You've successfully generated and published your privacy policy and added it to your website. With these steps, your visitors can clearly understand how their personal information is collected and used, and you can meet important privacy compliance requirements such as the GDPR, CCPA, and other data protection laws.
By embedding the privacy policy directly into your website using either the **Code snippet method** or the **HTML format method**, you ensure it is easily accessible and kept up to date. This not only strengthens legal compliance but also builds user trust by providing transparency about your data practices.


---

## Structured Data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Article",
      "headline": "How to Generate a Privacy Policy for Your Website",
      "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://www.cookieyes.com/documentation/generate-privacy-policy/"
      },
      "url": "https://www.cookieyes.com/documentation/generate-privacy-policy/",
      "publisher": {
        "@type": "Organization",
        "name": "CookieYes",
        "url": "https://www.cookieyes.com",
        "logo": {
          "@type": "ImageObject",
          "url": "https://assets.cookieyes.com/cookieyes.png",
          "width": 250,
          "height": 60
        }
      },
      "description": "Follow this step-by-step CookieYes guide to generate a GDPR and CCPA compliant privacy policy for your website in minutes.",
      "datePublished": "2026-07-07T04:52:55+00:00",
      "dateModified": "2026-08-12T09:03:12+00:00",
      "author": {
        "@type": "Person",
        "name": "CookieYes Doc Team"
      },
      "image": [
        "https://assets.cookieyes.com/cookieyes.png"
      ]
    },
    {
      "@type": "BreadcrumbList",
      "@id": "https://www.cookieyes.com/documentation/generate-privacy-policy/#breadcrumb",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://www.cookieyes.com/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Documentation",
          "item": "https://www.cookieyes.com/documentation/"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "Features Documentation",
          "item": "https://www.cookieyes.com/category/documentation/features/"
        },
        {
          "@type": "ListItem",
          "position": 4,
          "name": "Consent Management",
          "item": "https://www.cookieyes.com/category/documentation/features/consent-management/"
        },
        {
          "@type": "ListItem",
          "position": 5,
          "name": "How to Generate a Privacy Policy for Your Website"
        }
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://www.cookieyes.com/#website",
      "url": "https://www.cookieyes.com/",
      "name": "CookieYes",
      "description": "CookieYes is a Google-certified consent management platform that helps businesses comply with GDPR, CCPA, and other global privacy laws.",
      "inLanguage": "en-US",
      "publisher": {
        "@id": "https://www.cookieyes.com/#organization"
      },
      "potentialAction": {
        "@type": "SearchAction",
        "target": {
          "@type": "EntryPoint",
          "urlTemplate": "https://www.cookieyes.com/?s={search_term_string}"
        },
        "query-input": {
          "@type": "PropertyValueSpecification",
          "valueRequired": true,
          "valueName": "search_term_string"
        }
      }
    },
    {
      "@type": "Organization",
      "@id": "https://www.cookieyes.com/#organization",
      "name": "CookieYes",
      "url": "https://www.cookieyes.com/",
      "logo": {
        "@type": "ImageObject",
        "@id": "https://www.cookieyes.com/#/schema/logo/image/",
        "inLanguage": "en-US",
        "url": "https://assets.cookieyes.com/cookieyes.png",
        "contentUrl": "https://assets.cookieyes.com/cookieyes.png",
        "width": 19701,
        "height": 3176,
        "caption": "CookieYes"
      },
      "image": {
        "@id": "https://www.cookieyes.com/#/schema/logo/image/"
      }
    }
  ]
}
```
