What Is the Universal Commerce Protocol (UCP)?

The Universal Commerce Protocol (UCP) is an open standard from Google and retail partners for agentic product discovery, checkout, and orders.

The Universal Commerce Protocol (UCP) is an open-source standard that defines a shared language between AI consumer surfaces, shopping agents, merchants, and payment providers. Announced by Google in January 2026 with retail and commerce partners including Shopify, Etsy, Wayfair, Target, and Walmart, UCP replaces custom one-off integrations with a unified interface for discovery, cart building, identity linking, checkout, and order management.

With UCP, a shopper can move from product research to checkout inside an AI surface such as Google AI Mode or Gemini while the business stays the Merchant of Record.

How does the Universal Commerce Protocol work?

UCP organizes commerce capabilities using reverse-domain identifiers (such as dev.ucp.shopping.checkout and dev.ucp.shopping.fulfillment) tied to published JSON schemas. A merchant publishes a business profile advertising its supported protocol version and capabilities, and an agent or platform negotiates active capabilities at runtime.

  • Transport bindings. UCP runs over standard HTTP REST (POST /checkout-sessions with Idempotency-Key and UCP-Agent headers), Model Context Protocol (MCP), and Agent2Agent (A2A) transports.
  • Identity linking. OAuth 2.0 flows allow returning customers to apply loyalty status, member pricing, and saved addresses safely.
  • Payment interoperability. Modular payment handlers connect to Google Pay, wallets, and the Agent Payments Protocol (AP2) using signed mandates rather than exposing raw card numbers.
  • Order lifecycle and attribution. In the 2026-08-25 specification, checkout sessions accept an optional attribution object for campaign, click, and source markers, which UCP copies onto the created order as a read-only snapshot alongside adjustments for returns and refunds.

A concrete example

A shopper asks Gemini to order running shoes from a UCP-enabled retailer. The platform discovers the retailer's UCP profile, negotiates dev.ucp.shopping.checkout, and creates a checkout session via POST /checkout-sessions with a UCP-Agent header pointing to the platform's profile URL and an attribution object carrying campaign parameters.

Once the shopper confirms payment via Google Pay and AP2 mandates, the retailer's backend receives the order directly. Because no browser thank-you page loaded on the store's website, client-side pixels miss the conversion unless the retailer records the order server-side with its protocol version and attribution snapshot.

Common measurement pitfalls

  • Relying on browser tags to count UCP orders. Checkout inside an AI interface skips the store's client-side confirmation page, leaving GA4 and browser pixels blind.
  • Assuming attribution is always populated. UCP defines attribution as optional; when a calling platform leaves it empty, analytics systems cannot reconstruct the original prompt or ad click.
  • Dropping UCP-Agent and spec versions at collection time. Storing only a flattened channel name hides which platform initiated the order and makes re-mapping harder when UCP schemas update.
  • Ignoring post-order adjustments. Reporting gross checkout value without syncing UCP refunds and cancellations inflates net revenue and misleads value-based bidding.

How Hardal helps

Hardal is the first-party data and agentic analytics platform. It captures UCP and backend orders server-side, preserves raw UCP-Agent and attribution payloads alongside consent state, and routes verified conversions to Google, Meta, and TikTok without needing a browser thank-you page. To see how UCP compares with ACP, MCP, and AP2 in a measurement stack, read Agentic Commerce Protocols: MCP, ACP, UCP and AP2 Explained and Agentic commerce.

Frequently asked questions

What is the Universal Commerce Protocol (UCP)?

The Universal Commerce Protocol (UCP) is an open, vendor-neutral specification announced by Google in January 2026 with partners including Shopify, Etsy, Wayfair, Target, and Walmart. It standardizes how AI agents discover merchant catalogs, build carts, link accounts, run checkout, and manage post-purchase orders across REST, MCP, and A2A transports.

Does the merchant remain the Merchant of Record under UCP?

Yes. UCP is designed so businesses retain control of business logic, pricing, fulfillment, customer relationships, and Merchant of Record status even when checkout runs inside an external AI surface such as Google AI Mode or Gemini.

How does UCP handle marketing attribution?

In the 2026-08-25 UCP specification, a checkout session can carry an optional attribution object with campaign IDs, click IDs, and source or medium markers, and the calling platform identifies itself via the UCP-Agent header. When present, that attribution object is copied onto the order as a read-only snapshot.

What is the difference between UCP and ACP?

ACP (Agentic Commerce Protocol) comes from OpenAI and Stripe and focuses on product feeds and checkout sessions with an affiliate_attribution field. UCP covers the broader commerce lifecycle from discovery and identity linking to checkout, order adjustments, and Agent Payments Protocol (AP2) payment mandates.

How do UCP and AP2 work together?

UCP handles discovery, cart, checkout, and order lifecycle, while the Agent Payments Protocol (AP2) handles cryptographic payment authorization through verifiable checkout and payment mandates that prove a user consented to the transaction.

Hardal is the first-party data and agentic analytics platform.

We help enterprises send accurate signals to their ad platforms and grow revenue, using server-side data from their websites, mobile apps and AI agents.