跳到内容

Tactical — AI Agent Analytics for WooCommerce

v1.6.0

sourabhnk · 2026年5月21日 上架

See the AI crawlers, agent browsers and AI-referred buyers on your WooCommerce store, and which orders AI agents placed.

正在使用
10 以下
评分
暂无
累计下载
1,430
最近更新
2026年11月18日
需要 WordPress 6.3+已测试到 7.1.5PHP 7.4+

贡献者

AI assistants are shopping WooCommerce stores. Some send crawlers that never run JavaScript, some drive a browser that behaves like a person, and some send people who then buy. Standard analytics sees little of it: Google Analytics excludes known bots, and you can’t turn that off (Google Analytics Help); crawlers never fire an analytics tag; and an agent browser is counted as a person.

This plugin connects your store to Tactical, a third-party service at https://tactical-app.work, which shows you the rest. The plugin installs the storefront script, adds server-side crawler detection and registers the WooCommerce webhooks; the dashboard lives in your Tactical account.

What you get:

  • AI crawlers, server-side — when a known AI crawler requests a page, the plugin records it, no JavaScript needed. A hit is marked verified only when its IP matches the operator’s published range. Nothing is sent for human visitors.
  • Agent browsers, by behaviour — sessions driven by an agent, including ones that never name themselves, are scored on how the session behaves. A score is a probability, not a verdict.
  • AI-referred buyers — people who arrive from ChatGPT, Perplexity, Gemini, Copilot and other assistants.
  • Agent revenue — every order is labelled: Agent order, Agent order (session match) or AI-referred order, each saying how sure it is, and the two kinds are never added together. Agent orders include ones placed in an agent checkout, such as Stripe’s agentic checkout, which no browser pixel sees.
  • Evidence for every agent order — a record of the order, how it was attributed, the matched session and any Tactical Gate decisions, downloadable as PDF and JSON for disputes and returns. It holds no buyer name, email, address or IP address.
  • Drop Watch — tell Tactical when a release goes live and get a report afterwards: every add-to-cart and checkout attempt in the window, who made it (people, AI agents, requests with no browser) and when. Free, and nothing on your store is blocked or changed. A sample is at https://tactical-app.work/drop-watch.
  • Tactical Gate (beta) — rules for AI agents by product, cart and checkout, starting in Observe mode. It is in a private beta; join the list at https://tactical-app.work/waitlist.
  • Personal Agent Protocol (beta) — personal agents that use the protocol send a signed session with each request. The plugin verifies it, so the Gate knows which agent it is and the order is attributed to that agent. When you publish it from your Tactical dashboard, the plugin also serves your discovery file at /.well-known/poppy.json, with your Gate rules as the tasks agents are asked not to do.

Tactical pricing — managed at tactical-app.work:

The plugin works on every plan, including the free one. Agent revenue and evidence are on every plan, with the plan’s history.

  • Scout — free — 7-day monitor, top 3 agent types, AI Search report, 100 agent sessions/week. No credit card.
  • Radar — $39/mo — 90-day history, all agent types, intent signals, product interest map (top 50), 10,000 agent sessions/mo.
  • Command — $129/mo — everything in Radar, plus marketplace-referral and price-check signals, unlimited products, 50,000 agent sessions/mo.

Annual plans save about 25%.

Multi-platform:

This plugin is for WooCommerce. The same Tactical account also works on Shopify (via the Shopify App Store) and on any custom storefront (via a script tag).

External services

This plugin connects to Tactical at https://tactical-app.work — a third-party AI agent analytics service operated by the plugin author. The plugin requires an active Tactical account (free Scout tier is sufficient) to function. Without an API key configured on the settings page, no requests are made.

Endpoints used:

  • Snippet ingest — https://tactical-app.work/api/ingest. The detection script (https://tactical-app.work/snippet.js) loads on every storefront page view and posts an event payload containing: a random session ID, the page path and query string, the referrer, the user-agent string, scroll/mouse/timing heuristics, product context read from the page, and your store’s domain (never your API key, which stays on the server). No names, emails, payment data or form contents are sent. From 1.5.0 the script also sets one first-party cookie on your store, _tac_sid, holding that random session ID for up to 30 minutes, so the plugin can tell which browser session a cart or checkout request belongs to.
  • Server-side crawler detection — https://tactical-app.work/api/ingest/server. Only when a request’s user-agent matches a known AI crawler or agent in Tactical’s registry: the user-agent, the page URL and the request’s IP address (used to check it against the operator’s published IP ranges, then discarded). Human visitors trigger nothing.
  • Connection verification — https://tactical-app.work/api/verify-connection. Triggered only when an admin clicks “Verify connection” on the settings page. Sends only your API key (in a request header) so Tactical can confirm the key belongs to this store. No event data.
  • WooCommerce webhooks — https://tactical-app.work/api/wc-webhook/<topic>. Once an API key is saved, four webhook subscriptions are registered with WooCommerce (order.created, order.updated, product.created, product.updated). WooCommerce delivers these payloads directly to Tactical with WC’s standard HMAC signature when matching events occur on your store. Payload contents are WooCommerce’s standard webhook bodies (order or product objects).

  • Tactical Gate policy (1.2.0) — https://tactical-app.work/api/gate/policy. Fetched at most once every five minutes with your API key in a header, and only re-downloaded when it changed. Sends nothing about your visitors.

  • Tactical Gate decisions (1.2.0) — https://tactical-app.work/api/gate/decisions. Sent in batches by WP-Cron: for each recorded decision, the time, the page path (no query string), the agent’s name and category if it declared one, the rule and the outcome, and a one-way hash of the visitor’s IP address and user-agent (never the IP itself). Every request a rule acted on is recorded; other requests about 1 in 100 sessions, except during a Drop Watch window you set, when every add-to-cart and checkout attempt is recorded. From 1.5.0 a decision also carries the _tac_sid session ID when the visitor has that cookie; Tactical keeps it only for Drop Watch decisions.
  • Tactical Gate session reputation (1.3.0) — https://tactical-app.work/api/gate/reputation. At add-to-cart and checkout only, for a visitor that names no agent: the same one-way hash, to ask whether Tactical classified that session as an agent browser. Half-second timeout, cached for 30 seconds.

  • Agent key directories (Tactical Gate, 1.4.0) — when a request to your store carries a Web Bot Auth signature (the Signature, Signature-Input and Signature-Agent headers) naming a signer in Tactical’s agent registry, the plugin fetches that signer’s public key directory to check the signature: https://chatgpt.com/.well-known/http-message-signatures-directory (OpenAI, ChatGPT agent) or https://agent.bot.goog/.well-known/http-message-signatures-directory (Google, Google-Agent). It is a plain GET with no cookies and nothing about your store or its visitors, made at most once per five minutes to an hour per signer (the answer is cached in a transient), and only while the Gate has a policy. Unsigned requests, the usual case, fetch nothing. OpenAI: https://openai.com/policies/terms-of-use and https://openai.com/policies/privacy-policy. Google: https://policies.google.com/terms and https://policies.google.com/privacy.

  • Personal agents’ own sites (Personal Agent Protocol, 1.6.0) — when a request to your store carries a Poppy-Session header, the plugin fetches the client metadata document at the URL the agent names as its identity (its client_id), then the public keys that document points to on the same domain, to check the session’s signatures. These are the agent operator’s servers, not Tactical’s. It is a plain GET with no cookies and nothing about your store or its visitors, never follows a redirect, refuses private and local addresses, and is cached for an hour. For an agent in Tactical’s registry it may happen during the request (one-second timeout); for any other agent it happens in the background by WP-Cron, at most ten new agents every ten minutes. Requests without the header, the usual case, fetch nothing. Each agent operator’s own terms and privacy policy apply to its servers.

  • Tactical Gate policy, with the discovery file (1.6.0) — the policy request above also returns your Personal Agent Protocol discovery file and tasks response when you have published them in your Tactical dashboard; the plugin serves them at /.well-known/poppy.json and /wp-json/tactical/v1/poppy/tasks. A Gate decision made in a verified agent session also carries that agent’s client_id and whether the session was signed in. An order placed in a verified session gets one order meta field, _tactical_pap, which reaches Tactical with the order webhook: the agent’s client_id, its session ID, and the person it acted for only as a hash salted for your store.

Conditions: events are only sent after you paste a valid API key on the settings page. Without a key, the snippet does not load, no requests are made, and no webhooks are registered.

Service terms:

  • Tactical Privacy Policy: https://tactical-app.work/privacy
  • Tactical Terms of Service: https://tactical-app.work/terms

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums