Ready-to-use privacy policy templates and one-click copy snippets to keep your store compliant
Writing privacy policy language for analytics plugins can be tedious and legally tricky. WhoKnew Views™ Pro includes pre-written, GDPR-compliant templates that you can copy with one click and paste directly into your store’s policies.
🔒 PRO FEATURE — Requires WhoKnew Views™ Pro
📍 Where to Find the Templates
Navigate to:
WhoKnew Views → Settings → General Tab
→
Expand section:
🍪Privacy & Cookie Compliance
📋 Three Templates Included
Click any card below to jump to that template’s details:
🔔
Cookie Notice Banner
HTML for cookie consent popups and banners
📜
Privacy Policy Section
Comprehensive section with cookie table and rights
🇪🇺
GDPR Short Notice
Minimal notice for EU-focused compliance
🔔 Template 1: Cookie Notice Banner
Cookie Notice Banner
📋 Copy HTML
Where to use:Add this to your site’s cookie consent banner or pop-up (e.g., using a cookie consent plugin like “Cookie Notice” or “GDPR Cookie Consent”).
<divclass=”cookie-notice”>
<h3>Cookie Notice</h3>
<p>
We use cookies to enhance your browsing experience
and analyze product popularity.
</p>
<p>
<strong>Essential Cookies:</strong> Track product views…
<strong>Analytics Cookies:</strong> Understand visitor patterns…
<strong>Smart Visibility Cookies:</strong> Manage counter display…
</p>
<buttononclick=”acceptCookies()”>Accept</button>
<ahref=”/privacy-policy”>Learn More</a>
</div>
📜 Template 2: Privacy Policy Section
Privacy Policy Section
📋 Copy HTML
Where to use:Add this section to your website’s Privacy Policy page. Replace [YOUR EMAIL] with your contact email.
This comprehensive template includes:
📊 What We Collect
Views, visitor type, technical data
🎯 How We Use It
Counters, trends, forecasting
🍪 Cookie Table
All 8 cookies with purposes
⚖️ Your Rights
Opt-out, access, delete
📅 Data Retention
Short-term, 90-day, 365-day
🚫 Third-Party
No sharing statement
🍪 Complete Cookie Table (Included)
| Cookie Name | Purpose | Duration |
|---|---|---|
whoknew_view_* | Prevents duplicate view counting | Configurable |
whoknew_display_* | Caches view counter for performance | Configurable |
whoknew_lifetime_view_* | Distinguishes first-time vs. returning visitors | 90 days |
wkv_first_view_* | Smart Visibility: “First View Only” mode | Configurable |
+ 4 more cookies detailed in the full template
🇪🇺 Template 3: GDPR Short Notice
GDPR Compliant Short Notice
📋 Copy HTML
Where to use:Use this minimal notice for EU visitors or in your cookie policy page.
Perfect for:
🇪🇺 EU-specific pages📄 Cookie policy pages⚡ Quick compliance📱 Mobile-friendly
<h3>Analytics & Cookies</h3>
<p>
We use cookies to track product views and analyze…
</p>
<pstyle=”background: #fff…”>
<strong>✅ No Personal Data:</strong> This tracking does NOT
collect any personally identifiable information…
</p>
<p>
<strong>Legal Basis:</strong> Legitimate interest
(GDPR Article 6(1)(f))…
</p>
✏️ Customization Checklist
Before publishing, update these placeholders in the templates:
Replace [YOUR EMAIL]
Add your support or privacy contact email
Update Cookie Durations
Match the “Configurable” durations to your actual Cookie Lifespan setting
Add Store Name (optional)
Personalize with your business name if desired
Update Link Paths
Ensure /privacy-policy matches your actual page URL
Implement Button Functions
acceptCookies() and deleteCookies() need JavaScript handlers
📋 How to Copy & Paste
1️⃣
Click “Copy HTML”
Button turns purple when copied
→
2️⃣
Open Your Page
Privacy Policy or Cookie Policy
→
3️⃣
Paste as HTML
Use “Custom HTML” block in WordPress
→
4️⃣
Customize & Publish
Replace placeholders, save
💡 Pro Tip: In WordPress Block Editor (Gutenberg), add a “Custom HTML” block to paste these templates. In Classic Editor, switch to the “Text” tab before pasting.
🔌 Integration Examples
📄 Privacy Policy Page
Add the Privacy Policy Section template as a new section under an “Analytics” or “Cookies” heading.
🍪 Cookie Policy Page
Use the GDPR Short Notice template for a dedicated cookie disclosure section.
🔔 Cookie Consent Banner
Use the Cookie Notice Banner template with plugins like GDPR Cookie Consent or Complianz.
📱 Footer Widget
The GDPR Short Notice is compact enough for footer cookie disclosures.
⚠️ Legal Disclaimer
These templates are provided as a convenience and do not constitute legal advice. Privacy regulations vary by jurisdiction, industry, and specific implementation. Always have your privacy policy reviewed by a qualified legal professional familiar with GDPR, CCPA, and other applicable data protection laws.