Skip to content

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
  1. Does a WordPress site need a privacy policy?
  2. Step 1: Set up the privacy policy page
  3. Step 2: Find out what your site really collects
  4. Step 3: Write the policy
  5. Step 4: Link it in the right places
  6. Step 5: Add cookie consent if you need it
  7. Handling requests with WordPress's built-in tools
  8. Questions
  9. Sources

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

  1. In your WordPress dashboard, go to Settings → Privacy.
  2. 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.
  3. 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.
  4. 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:

FeatureWhat it collectsWhat to say in your policy
CommentsName, email, website, IP address, browser details; Gravatar receives a scrambled version of the emailThat 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 databaseWhere messages go, who reads them, how long you keep them
WooCommerceNames, addresses, order history; payment details go to the payment gatewayPayment providers, shipping, how long you keep orders
Analytics (Site Kit, MonsterInsights, Jetpack Stats)Pages viewed, device, approximate location, IP addressWhich tool, and that it uses cookies
Newsletter plugins (Mailchimp, MailPoet)Email address, sometimes nameHow people sign up and unsubscribe
Embeds (YouTube, Vimeo, Google Maps, social posts)The other company receives the visitor's IP and may set cookiesThat embedded content comes from third parties
Security plugins (Wordfence and others)IP addresses and login attemptsThat you log these to protect the site
Ads (AdSense and ad networks)Browsing behaviour for personalised adsAdvertising 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:

  1. Who runs the site and how to contact you (a real email address).
  2. What information you collect, based on the list you just made.
  3. Why you collect it: to reply to messages, publish comments, send newsletters, run the shop, measure visits, show ads.
  4. Which outside services receive it (analytics, email, payments, video and ad providers).
  5. How long you keep it.
  6. Visitors' rights to see, correct or delete their information, and how to ask.
  7. How you use cookies, or a link to a separate cookie policy.
  8. 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 5: Add cookie consent if you need it

WordPress itself sets only a few cookies (to keep you logged in and to remember commenters). Plugins and embeds usually add many more. If you have visitors from the EU or UK and use analytics, advertising or video embeds, you need their permission before those cookies load, plus a way to change their mind later.

You have two options:

  • A simple self-hosted banner: the free cookie banner generator gives you code you can paste into a header-and-footer plugin. It holds back scripts until visitors agree.
  • A managed banner: the WordPress install guide shows how to add Kiescy's banner, which also scans for new cookies, shows different rules by country and keeps a record of consent.

After setting it up, open your site in a private window, decline cookies and run the free privacy check. Many WordPress sites still load Google Analytics or YouTube before anyone clicks Accept.

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.

  1. WordPress documentation: Settings → Privacy screen
  2. WordPress documentation: Export Personal Data
  3. WordPress documentation: Erase Personal Data
  4. GDPR, Articles 13–14 (EUR-Lex)

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 tool

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

Keep reading

All guides

Get compliant this afternoon, not this quarter.

Set up your policies, banner and request form in one place. Free while Kiescy is in early access.