Complete data flow from Webflow exports through Workers, Xano, n8n, GTM/GA4, and Universal Commerce Protocol
┌─────────────────────────────────┐
│ CLOUDFLARE REVERSE PROXY │
│ + CDN + WAF │
└────────────┬────────────────────┘
│
┌──────────────┴──────────────┐
│ │
▼ ▼
┌─────────────────────────┐ ┌─────────────────────────────┐
│ XANO MIDDLEWARE │ │ STATIC ASSET HOSTING │
│ + OpenAI API │ │ │
└───────┬─────────────────┘ │ ┌───────────────────────┐ │
│ │ │ Netlify (Primary) │ │
│ │ │ + Edge Functions │ │
│ │ └───────────────────────┘ │
│ │ │
│ │ Alternative Deployments: │
│ │ ┌───────────────────────┐ │
│ │ │ Cloudflare Pages │ │
│ │ │ GitHub Pages │ │
│ │ │ Vercel │ │
│ │ │ Replit Deploy │ │
│ │ └───────────────────────┘ │
│ └─────────────────────────────┘
│
┌─────────┼─────────┐
│ │ │
▼ ▼ ▼
┌─────────┐ ┌────────┐ ┌──────────────────────────┐
│ Shopify │ │ GTM │ │ UCP Endpoint │
│Metaobjs │ │DataLyr │ │ /.well-known/ucp │
│(Customer│ │ │ │ │
│ Data │ │ ┌─────▼──────────────┐ │
│ Store) │ │ │ GA4 Events │ │
│ │ │ │ - consent_updated │ ┌─────────▼────────────┐
│ │ │ │ - purchase │ │ UCP Capabilities │
│ │ │ │ - page_view │ │ - Product Discovery │
│ │ │ │ - add_to_cart │ │ - Cart │
│ │ │ └────────────────────┘ │ - Identity linking │
│ │ │ │ - Checkout │
│ │ │ │ - Order │
└─────────┘ └──────────────────────────┴──────────────────────┘
Cloudflare Reverse Proxy forks traffic to two parallel paths:
This separation enables:
GTM/GA4 and UCP work as complementary layers:
Both layers fire simultaneously on user actions, providing redundancy and complete observability.
Webflow Export + Alpine.js
Cloudflare Workers
Xano + OpenAI GPT-4o
Shopify Meta Objects
n8n Workflows
GTM/GA4 + BigQuery
User updates consent preferences in Webflow-exported HTML form with Alpine.js data binding
Browser Service Worker intercepts POST request, queues in IndexedDB if offline
Request hits Cloudflare Worker at edge, applies security policies, routes to Xano
Xano middleware validates JWE token, calls OpenAI GPT-4o for user segmentation (200-500ms)
Xano updates Shopify Meta Object via GraphQL with consent preferences and AI segment tags
Frontend pushes consent_updated event to GTM DataLayer, fires to GA4 for analytics
Xano webhook triggers n8n workflow, streams consent data to BigQuery within 1-2 seconds
/.well-known/ucp JSON updated with latest consent capabilities for AI agent discovery
| Platform | Build Time | Edge Locations | Custom Domains | Best For |
|---|---|---|---|---|
| Netlify (Primary) | ~45s | Global CDN | Unlimited (paid) | Jamstack sites, edge functions, form handling, A/B testing |
| Cloudflare Pages | ~30s | 300+ PoPs | Unlimited (free) | Worker integration, ultra-low latency |
| GitHub Pages | ~60s | Fastly CDN | 1 custom domain | Open-source projects, documentation |
| Vercel | ~40s | Edge Network | Unlimited (paid) | Next.js applications, serverless functions |
| Replit Deploy | ~20s | Regional | Custom domains (paid) | Rapid prototyping, educational projects |