Getting started with GateStocked.
Install the plugin, see which AI agents come, and choose who gets in.
Requirements
- WordPress 6.5 or newer
- WooCommerce 9.6 or newer
- PHP 7.4 or newer with the sodium extension (included in PHP by default)
Install
- In WordPress, open Plugins → Add New Plugin.
- Search for GateStocked. The plugin is listed in the WordPress.org plugin directory.
- Click Install Now, then Activate.
- Open WooCommerce → GateStocked.
No access to the plugin search? Download the ZIP and upload it in Plugins → Add New Plugin → Upload Plugin.
Visits are counted from the moment you activate the plugin. Crawlers come on their own schedule, so give it a day before you judge the numbers.
Agent types
- Shopping assistants: ChatGPT agent, ChatGPT-User, Perplexity-User, Claude-User and others open your pages because a person asked about a product, or shop for them. Keep them in.
- AI search: OAI-SearchBot, PerplexityBot, Claude-SearchBot and Applebot read pages so your products can appear in AI answers. Keep them in.
- AI training crawlers: GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, Meta-ExternalAgent, CCBot, Bytespider and Amazonbot collect pages to train models. Asking them to stay out does not remove you from AI answers.
- Ad checks: OAI-AdsBot visits the landing pages of ads in ChatGPT.
- Search engines: Googlebot and Bingbot, shown for comparison and never blocked. Their results also feed Gemini, AI Overviews and Copilot.
Overview
The Overview shows AI agent requests by type for the last 7 days, 30 days, 90 days, 12 months or 2 years, the top agents, the products they opened, the kinds of pages they asked for and a summary of the store checks. “Fake or turned away” counts requests that failed the check and requests GateStocked answered with 403 or 429.
Agents and rules
The Agents tab lists every agent with how it is checked, its requests and when it was last seen. Choose a rule for each:
- Let in: nothing changes.
- Ask to stay out (robots.txt): GateStocked adds the agent to the robots.txt WordPress serves. Honest crawlers follow it within about a day.
- Turn away (403): robots.txt plus a 403 Forbidden answer to every request of the agent, for crawlers that ignore robots.txt.
Recommended for stores sets shopping assistants, AI search and ad checks to Let in and training crawlers to Ask to stay out. Let everyone in resets all rules. robots.txt itself always stays open, so agents can read the rules.
If robots.txt is a real file on your server, WordPress cannot change it. The Checks tab then shows the lines to add to the file yourself.
Real or fake
- Signature: ChatGPT agent signs its requests with Web Bot Auth (HTTP Message Signatures, RFC 9421). GateStocked downloads the public keys from the signer’s site and checks every signed request. Agents that sign but are not in the list appear as “Other signed agents”, by the site that signed.
- Address list: OpenAI, Perplexity, Apple, Google and Bing publish the addresses of their crawlers. GateStocked downloads them once a day and checks each request. A request with their name from another address is counted as fake.
- Name only: the company publishes neither, so the agent is recognized by its user agent only.
Checks
The Checks tab looks for what can keep AI agents away: a site hidden from search engines, “Coming soon” mode, robots.txt rules that block AI agents from product pages, a robots.txt file WordPress cannot change, Cloudflare in front of the site, a page cache and a proxy that hides visitor addresses. The tester tells you which agent a User-Agent line from your server log belongs to.
Settings
- Check agents against the address lists: on by default. Off, agents are recognized by name only and no lists are downloaded.
- Count Googlebot and Bingbot too: shown apart from AI agents.
- Visitor address: Automatic works for direct hosting, Cloudflare and most proxies. Choose a header only if your host tells you to: a wrong choice lets anyone fake an agent.
Pro
GateStocked Pro is an add-on to the free plugin.
- Install and activate the free GateStocked plugin.
- After checkout, open the email from Stocked Labs. It has the Pro download and your license key. Both are also in your customer account.
- Open Plugins → Add New Plugin → Upload Plugin, choose the
gatestocked-prozip, click Install Now, then Activate. - Open WooCommerce → GateStocked → Pro, click Activate license and paste your license key.
What Pro adds
- Fake agents: requests that use a checked agent’s name but fail the signature or address check get 403.
- Rate limits per agent type, in requests per minute. Above the limit the agent gets 429 Too Many Requests with Retry-After. Defaults: no limit for assistants, 120 for AI search, 30 for training crawlers, 60 for ad checks.
- Protected pages: AI search, training and ads crawlers get 403 on cart, checkout and add-to-cart links, my account, filter and sorting links and store search, and robots.txt asks every crawler to skip them. Shopping assistants and search engines keep access.
- Your own agents: one per line,
Name | text in the user agent | type. They get rules on the Agents tab like built-in agents. - CSV export of the daily counts for the whole history and a weekly email every Monday.
For developers
gatestocked_agentsfilters the list of agents; add your own with name, operator, type, ua and robots keys.gatestocked_actionfilters what happens to an agent request:allowed,blocked(403) orlimited(429).gatestocked_signersfilters the known Web Bot Auth signers, andgatestocked_cloudflare_rangesthe Cloudflare address ranges.gatestocked_robots_star_linesadds lines to theUser-agent: *group of robots.txt.gatestocked_retention_dayssets how long daily counts are kept (7 to 730 days).gatestocked_loggedruns after an agent request is counted.
Troubleshooting
No AI agents are counted
Check Cloudflare: Security → Bots can block AI crawlers before they reach your server. Check your page cache: pages served from the cache never run WordPress. The Checks tab shows both.
Real agents are counted as fake
Your site is probably behind a proxy that GateStocked does not see. Open Settings → Visitor address; the note under it says whether this page came through Cloudflare or a proxy. Ask your host which header carries the visitor address.
My robots.txt does not change
A real robots.txt file in the site folder replaces the one WordPress builds. Add the lines from the Checks tab to that file, or delete it.
Still stuck? Contact us.