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 create new policy button in green

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 with next button in green

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 button in green, re-run questionnaire button, customize style button, custom clauses button and delete policy

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

four different options on how to add your cookie policy

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 and an add a new page selected

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 highlighted blank page

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.”

highlighted plus button in black with custom HTML 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 (recommended) 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 highlighted textbox filled with codes and save draft button highlighted on upper right

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 tab with highlighted menus

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

menus page with highlighted custom link 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 codes and a copy to clipboard button in green

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.

highlighted custom links tab with a URL textbox and textbox named terms and conditions underneath is add to menu button

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 and an add a new page selected

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 highlighted blank page

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 codes and a copy to clipboard button in green

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.

worpress editor with a highlighted textbox filled with cookie policy and save draft button highlighted on upper right