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.
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/privacyyoursite.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:
- Go to Settings → Privacy in your dashboard
- Click "Create New Page" or select an existing page
- WordPress creates a page with a basic template—replace it with your policy
- Publish the page
- 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:
- Go to Settings → Policies
- Find "Privacy policy" section
- Paste your privacy policy content (or use Shopify's template as a starting point)
- Click Save
- Shopify automatically creates
/policies/privacy-policy
To add the footer link:
- Go to Online Store → Navigation
- Edit your footer menu
- Click "Add menu item"
- Under Link, select Policies → Privacy policy
- Save
Need a Shopify-specific policy? Try our Privacy Policy for Shopify Generator.
Wix
- Open your Wix Editor
- Click Add (+) → Page
- Select "Blank Page" and name it "Privacy Policy"
- Add a text element and paste your policy
- Publish your site
To add to footer:
- Click on your footer section
- Add a text or button element
- Link it to your Privacy Policy page
Squarespace
- Go to Pages panel
- Click + Add Page
- Choose "Blank Page"
- Name it "Privacy Policy" and add a text block with your content
- In page settings, you can set it as "Not Linked" if you only want footer access
For footer links:
- Go to Design → Site Styles or edit your footer directly
- Add a navigation element or text link to your privacy page
Webflow
- Create a new page in the Pages panel
- Name it "Privacy Policy" with slug
privacy-policy - Add a rich text element and paste your content
- Publish
Update your footer symbol (or component) to include a link to the new page.
Custom HTML/Static Sites
- Create a new file:
privacy-policy.html - Use your site's template/header/footer
- Add your privacy policy content in the main content area
- Upload to your server
- Add a link in your footer template:
<a href="/privacy-policy.html">Privacy Policy</a>
React/Next.js Sites
- Create a new page component:
pages/privacy-policy.tsx(orapp/privacy-policy/page.tsxfor App Router) - Add your privacy policy content (consider using MDX for easier formatting)
- Update your footer component to include a
Linkto/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:
- Update the "Last Updated" date
- Consider notifying users of significant changes via email
- Keep a changelog or version history
- 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:
- GDPR Privacy Policy Generator (EU visitors)
- CCPA Privacy Policy Generator (California visitors)
- Shopify Privacy Policy Generator
You Might Also Like
- What Is a Privacy Policy? Everything You Need to KnowLearn what a privacy policy is, why every website needs one, what it should include, and how to create one for your business or website.
- GDPR for Small Business: A Complete GuideEverything small business owners need to know about GDPR compliance. Plain-English guide covering requirements, exemptions, and practical steps.
- Privacy Policy Examples: 10 Templates You Can Learn FromStudy real privacy policy examples from different industries. See what works, what to include, and how to write a clear, compliant policy.