---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Collect browser events from your workspace app

Browser event streams can follow the workspace app's production address automatically.

If your app records page views or purchases in a browser event stream, the source can now be the app's own production address. A copied workspace uses its own address, and changing the production domain updates collection without another workspace deployment.

Tell the coding agent you build with to make the production app an allowed browser source for its event stream, rather than fixing the current domain in the stream. The browser sends from that origin; preview addresses are outside this rule. The same stream can also admit explicitly named external sites and server-side senders.
