◼️ 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.

πŸ€– AI Agent Ready⚠️ Limited SupportπŸ”§ Developer Required🎨 Design First

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:

  1. Activate managed hosting in your UCPtools dashboard to get a hosted profile URL.
  2. Put your domain behind Cloudflare (free) and add a Worker that proxies /.well-known/ucp to that hosted URL (the Worker setup above covers this).
  3. 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
⚠️ No Native UCP Support Yet

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 Limitation

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

MethodDifficultyRequirements
External Hosting + RedirectEasyCustom domain, external host
Code Injection PageMediumBusiness plan or higher
Cloudflare WorkerMediumCloudflare DNS

Method 1: External Hosting (Recommended)

Host your UCP profile externally and redirect requests to it.

1Generate Your UCP Profile

Generate Your UCP Profile

Create a customized UCP profile for your Squarespace store.

Open Generator β†’
2Host Your Profile

Upload your UCP JSON file to one of these free services:

Option A: GitHub Gist (Free)

  1. Go to gist.github.com
  2. Create a new gist with your UCP JSON
  3. Click "Raw" to get the direct URL

Option B: JSONBin (Free)

  1. Go to jsonbin.io
  2. Create an account and paste your JSON
  3. 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 --prod
3Set Up DNS Redirect

If 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).

1Create a New Page
  1. In Squarespace, go to Pages β†’ + β†’ Blank Page
  2. Name it "UCP Profile" or similar
  3. Set the URL slug to ucp-profile
2Add Code Block
  1. Add a Code Block to the page
  2. Set display to HTML
  3. 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>
3Hide from Navigation
  1. Go to Pages
  2. Drag the UCP Profile page to Not Linked section
⚠️ Important

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:

  1. Go to Settings β†’ Advanced β†’ Code Injection
  2. 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>
πŸ’‘ Pro Tip

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

IssueSolution
Can't create /.well-known/Use external hosting with Cloudflare Worker or DNS redirect
Page shows Squarespace templateUse Code Block with script to replace body content
CORS errorsEnsure external host sets Access-Control-Allow-Origin
Code injection not workingEnsure 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

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.