How to Add a Cookie Policy in WordPress?

This step-by-step guide will walk you through how you can create and add a personalized cookie policy for your WordPress site in minutes.

To begin with, sign up on WebsitePolicies or login if you already have an account.

Create a Cookie Policy For Your WordPress Website

Step 1: From your dashboard, click on the “Create new policy” button and choose “Cookie Policy.”

Policy generator dashboard with the "Create new policy" button on a white background.

Step 2: Start filling out the questionnaire and click “Next” to continue to the next set of questions to complete creating your cookie policy.

"Create cookie policy" questionnaire on a white background.

Step 3: Once the cookie policy is generated, click on the “Add to my website” button. You may also customize the policy’s appearance and add custom clauses if you prefer before adding it to your site.

Completed cookie policy with different options such as "add to my website," "re-run questionnaire", "customize style," "custom clauses," and "languages" buttons in white background.

Step 4: Choose from the available options to add the policy to your WordPress website.

Four options of adding cookie policy on a website in white background.

Embed a Cookie Policy on Your WordPress Site

Step 1: Log in to your WordPress dashboard. On the left-hand menu, go to “Pages” and click “Add New Page.”

WordPress dashboard with highlighted "Pages" section.

Step 2: Under the “Add a page” menu, choose “Blank page” and enter “Cookie Policy” as a page title.

"Add a page" pop-up menu with a "Blank page" button.

Step 3: A “+” icon appears as you hover on the page. Click it to open all the block options, then find and select “Custom HTML.”

"Add block" feature with "Custom HTML" block selected.

Step 4: Retrieve your cookie policy and copy the code under “1. Embed policy on a page” by clicking “Copy to clipboard.”

"Embed policy on a page" option with codes and a "Copy to clipboard" button in green.

Step 5: Return to your WordPress account. While on the “Cookie Policy” page, paste the code into the HTML block, and click “Save draft.”

WordPress Editor with a textbox filled with cookie policy codes.

Link to a Cookie Policy From Your WordPress Website

Step 1: On the side panel of your WordPress dashboard, go to “Appearance” and click “Menus.”

"Appearance" and "Menus" tab highlighted.

Step 2: On the “Add menu items,” click “Custom Links.”

"Menus" page with highlighted "Custom links" section.

Step 3: Retrieve your cookie policy and copy the code under “3. Link to policy” by clicking “Copy to clipboard.”

"Link to policy" option with cookie policy codes.

Step 4: Return to your WordPress site. Paste the code under the “URL” textbox and type “Cookie Policy” in the “Link Text” field. Once done, click the “Add to Menu” button.

"Custom links" tab with a "Link Text" textbox named "Cookie Policy."

Copy & Paste a Cookie Policy to Your WordPress Site

Step 1: In your WordPress dashboard, go to the side panel and click “Pages,” then select “Add New Page.”

WordPress dashboard with highlighted "Pages" section.

Step 2: Choose “Blank page” under the “Add a page” menu, and enter “Cookie Policy” for the title.

"Add a page" pop-up menu with a "Blank page" button.

Step 3: Retrieve your cookie policy and copy the code under “4. Copy & paste policy” by clicking “Copy to clipboard.” You can choose from either “HTML format” or “Plain text format.”

"Copy & paste policy" option with cookie policy codes.

Step 4: Return to your WordPress site. While on the “Cookie Policy” page, paste the code into a “Paragraph” block. Click “Save draft” once done.

WordPress Editor with a textbox containing the cookie policy.