Privacy policies
How to add a privacy policy to WordPress
By the Kiescy teamUpdated 6 min readChecked against the official text on
WordPress makes it easy to publish a privacy policy: there's a dedicated setting for it, and it even suggests some text. The hard part is knowing what to write, because a WordPress site's data collection depends almost entirely on its plugins and theme.
A simple blog with comments already stores visitors' IP addresses. Add a contact form, Google Analytics, a newsletter plugin, a few YouTube videos and WooCommerce, and you're sharing data with half a dozen companies. This guide shows you how to set up the policy page, how to find out what your site really collects, and what to write about each piece.
The short version
WordPress has a built-in privacy policy page under Settings → Privacy. Use it as the page, but write the content around what your site actually does: comments store names, emails and IP addresses, forms collect whatever you ask for, WooCommerce handles orders, and analytics, embedded videos and ad plugins set cookies. Then link the page in your footer and next to every form.
Words you'll see in this guide (5)
- Plugin:
- An add-on you install to give WordPress extra features, like a contact form, a shop or analytics. Many plugins collect visitor data.
- Embed:
- Content from another site shown on yours, like a YouTube video or a Google Map. The other site can set cookies on your visitors.
- IP address:
- The number that identifies a visitor's internet connection. Privacy laws treat it as personal information.
- Gravatar:
- The service that shows profile pictures next to WordPress comments. It works by sending a scrambled version of the commenter's email address.
- Cookie consent:
- Asking visitors for permission before setting non-essential cookies, such as analytics or advertising cookies.
On this page
Does a WordPress site need a privacy policy?
Almost always, yes, even a small personal blog. Out of the box, WordPress comments store each commenter's name, email address and IP address, and most themes load fonts, analytics or embeds from other companies. Privacy laws such as the GDPR (Europe), the UK GDPR and California's CalOPPA require you to explain this to visitors.
Google also requires a privacy policy if you use Google Analytics or AdSense, and so do most affiliate and advertising programmes.
Step 1: Set up the privacy policy page
- In your WordPress dashboard, go to Settings → Privacy.
- Either click Create to make a new privacy policy page, or choose an existing page from the drop-down. WordPress marks it as your official privacy page, and some plugins (like WooCommerce) link to it automatically.
- Click the Policy Guide tab on the same screen. It shows suggested text from WordPress itself and from plugins that support this feature. Use it as a checklist, not as your final policy.
- Open the page, write or paste your policy, and click Publish.
Tip: Don't publish the default draft as it is. It contains headings and placeholder suggestions written for every site, not yours.
Step 2: Find out what your site really collects
Go to Plugins → Installed Plugins and look at each active plugin. For each one, ask: does it collect anything from visitors, or send anything to another company? Here are the usual suspects:
| Feature | What it collects | What to say in your policy |
|---|---|---|
| Comments | Name, email, website, IP address, browser details; Gravatar receives a scrambled version of the email | That you keep comments and why, and how long |
| Contact forms (Contact Form 7, WPForms, Gravity Forms) | Whatever fields you ask for; some plugins also save entries in your database | Where messages go, who reads them, how long you keep them |
| WooCommerce | Names, addresses, order history; payment details go to the payment gateway | Payment providers, shipping, how long you keep orders |
| Analytics (Site Kit, MonsterInsights, Jetpack Stats) | Pages viewed, device, approximate location, IP address | Which tool, and that it uses cookies |
| Newsletter plugins (Mailchimp, MailPoet) | Email address, sometimes name | How people sign up and unsubscribe |
| Embeds (YouTube, Vimeo, Google Maps, social posts) | The other company receives the visitor's IP and may set cookies | That embedded content comes from third parties |
| Security plugins (Wordfence and others) | IP addresses and login attempts | That you log these to protect the site |
| Ads (AdSense and ad networks) | Browsing behaviour for personalised ads | Advertising cookies and how to opt out |
Example
Tom's recipe blog runs WordPress with comments, a newsletter form, Google Analytics through Site Kit, AdSense and dozens of embedded YouTube videos. His privacy policy needs to cover all five, and because of AdSense and Analytics he also needs a cookie banner for European visitors.
Tip: Run the free privacy check on your homepage and a typical post. It shows every cookie and outside service your pages load, including ones added by your theme.
Step 3: Write the policy
Your policy should explain, in plain language:
- Who runs the site and how to contact you (a real email address).
- What information you collect, based on the list you just made.
- Why you collect it: to reply to messages, publish comments, send newsletters, run the shop, measure visits, show ads.
- Which outside services receive it (analytics, email, payments, video and ad providers).
- How long you keep it.
- Visitors' rights to see, correct or delete their information, and how to ask.
- How you use cookies, or a link to a separate cookie policy.
- When you last updated the policy.
The quickest way to get a solid draft is the free privacy policy generator. Tick the tools you use, copy the HTML, switch the WordPress editor to Code editor (or add a Custom HTML block) and paste it in.
Step 4: Link it in the right places
- Footer: add the page to your footer menu (Appearance → Menus, or the Site Editor's navigation block in block themes).
- Comment form: many themes show a privacy link automatically once the page is set in Settings → Privacy. If yours doesn't, add a short line above the comment box.
- Contact and newsletter forms: add "We'll use your details only to reply to you. See our Privacy Policy." next to the submit button.
- WooCommerce checkout: go to WooCommerce → Settings → Accounts & Privacy and choose your privacy page, so it's linked at checkout and registration.
Handling requests with WordPress's built-in tools
If someone asks what information you hold about them, or asks you to delete it, WordPress can help. Go to Tools → Export Personal Data or Tools → Erase Personal Data and enter their email address. WordPress finds their comments, account details and data from plugins that support this feature, and creates a download or erases it. Mention this process in your policy so people know how to ask.
Questions
Does WordPress create a privacy policy automatically?
It creates a draft page with suggested headings and text, but it doesn't know your plugins or business. You need to edit or replace the content before publishing.
Where is the privacy policy setting in WordPress?
Under Settings → Privacy in your dashboard. There you can create or choose the page and open the Policy Guide.
Do I need a privacy policy for a small WordPress blog?
Almost certainly. Comments store email and IP addresses, and most themes load outside services. A short, honest policy is enough.
Do I need a cookie banner on WordPress?
If you have visitors from the EU or UK and use analytics, advertising or video embeds, yes. Sites with no tracking and no embeds may not need one.
Can I use a plugin to generate my privacy policy?
You can, but check the result carefully against what your site actually does. Any generator, including ours, only knows what you tell it.
Sources
The facts in this guide come from these official sources, last checked on . We review the guide whenever they change.
Generate a WordPress privacy policy
Answer a few questions, copy the HTML, and paste it into your WordPress privacy page. Free, no sign-up.
Open the free toolThis guide explains the law in general terms and isn't legal advice. Laws change and how they apply depends on your situation; for high-risk processing, ask a lawyer.