Ecommerce Academy · Chapter 10
When an AI agent is the shopper
When an AI agent is the shopper, a program visits your store for a person: it searches, opens product pages, compares options, and sometimes fills a cart or checks out once that person confirms. It uses the same pages your customers do, so anything that confuses it there can cost you the order. Google says browser agents may read a page by analyzing screenshots, the DOM and the accessibility tree, not by looking at it the way a person does.
How to recognize one
More agents now identify themselves. Google documents a Google-Agent user agent for agents on its infrastructure acting on a user's request, and says user-triggered fetchers generally ignore robots.txt. OpenAI says the cloud browser in ChatGPT Work signs its requests with Web Bot Auth, so a CDN or firewall can verify them, and that at launch it can't sign in to websites or complete payments. The practical point: robots.txt won't decide whether an agent gets in, but your bot management settings will. The lesson on CDN and firewall blocks shows where those settings hide.
What trips an agent up
Google's web.dev team has published guidance for agent-friendly sites. The points that matter most in a store:
- buttons and links built as real
<button>and<a>elements, not styled boxes - form fields with labels, so an agent knows which box wants the postal code
- no invisible overlays sitting on top of buttons and links
- a stable layout, with the add-to-cart button in the same place on every product page
- every step shown on the page, including choosing a variant and a delivery option
Add a few store checks of your own. Write price, stock and delivery time as text near the buy button. Make choosing a size or color change the page text, not only a picture. If checkout requires an account, an agent that can't sign in stops there, so keep guest checkout if you offer it. Pages that build their content with scripts add risk too; the lesson on JavaScript and headless storefronts covers that.
Keep the price you showed
Agents hold you to the number they were shown. Google Pay's help says its agentic checkout stops the purchase without charging the shopper if the final price rises above what they confirmed. A fee that appears only at the last step looks exactly like that.
This week
Buy your best-selling product on your own site using only the keyboard, then again with your browser's accessibility tree open in its developer tools. Any step you can't complete or can't identify that way is a step an agent may fail. Then check whether your firewall recognizes signed agents, and send a real agent through the same purchase to see where it stops.
Sources
- Google Search Central, "Optimizing your website for generative AI features on Google Search", last updated July 10, 2026 (opens in a new tab)
- Google Crawling Infrastructure, "Google User-Triggered Fetchers", last updated August 19, 2026 (opens in a new tab)
- OpenAI Help Center, "ChatGPT Work's Cloud browser allowlisting", accessed October 8, 2026 (opens in a new tab)
- web.dev, "Build agent-friendly websites", last updated April 1, 2026 (opens in a new tab)
- Google Pay Help, "About Agentic checkout with Google Pay", accessed October 8, 2026 (opens in a new tab)