Code Injection Setup
Settings → Advanced → Code Injection → Header
Requires Business or Commerce plan (not Personal)
Paste installation script from Domains → Installation
Save—no Squarespace theme code changes
Squarespace powers portfolios, stores, and marketing sites worldwide. Per Secure Privacy’s Squarespace guide: paste one installation script into Settings → Advanced → Code Injection → Header (Business or Commerce plans). No theme edits—banner, blocking, scans, and logs are managed in Secure Privacy.

Typical setup
Privacy Laws
Uptime
Support
Built-in notices rarely deliver granular categories, prior blocking, and audit trails regulators expect. Secure Privacy closes the gap with one header script—configure everything in your dashboard.
Settings → Advanced → Code Injection → Header
Requires Business or Commerce plan (not Personal)
Paste installation script from Domains → Installation
Save—no Squarespace theme code changes
Header placement supports consent-before-load workflows
Block non-essential scripts until visitors choose
Works with analytics, pixels, and embedded tools
Lightweight async script
Consent logs and tamper-evident records
Automatic scans and cookie categorisation
70+ languages and geo rules from the dashboard
Update banners without republishing theme assets
After installation, Secure Privacy can scan and categorise cookies, show banners by location and regulation, record consent in an audit log, and block non-essential scripts until consent—plus preference centre, branding, geo rules, policies, 70+ languages, declarations, and consent logs from the dashboard (per the linked installation guide).
Let visitors accept, reject, or fine-tune categories and revisit choices anytime.
Share consent state across domains you configure in Secure Privacy.
Upload logos, colours, and fonts to match Squarespace design.
Show the right banner for EU, US, Brazil, and dozens of other regions.
Decide which tags load by default versus only after consent.
Generate privacy copy and maintain a live cookie declaration.
Serve banners in 70+ languages for global Squarespace audiences.
Store consent events when you need to demonstrate compliance.
These steps mirror Secure Privacy’s knowledge base article: copy the Installation script, open Squarespace Settings → Advanced → Code Injection, paste into Header, Save, then verify in a private window.
In Secure Privacy, open the Installation page for your domain and copy the unique installation script exactly as shown.
In Squarespace, click the Settings icon (gear) in the sidebar. Scroll to Advanced, then open Code Injection. Requires Business or Commerce (not Personal).
Paste the script into the Header field and click Save so it loads before tracking and analytics scripts.
Automatically adapt legal templates and consent banners by location — compliant by default, seamless for users.
Privacy Laws Mapped & Monitored
Countries Covered
Continuously Updated Regulations
EU
California
2 laws
Brazil
Canada
UK
Singapore
South Africa
Thailand
Australia
Switzerland
Turkey
Virginia
Virginia Consumer Data Protection Act
Colorado
Colorado Privacy Act
Connecticut
Connecticut Data Privacy Act
Utah
Utah Consumer Privacy Act
Iowa
Iowa Consumer Data Protection Act
Texas
Texas Data Privacy and Security Act
Oregon
Oregon Consumer Privacy Act
Montana
Montana Consumer Data Privacy Act
Delaware
Delaware Personal Data Privacy Act
New Jersey
New Jersey Data Protection Act
New Hampshire
New Hampshire Data Privacy Act
China
Personal Information Protection Law
Japan
Act on Protection of Personal Information
South Korea
Personal Information Protection Act
New Zealand
Privacy Act 2020
Hong Kong
Personal Data Privacy Ordinance
Malaysia
Personal Data Protection Act
Philippines
Data Privacy Act
Indonesia
Personal Data Protection Act
Vietnam
Personal Data Protection Decree
India
Digital Personal Data Protection Act
Argentina
Personal Data Protection Law
Colombia
Personal Data Protection Law
Mexico
Federal Data Protection Law
Norway
Personal Data Act
Israel
Privacy Protection Law
Kenya
Data Protection Act
Morocco
Data Protection Law
Tunisia
Personal Data Protection Law
UAE
Personal Data Protection Law
Saudi Arabia
Personal Data Protection Law
| Feature | Secure Privacy | Basic notice only |
|---|---|---|
| Granular categories | ||
| Prior blocking of non-essential scripts | ||
| Geo-specific templates (65+ laws) | ||
| Consent audit trail | ||
| Automatic cookie scans | ||
| Single header script install | ||
| Managed from Secure Privacy dashboard | ||
| Requires Business+ for Code Injection | ||
| IAB TCF support | ||
| Google Consent Mode compatible |
0+ native integrations and growing
Creators, agencies, and commerce brands rely on Secure Privacy for audit-ready consent.
“It helped me greatly with cookie compliance!”
“Secure Privacy services works great!”
“Great app and includes full integration with WordPress”
“Great software for Cookie Privacy Policy”
“Perfect GDPR compliant”
“Best Data Privacy Management Software”
“It helped me greatly with cookie compliance!”
“Secure Privacy services works great!”
“Great app and includes full integration with WordPress”
“Great software for Cookie Privacy Policy”
“Perfect GDPR compliant”
“Best Data Privacy Management Software”
“The Ultimate Data Privacy Compliance application”
“The AI-powered risk assessment identified compliance gaps we didn't even know existed.”
“Automated compliance tracking”
“Great Data Privacy Tool”
“Useful for GDPR compliance”
“Great for managing consent”
“The Ultimate Data Privacy Compliance application”
“The AI-powered risk assessment identified compliance gaps we didn't even know existed.”
“Automated compliance tracking”
“Great Data Privacy Tool”
“Useful for GDPR compliance”
“Great for managing consent”
Code Injection is available on Business and Commerce plans only. Personal sites must upgrade or contact Secure Privacy support for alternative deployment options.
Paste one header script, manage everything else in Secure Privacy. Start free—no credit card required.
Get exclusive insights on privacy laws, compliance strategies, and product updates delivered to your inbox