Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Add a Privacy Policy in WordPress (The Easy Way)

Launching a new WordPress website can be exciting, but there’s one super important page many people overlook: the privacy policy.

It’s easy to think of privacy policies as something only large companies need. But with privacy laws becoming more common, every blog and website needs one.

The challenge is that most beginners don’t know how to create a legitimate privacy policy and then display it on their websites. Some try to write one from scratch, while others avoid it completely, and both approaches can lead to issues further down the line.

That’s why I’ve put together this step-by-step guide to help you out. In this article, I’ll show you the simplest way to add a privacy policy in WordPress, without any legal jargon or hassle.

How to Add a Privacy Policy in WordPress (The Easy Way)

What Is a Privacy Policy, and Do You Need It on Your Website?

If your website collects personal information from visitors, then you need a privacy policy. This is a legal document that explains exactly what information you collect and how you use it.

In many countries, having a privacy policy is required by law. But even if it’s not legally mandated where you are, it’s still a good idea to create one.

A privacy policy shows that you care about the visitor’s privacy, which helps to build trust with your audience.

Going further, here are some ways a typical WordPress site collects user information:

  • Name and email address in comment forms
  • Comment form cookie, which remembers a user’s name or email address
  • Name and email addresses submitted through a contact form
  • Name and email address submitted to sign up for an email list
  • Information collected when users register on a website
  • Google Analytics tracking
  • Facebook page plugin and ‘like’ button cookies
  • Other social media platform widgets that track users
  • Advertising programs like Google AdSense, which track users

This data can be directly collected by your site (known as first-party data) or through services you use, like Google Analytics or social media widgets (third-party data).

With that in mind, every website should have a privacy policy page. This helps protect your business from legal problems and builds trust with your audience.

Does your WordPress blog or website collect any personally identifiable information from visitors who live in the European Union (EU)?

Then you’ll need to comply with the General Data Protection Regulation (GDPR). This applies even if you’re not located in an EU country yourself.

The GDPR is all about giving EU citizens more control over their personal data, and a key part of this law requires you to add a privacy policy to your site.

🌟 For more details, you can read our ultimate guide on GDPR and how it can impact your website.

What Should I Include in my Privacy Policy?

Creating the basic content for your privacy policy is made much simpler thanks to helpful tools. Essentially, you’ll need to clearly list all the ways your website collects or plans to collect user information.

In more detail, your privacy policy should contain the following:

  • Information you collect about users visiting your website.
  • Methods used to collect information, like cookies and web beacons (similar to cookies), sign-ups, registration, and comment forms.
  • Any third-party advertisers who collect user information on your website, like Google AdSense.
  • Links to the privacy policy of each advertising program you use.
  • How users can block cookies and opt out of third-party advertisements.
  • Your contact information, so users can reach out with any questions.

Thankfully, there are many tools that can automatically create text for your privacy policy or terms of service pages. WordPress also has its own basic privacy policy generator that you can use.

Another option is using our WPBeginner privacy policy page as a starting point. Simply replace all references to ‘WPBeginner’ with the name of your website or business.

An example of a privacy policy

⚠️ While our policy is a great starting point, please remember that it is not a substitute for professional legal advice.

How to Add a Privacy Policy Page in WordPress

WordPress has a built-in privacy policy generator that you can use to quickly create this important page. It also has a generic template with instructions on how to add content to this basic privacy policy, saving you even more time and effort.

That said, let’s see how you can add a privacy policy page in WordPress.

Step 1: Choose Your Page

To get started, head to Settings » Privacy in your WordPress dashboard.

Generating a privacy policy for your WordPress blog or website

One option is creating an entirely new page, where you’ll display your privacy policy.

To do this, click the ‘Create’ button.

How to create a new privacy policy page in WordPress

This will create a new page and open it for editing.

You can now make changes to this page using the standard WordPress block editor.

Editing the automatically-generated privacy policy

If you want to add the privacy policy to an existing page instead, then open the ‘Use This Page’ dropdown.

You can now choose your page and then click the ‘Use This Page’ button.

How to comply with important privacy laws

You’ll typically want to make some changes before publishing this page, so click the ‘Edit’ link.

This will open the default privacy policy in the WordPress editor.

Edit existing privacy policy page

You can now make your changes to the privacy policy.

Step 2: Customize the Privacy Policy

No matter which method you use, the default privacy policy will include instructions on how to edit each section.

You’ll see it has sections for the different ways your WordPress website might collect personal information, such as through comments, embeds, and login cookies.

Edit privacy page content

It will also have sections with no information, such as for contact forms and analytics.

For contact forms, you can mention what information you collect and how you use it. If you’re using the WPForms plugin, then you can easily create GDPR-compliant contact forms.

If you’re using Google Analytics, then you can check out this guide on Google Analytics and GDPR compliance.

You’ll also find a section dedicated to information about cookies and how you use them on your site. This is crucial for transparency, explaining to your visitors what cookies are, why your site uses them, and how users can manage their preferences.

However, for even greater transparency, I recommend creating a separate cookie policy, which I’ll discuss below.

Step 3. Add a Cookie Policy (Needed for Compliance)

The default template already mentions login cookies. However, you’ll need to add information about any other cookies used by your WordPress plugins, core features, or third-party services.

The easiest way to do this is using WPConsent. It’s the best cookie and compliance plugin for WordPress. We use it across WPBeginner to show cookie popups and manage user consent.

An example of a detailed cookie popup, created for WPBeginner using WPConsent

🌟 To learn more about how we use WPConsent and see it in action, be sure to check out our full WPConsent review.

After installing the plugin, it’ll scan your site and create a detailed list of all the cookies used across your WordPress website.

You can then use this information to create a cookie policy with just a few clicks.

Configure cookie policy in WPConsent

💡 Want step-by-step instructions on how to perform this scan and then generate a cookie policy? Our guide on how to add a cookie popup in WordPress has all the info you need.

After creating this cookie policy, you can add it to your privacy policy page using a simple shortcode:

[wpconsent_cookie_policy]

For detailed instructions, please see our guide on how to add a shortcode in WordPress.

Adding a privacy policy to your website using the shortcode block

Step 4. Publish Your Privacy Policy

When you’re happy with how your privacy policy is set up, you can update or publish the page as usual.

You can either click the ‘Update’ or ‘Publish’ button to make the page live.

Publishing a privacy policy in WordPress

Now, simply visit your site to see the policy in action.

It’s as simple as that! You’ve just added a helpful, informative privacy policy to your site.

How to comply with privacy laws including the GDPR and CCPA

Step 5: Adding a Link to the Privacy Policy Page

It’s not enough to simply have a privacy policy on your website. You need to make sure visitors can find it easily.

This helps them access the information they need to make smart decisions about their data, and by being straightforward and transparent, you’ll build trust with your audience.

That’s why it’s a good idea to add a link to a prominent area of your site, such as the main navigation menu, footer, or sidebar.

I recommend adding a link to the privacy policy in your website’s footer area. This way, the link appears on every page without taking up too much space.

There are multiple ways to do this, so let’s start with the easiest one.

Option 1: Adding a Link to Your Cookie Popup

One of the best ways to get visitors to see your privacy policy is by linking to it from a cookie consent popup. This popup automatically appears the first time someone visits your site.

An example of a cookie consent popup, created using WPConsent

Regulations like the European Union’s GDPR and others actually require you to inform users about your use of cookies and get their permission before you can set them.

So if your website has visitors from those regions, it’s particularly important to create a cookie consent notice.

The good news is that you can easily add a cookie consent popup to your WordPress site with a plugin like WPConsent.

For complete, step-by-step instructions please see our guide on how to add a cookies popup in WordPress.

After setting that up, WPConsent will automatically link to the privacy policy page you selected on your website’s Settings » Privacy screen.

An example of a cookie consent popup, with a link to your site's privacy policy

This ensures your visitors can easily find and review your policy right from the popup.

Option 2: Adding a Link in Classic Themes

Many WordPress themes have areas in the footer where you can add widgets. These are also sometimes called footer sidebars.

To check whether your theme has a footer widget area, go to the Appearance » Widgets page.

Add a widget

If your theme has a footer area, then you can add a link to your privacy policy using the Navigation Menu widget.

To start, you need to make a new custom navigation menu by going to the Appearance » Menus page. Here, click the ‘create a new menu’ link.

Create a new menu

After that, type in a name for your menu.

Then, click the ‘Create Menu’ button.

Enter a name for menu

In the left column, select your privacy policy page to add it to your menu. You can also check the box next to any other pages you want to include.

With that done, click the ‘Add to Menu’ button.

Choose pages for menu

You will now see all your chosen pages listed under the new menu. You can rearrange these pages using drag and drop.

When you’re happy with how the menu is set up, remember to click the ‘Save Menu’ button to save your changes.

💡 Want more detailed instructions? Then see our beginner’s guide on how to create navigation menus in WordPress.

Now, go to the Appearance » Widgets page.

Adding links to your website's footer

Here, click the ‘+’ button and start typing in ‘Navigation Menu.’

When the right block appears, click to add it to the footer.

Adding a navigation menu to your website's footer area

Next, you can type a title for your widget if you want. This title will appear above the list of links in your menu widget.

Finally, open the ‘Select Menu’ dropdown and choose the menu you just created.

How to add privacy policy links to your WordPress theme's footer

With that done, don’t forget to click the ‘Update’ button.

You can now visit your website to see the privacy policy links in the footer area.

Privacy policy preview
Option 3: Adding Link to Privacy Policy Page in Block Themes

If you’re using a block theme, you can add a menu using the full site editor. This method is a bit different because it lets you add any menu you have already created. You can then add a link to your privacy policy.

If you haven’t made a basic menu yet, you’ll need to create one before continuing.

Once that’s done, go to Appearance » Editor in your WordPress dashboard.

How to open the full site editor (FSE) in WordPress

Here, you’ll see options to customize different parts of your block theme.

Go ahead and click on ‘Navigation.’

Editing your site's navigation block

Now, click on the three-dotted icon in the left-hand panel.

When it appears, select ‘Edit.’

Editing the navigation block using the FSE editor in WordPress

You should now see the menu you previously created.

Click to select this Navigation block and then click the ‘+’ icon when it appears.

Adding a link to your site's privacy policy to your main navigation menu

In the search field, start typing in the title of your privacy policy page.

When the right page shows up, click to add it to the navigation menu.

How to make your site's privacy policy easily accessible

You can now make any other changes you want to the menu, such as adding custom links, a call-to-action button, a search form, or a site logo.

For a deeper dive into managing menus with the Full-Site Editor, check out our guide on how to style WordPress navigation menus.

When you’re happy with how the menu is set up, click ‘Save’ to make your changes live.

Updating your website's main navigation menu
Option 4: Manually Add a Link to Privacy Policy Page in WordPress

If your theme doesn’t have a footer widget area or a footer navigation menu, then you can manually add a link to your privacy policy page using HTML code.

To do this, you would normally edit your theme’s footer.php file. However, I don’t recommend this approach because even a small mistake in your code can potentially break your website and cause common WordPress errors.

While block themes offer more flexibility through the Full Site Editor for some HTML, for complex manual additions to your footer, using a plugin like WPCode is the safest and easiest method. It’s the best code snippets plugin that lets you add code to your footer without having to edit your theme’s core files.

🌟 We use WPCode to add and manage code snippets across our partner websites. To learn more about our direct experiences with this plugin, be sure to check out our WPCode review.

Our guide on how to add custom code to WordPress will walk you through setting up WPCode.

When the plugin is ready, go to Code Snippets » Header & Footer in your WordPress admin panel.

The WPCode code snippets plugin for WordPress

Then, you can add the following code into the ‘Footer’ box:

<a href="https://example.com/privacy-policy">Privacy Policy</a>

Don’t forget to replace the href value with the URL of your privacy policy page. You can now save your changes and preview your site to see the link in action.

For more detailed instructions, see our guide on how to edit the footer in WordPress.

That’s all! You have successfully added a privacy policy page to your WordPress site.

Video Tutorial

Subscribe to WPBeginner

Privacy Policy FAQs: All Your Questions, Answered

Online privacy is a serious topic, so it’s understandable if you still have some questions about privacy compliance and how it affects your site.

In this section, I’m sharing the most common questions I get asked about privacy polices, and offering some straightforward, practical advice.

Why is a privacy policy important for my WordPress site?

A privacy policy is crucial for informing visitors about the data you collect and how it’s used. It helps build trust with your audience, and it’s essential for complying with multiple international privacy regulations, including the GDPR and California Consumer Privacy Act (CCPA).

Do I need a lawyer to create a privacy policy?

While there are plenty of tools and templates that can help you create a comprehensive privacy policy, it’s always best to have a lawyer review it as a final step. That way, they can verify compliance where possible.

What key elements should I include in my privacy policy?

You should list all the data you collect, how you use it, and any other companies that’ll have access to it. Also, tell users how they can manage their personal information. For example, explain how they can request a copy of their data.

I also recommend including your contact information. This makes it easy for users to reach you if they have questions.

How can I display my privacy policy on my WordPress site?

WordPress has a built-in privacy policy generator that you can use.

After generating this policy, add a link in an easy-to-find spot such as your website’s footer. This makes it simple for visitors to access this important information.

Can third-party plugins impact my site’s privacy compliance?

Yes, WordPress plugins can affect your compliance if they collect user data or set cookies. You should make sure all these plugins follow privacy laws. It’s a good practice to check a plugin’s documentation or website for its privacy statement before you install it.

After installing, make sure you update your own privacy policy to include information about what data the plugin collects on your behalf.

How often should I update my privacy policy?

Privacy laws can change, and new rules might appear. By regularly checking your site’s compliance, you can avoid possible fines and other legal problems.

It’s good practice to revisit your policy at least once a year. It’s also important to review your privacy policy every time you make big changes to how your site collects or manages user data.

For the best results, I recommend adding privacy policy reviews to your website maintenance checklist.

Additional Resources: More Information About Privacy and Compliance

Having a good understanding of privacy and data protection is very important for website owners. To help you further, here’s some additional resources that you can explore:

I hope this article helped you learn how to add a privacy policy in WordPress. You may also want to see our ultimate guide to WordPress privacy compliance or our expert pick of the best WordPress security plugins.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

50 CommentsLeave a Reply

    • It would depend on how you are implementing your privacy policy, most sites have a page that they link to in the footer but you could use a popup plugin or a form if you specifically wanted to have users tick a checkbox.

      Admin

  1. This article has been helpful. I was checking out the Google Adsense policy violation page and noticed that my blog must conform to the privacy practice that clearly discloses any data collection, sharing and usage that takes place on my site. A simple search on your blog led me here. I sincerely hope my Adsense application is approved henceforth.

  2. Please, can you help me differentiate between “term of service or term & condition” and “privacy policy”.

    Can I combine it in a page or must be separate pages ??

    Also, Google use to rejected those blogs and site with privacy policy page and terms of condition. So, it is necessary for Google AdSense approval.

    • They should be separate pages, the best way to think about it is your Privacy policy is how you protect your user’s information while the terms of use is there to protect your site/app.

      Admin

  3. I use the GDPR Compliance plugin due to the European GDPR regulation. This plugin automatically generates a privacy policy page as well as a page with information about cookies and a cookie banner. A great choice, because with one plugin you can really solve everything, not only regarding the law in the European Union, but this plugin can handle other regulations than just GDPR.

  4. I have seen almost all big brands and businesses include privacy policy on their websites.
    I was not aware of its importance.
    Thanks for this tutorial, it made clear the concept in lucid and concise way.
    I have a question though, is it necessary to include privacy policy of every website?
    second, is it compulsory for Adsense approval?

    • It depends on the site but is not required for every site and Google AdSense would want you to have a privacy policy.

      Admin

  5. Can we have an alternate privacy footer? We have an entire subfolder of content with a separate privacy policy. I’m wondering if there’s a way to select a different Privacy Footer to reflect this, instead of showing two privacy policies.

  6. i had privacy policy page on site. i had submited my site to Google Search Console. It had not index my privacy policy page and showing error ( Duplicated content)..
    Should i no index the privacy poliicy page ?

    • You wouldn’t want to worry about the duplicate content warning for pages like your privacy policy.

      Admin

  7. Hi,

    I don’t have that option in my settings – is it only available if you have a business account? I have a premium account.

    Thanks,

    Rhonna

  8. Very useful information! After researching and trying to find a solution on how to add a link properly, I got it thanks to you!
    Cheers!

  9. This is a really great and aimple step by step guide. You really publish great content. All your posts have helped me alot.

  10. Thank you for this! I have been working on my privacy policy for a while, with a legal background I figured it would be easier for me but I was struggling with making sure I understood all the background things happening that I needed to cover. This was so helpful!

  11. Thank you very much for offering to use your PP! I have a question: how to stop Privacy Policy page display in main “Pages” area. I currently ticked “Pending review” within “quick edit” of Pages category. Then add a text link in the footer area.

  12. Hi WP Beginner,

    Firstly, I would like to thank you for the wonderful beginner’s guide you have shared with newbies like us. It has helped me immensely in designing and building my website. I have modified and reused your Privacy Policy. I would like to share the credit for the same on my website. Is there any text you would like to recommend?

    Had a question. My website is not about a company. I am the only person involved here and I have created this website to spread awareness about my service as a Life Coach. What name should I use in place of Awesome Motive? Will it be my website name or my name?

    Thanking you,
    Atreyi

  13. WordPress version 4.9.6 has Privacy creator option under settings. It shows a sample page and you can edit the page. You can use an existing page also. I already have a small privacy page. Can I use it or create another good one from WordPress.

    Noticed that most sites have updated their privacy policy due to change in European Union policy change. Can you tell what changes should be done in existing privacy policy?

  14. Hi,

    I used your Privacy Policy to create mine in Dec 2017.
    Has it now been changed to comply with GDPR, so that I need to redo it?
    Many thanks in advance.

    • Hey Beathe,

      WordPress will address this issue soon in an upcoming version 4.9.6. We will update our privacy policy accordingly and hopefully you will be able to do the same from WordPress admin area.

      Admin

  15. When i copy and paste your privacy policy and I have to change the name over to my own, do I need to change the “Awesome Motives” as well?

  16. Thanks. I think I can handle this, but what is the simplest way to put a checkbox (so people have to confirm they have read the privacy policy) on comment forms (which I use for enquiries) so they can’t send the enquiry until they have confirmed they have read the privacy policy?
    Thanks in advance.

  17. Hi,

    Firstly, I would like to thank you for this blog. It has been really helpful in starting my website. I added the privacy policy, but how to synchronize it with my theme?
    My website is and I’m using simple catch theme. In Footer, the privacy policy is seen as a white tab which doesn’t fit in the footer. Is there any code, so it will appear in the footer?

    Thanks so much

      • Thanks for your reply. I added in the footer by using insert header and footer plugin. Is there any code which will add it to footer rather than creating a separate white block at the bottom?

        • Hi Kavita,

          Insert header and footer plugin adds code after your WordPress theme code. That’s why it appears as a white block. You will need to add it directly in your theme’s footer.php file. Alternately you can add the code in a text widget and display it in your sidebar.

  18. Maybe I missing something here but I have the latest install of Wordpress Ver. 4.9.4 and there is no “custom menu” widget available in widgets so this article did not help. Any other suggestions? Thanks appreciate it.

    • Thanks. Took some work, my theme only supports 2 menus the layout wasn’t exactly the way I wanted it. Hard to explain but it is working to my satisfaction. Once again thanks for the tutorial.

  19. Dear Sir, Do I need to add privacy policy for Facebook page that I connected to my WordPress website? If yes , do I need to create separate privacy policy for Facebook page or and where to add it. Kindly give me suggestion.

    Thanking you

  20. will I be bound to give you credit if I want to use the text of your privacy policy page?

  21. Thanks WP Beginner…I’m using your policy with a few updates…Okay just name changes for now…Thanks for us newbies to use it…I’ve given you credit – well you deserve it and have linked to site.

    Good Lord it’s a lot of work building a business and a website for that business…The only way I know I’m on to something (and don’t ask me what that is) is that I just keep going…The more do, the more I learn….You guys have made this entire process some much easier.

    All the best!

  22. Thank you, thank you, a thousand times, thank you. Thrashing about through one website after another, and finally landed on this, the golden grail – clear, articulate, easy-to-follow instruction.

    Beautifully done, and saved my sanity!
    Blythe

  23. How about creating a post instead of a page? What’s the difference when we create a page or post for privacy policy.

    I have created a post instead of page

    • You can create a post instead of a page in the same way. However, this post will be visible in your blog page also. If you create a page then this page won’t shown in your blog page.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.