Privacy PolicyWebsite SetupHow-To GuideTutorials

How to Add a Privacy Policy to Your Website (Step-by-Step)

Learn exactly how to add a privacy policy to your website. Step-by-step instructions for WordPress, Shopify, Wix, Squarespace, and custom sites.

January 22, 20268 min readBy Sarah Chen

You've created your privacy policy—now what? Adding it to your website correctly is just as important as writing it. This step-by-step guide covers how to add a privacy policy to any website platform, where to place it, and best practices for maximum visibility.

Where Should Your Privacy Policy Appear?

Before diving into the technical steps, understand where your privacy policy needs to be accessible:

Required Locations

  • Website footer: A link in your footer is standard practice and often legally required
  • Signup/registration forms: Link near any form that collects personal data
  • Checkout pages: Especially important for ecommerce sites
  • Cookie consent banners: Link within your cookie notice
  • App stores: Required field when publishing mobile apps

Recommended Additional Locations

  • Contact forms (near the submit button)
  • Newsletter signup widgets
  • Account settings page
  • Help or FAQ sections

Step 1: Create a Privacy Policy Page

First, you need a dedicated page for your privacy policy. Don't bury it in a popup or accordion—it should be a full, standalone page with a permanent URL.

Recommended URL Structures

Use a clear, recognizable URL:

  • yoursite.com/privacy-policy (most common)
  • yoursite.com/privacy
  • yoursite.com/legal/privacy

Avoid dynamic URLs with parameters like ?page=privacy—they're harder for users and search engines to understand.

Step 2: Add Your Privacy Policy (By Platform)

WordPress

WordPress has built-in privacy policy functionality:

  1. Go to Settings → Privacy in your dashboard
  2. Click "Create New Page" or select an existing page
  3. WordPress creates a page with a basic template—replace it with your policy
  4. Publish the page
  5. Go to Appearance → Menus and add the page to your footer menu

Pro tip: Many WordPress themes automatically add a "Privacy Policy" link to the footer once you designate a privacy policy page in Settings → Privacy.

Shopify

Shopify makes it easy with built-in legal page templates:

  1. Go to Settings → Policies
  2. Find "Privacy policy" section
  3. Paste your privacy policy content (or use Shopify's template as a starting point)
  4. Click Save
  5. Shopify automatically creates /policies/privacy-policy

To add the footer link:

  1. Go to Online Store → Navigation
  2. Edit your footer menu
  3. Click "Add menu item"
  4. Under Link, select Policies → Privacy policy
  5. Save

Need a Shopify-specific policy? Try our Privacy Policy for Shopify Generator.

Wix

  1. Open your Wix Editor
  2. Click Add (+) → Page
  3. Select "Blank Page" and name it "Privacy Policy"
  4. Add a text element and paste your policy
  5. Publish your site

To add to footer:

  1. Click on your footer section
  2. Add a text or button element
  3. Link it to your Privacy Policy page

Squarespace

  1. Go to Pages panel
  2. Click + Add Page
  3. Choose "Blank Page"
  4. Name it "Privacy Policy" and add a text block with your content
  5. In page settings, you can set it as "Not Linked" if you only want footer access

For footer links:

  1. Go to Design → Site Styles or edit your footer directly
  2. Add a navigation element or text link to your privacy page

Webflow

  1. Create a new page in the Pages panel
  2. Name it "Privacy Policy" with slug privacy-policy
  3. Add a rich text element and paste your content
  4. Publish

Update your footer symbol (or component) to include a link to the new page.

Custom HTML/Static Sites

  1. Create a new file: privacy-policy.html
  2. Use your site's template/header/footer
  3. Add your privacy policy content in the main content area
  4. Upload to your server
  5. Add a link in your footer template: <a href="/privacy-policy.html">Privacy Policy</a>

React/Next.js Sites

  1. Create a new page component: pages/privacy-policy.tsx (or app/privacy-policy/page.tsx for App Router)
  2. Add your privacy policy content (consider using MDX for easier formatting)
  3. Update your footer component to include a Link to /privacy-policy

Step 3: Format Your Privacy Policy Page

A well-formatted privacy policy is easier to read and builds trust:

Essential Formatting

  • Clear heading: "Privacy Policy" at the top
  • Last updated date: Display prominently near the top
  • Table of contents: For longer policies, add jump links
  • Readable typography: Use your site's normal body text size (16px minimum)
  • Adequate spacing: Break up dense text with headers and lists

Accessibility Considerations

  • Use proper heading hierarchy (H1, H2, H3)
  • Ensure sufficient color contrast
  • Make sure links are distinguishable
  • Allow text to be resized without breaking layout

Step 4: Add Links Throughout Your Site

Footer Link (Required)

Every page on your site should have a privacy policy link in the footer. This is the universal standard and often a legal requirement.

<footer>
  <a href="/privacy-policy">Privacy Policy</a>
  <a href="/terms-of-service">Terms of Service</a>
</footer>

Form Links

Add a link near forms that collect data:

<form>
  <!-- form fields -->
  <p>By submitting, you agree to our 
    <a href="/privacy-policy">Privacy Policy</a>
  </p>
  <button type="submit">Submit</button>
</form>

Checkout Pages

Ecommerce sites should link to the privacy policy during checkout, typically near the payment section or order confirmation.

Step 5: Set Up Cookie Consent (If Needed)

If you have EU visitors and use cookies, you need a cookie consent banner that links to your privacy policy:

  • Cookie banner tools: Cookiebot, OneTrust, CookieYes, or custom solutions
  • Banner should include: Brief description, accept/reject buttons, and link to privacy policy
  • Link text: "Learn more in our Privacy Policy" or similar

Need a cookie policy too? Use our Cookie Policy Generator.

Step 6: Verify Everything Works

After adding your privacy policy, verify:

Checklist

  • ✓ Privacy policy page loads correctly
  • ✓ URL is clean and permanent (no parameters)
  • ✓ Footer link appears on all pages
  • ✓ Link works from mobile devices
  • ✓ Page is indexed by search engines (check robots.txt)
  • ✓ Forms link to the policy
  • ✓ Cookie banner links to the policy (if applicable)

Common Mistakes to Avoid

  • Hiding the link: Don't use tiny fonts or low-contrast colors
  • PDF-only policies: Use HTML pages; PDFs are harder to update and less accessible
  • Broken links: Test all links after changes or site migrations
  • No mobile version: Ensure the policy page is responsive
  • Forgetting subdomains: If you have blog.yoursite.com, it needs privacy links too

Updating Your Privacy Policy

When you update your policy:

  1. Update the "Last Updated" date
  2. Consider notifying users of significant changes via email
  3. Keep a changelog or version history
  4. Never delete the page—update it in place to preserve the URL

Generate Your Privacy Policy

Don't have a privacy policy yet? Our free privacy policy generator creates a professional, compliant policy in minutes. Answer a few questions about your site, and we'll generate the content—then follow this guide to add it to your website.

For specific compliance needs, also check:

Create Your Privacy Policy Today

Generate a professional, legally-compliant privacy policy in minutes.