βΌοΈ Squarespace UCP Implementation
Make your beautiful Squarespace store AI-ready. Enable ChatGPT, Google AI Mode, and AI shopping agents to discover and purchase from your store.
What UCPtools can (and canβt) do on Squarespace
On this platform (with managed hosting), UCPtools can deliver:
- 4-level validationIncludedWe validate the profile we generate and host.
- Monitoring & alertsIncludedWe monitor the hosted profile and alert on changes.
- AI agent simulationIncludedSimulate AI agents against the hosted profile.
- Gap detection (signing keys, payment handlers, policies)IncludedWe author the profile, so every gap is visible.
- Gap remediationWith setupWe fix profile gaps directly; storefront schema you edit in your builder.
- Managed UCP hostingIncludedPoint /.well-known/ucp at our managed host with one redirect.
- Agent discovery analyticsIncludedBecause we serve the profile, we record every agent discovery.
- Full agent funnel analyticsNot on this platformNo merchant API/checkout in our path - only discovery is observable.
- Agent sales analyticsNot on this platformNo order backend integration available on this setup.
See AI agents discover your store (analytics)
Squarespace blocks /.well-known/paths and gives you no server to run tracking code, so the full browse-to-order funnel can't be captured. You can still see agent discovery by letting UCPtools host your profile and routing the path through Cloudflare:
- Activate managed hosting in your UCPtools dashboard to get a hosted profile URL.
- Put your domain behind Cloudflare (free) and add a Worker that proxies
/.well-known/ucpto that hosted URL (the Worker setup above covers this). - UCPtools records every agent fetch of your profile - discovery analytics appears in your dashboard. No code on Squarespace.
Browse and checkout analytics require a server UCPtools can sit in front of, which Squarespace doesn't expose - so discovery is the honest maximum here.
Why Add UCP to Squarespace?
Squarespace is known for beautiful, design-forward websites. Adding UCP support extends your stunning store to AI shopping agents, allowing ChatGPT, Google AI, and other AI assistants to discover and recommend your products.
- Design Excellence: Your beautiful products deserve AI visibility
- Code Injection: Add custom functionality without compromising design
- Built-in Commerce: Squarespace Commerce integrates seamlessly
- SEO Focus: Already optimized, now AI-optimized too
Squarespace does not have native UCP support as of January 2026. The methods below create a basic UCP discovery profile for AI agents to find your store, but full AI agent checkout capabilities require external development to build UCP-compatible API endpoints β Squarespace's limited code capabilities make this challenging.
Squarespace doesn't support serving files from /.well-known/ directly and has limited API capabilities. We'll use workarounds with external hosting, but full UCP checkout functionality is not achievable without a third-party proxy service.
Implementation Methods
| Method | Difficulty | Requirements |
|---|---|---|
| External Hosting + Redirect | Easy | Custom domain, external host |
| Code Injection Page | Medium | Business plan or higher |
| Cloudflare Worker | Medium | Cloudflare DNS |
Method 1: External Hosting (Recommended)
Host your UCP profile externally and redirect requests to it.
Generate Your UCP Profile
Create a customized UCP profile for your Squarespace store.
Open Generator βUpload your UCP JSON file to one of these free services:
Option A: GitHub Gist (Free)
- Go to gist.github.com
- Create a new gist with your UCP JSON
- Click "Raw" to get the direct URL
Option B: JSONBin (Free)
- Go to jsonbin.io
- Create an account and paste your JSON
- Get the public access URL
Option C: Vercel (Free)
# Create a simple project
mkdir ucp-profile && cd ucp-profile
echo '{}' > vercel.json
# Create public/.well-known/ucp file with your JSON
mkdir -p public/.well-known
# Copy your ucp.json content to public/.well-known/ucp
# Deploy
vercel --prodIf you're using Cloudflare or another DNS provider that supports Page Rules or Workers:
Cloudflare Worker Example
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
const url = new URL(request.url)
// Intercept .well-known/ucp requests
if (url.pathname === '/.well-known/ucp') {
// Fetch from your hosted profile
const ucpUrl = 'https://your-profile-host.com/ucp.json'
const response = await fetch(ucpUrl)
const json = await response.text()
return new Response(json, {
headers: {
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
'Cache-Control': 'public, max-age=3600'
}
})
}
// Pass through to Squarespace for all other requests
return fetch(request)
}Method 2: Code Injection Page
Create a dedicated page that serves your UCP profile (alternative endpoint).
- In Squarespace, go to Pages β + β Blank Page
- Name it "UCP Profile" or similar
- Set the URL slug to
ucp-profile
- Add a Code Block to the page
- Set display to HTML
- Paste your UCP JSON wrapped in a pre tag:
<pre id="ucp-profile" style="display:none;">
{
"profile_version": "1.0",
"merchant": {
"name": "Your Store Name",
"url": "https://yourstore.com"
}
}
</pre>
<script>
// Redirect to show raw JSON
const pre = document.getElementById('ucp-profile');
const json = pre.textContent;
document.body.innerHTML = '<pre>' + json + '</pre>';
</script>- Go to Pages
- Drag the UCP Profile page to Not Linked section
This creates an alternative endpoint at /ucp-profile, not the standard /.well-known/ucp. You'll need to specify this URL when validating or registering your store.
Schema.org Markup
Squarespace automatically adds basic Schema.org markup for products. To enhance it, use Code Injection:
- Go to Settings β Advanced β Code Injection
- Add structured data in the Header section:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Your Store Name",
"url": "https://yourstore.com",
"sameAs": [
"https://instagram.com/yourstore",
"https://twitter.com/yourstore"
]
}
</script>Squarespace Commerce already adds Product schema to product pages. Test with Google's Rich Results Test.
Validate Your Implementation
Validate Your Squarespace Store
Check your UCP implementation and AI commerce readiness.
Run Validation βCommon Issues & Solutions
| Issue | Solution |
|---|---|
Can't create /.well-known/ | Use external hosting with Cloudflare Worker or DNS redirect |
| Page shows Squarespace template | Use Code Block with script to replace body content |
| CORS errors | Ensure external host sets Access-Control-Allow-Origin |
| Code injection not working | Ensure you have Business plan or higher |
π€ Test with AI Agents
Run AI Agent Simulation
Test how AI shopping agents will interact with your Squarespace store.
Open Simulator βResources
- Official UCP Specification
- Squarespace Code Injection Guide
- Cloudflare Workers Documentation
- What is UCP? Complete Guide
- UCP vs Schema.org Comparison
- Compare UCP Validation Tools
- Security Scan Your UCP Setup
- Verify Your Domain
- Check ACP (ChatGPT Shopping) Readiness
- All Platform Guides
- Browse UCP-Enabled Stores
Frequently Asked Questions
Can Squarespace stores use UCP?
Yes, but with a workaround. Squarespace cannot natively serve files at the /.well-known/ path. You need a Cloudflare Worker (or similar edge function) to intercept requests to /.well-known/ucp and return your UCP profile.
Why does Squarespace need a Cloudflare Worker for UCP?
Squarespace does not allow custom file uploads to the .well-known directory or custom server-side routing. A Cloudflare Worker acts as a proxy in front of your Squarespace site, intercepting UCP requests before they reach Squarespace.
Will a Cloudflare Worker affect my Squarespace site speed?
No. Cloudflare Workers run on the edge (close to your visitors) and only intercept the specific /.well-known/ucp path. All other requests pass through to Squarespace normally with no added latency.
Is there a simpler alternative to UCP for Squarespace?
For basic AI discoverability, ensure your Squarespace products have Schema.org markup (built-in on most templates). For full UCP with checkout capability, the Cloudflare Worker method is currently the only option. Check your ACP readiness with our free ACP checker as an alternative path.
How do I validate UCP on my Squarespace site?
After setting up the Cloudflare Worker, use the free UCPtools validator at ucptools.dev. Enter your domain and it will verify the UCP profile is being served correctly through the Worker proxy.
