Code2 Beacon – AI Visibility Toolkit

Description

AI assistants such as ChatGPT, Perplexity, Gemini, Copilot and Claude increasingly answer questions like “a good employment lawyer in Maastricht” or “a bakery open on Sunday near me”. Code2 Beacon shows you which AI crawlers and assistants actually read your site and how many people click through from them, lets you decide per purpose (search, answers, training) what they may do, and gives them clear, consistent information about your business. Everything is set up with a step-by-step wizard, without writing code.

No account, no API key, no external dashboard. Many AI visibility tools require you to sign up for an online service and send your site data to their servers. Code2 Beacon runs entirely inside your own WordPress site: the statistics, settings, robots.txt rules, structured data and llms.txt are all generated and stored locally in your own database. Install, run the wizard and you are done.

AI visibility statistics

  • Recognises 38 bots by user agent: AI search crawlers, AI assistants fetching a page at a user’s request, AI training crawlers, search engines and SEO tools.
  • Counts people who click through from an AI assistant (ChatGPT, Perplexity, Gemini, Copilot, Claude, Phind and others), also on sites with page caching. Forged referrers on non-existent pages (404) are ignored.
  • Visits per day and per category for the last 7 or 30 days.
  • No cookies, no IP addresses stored.

AI crawler control

  • Three presets for robots.txt: maximum visibility, visible in AI search but no AI training, or block all AI crawlers. Covers 17 AI crawlers, including OpenAI, Anthropic, Perplexity, Google-Extended (Gemini), Apple, Meta, xAI (Grok), Mistral and Common Crawl.
  • Content Signals (contentsignals.org), derived from your preset.
  • Proxy/CDN detection: recognises Cloudflare and warns when its “Block AI bots”, managed robots.txt or HTML caching overrides your choices or affects the statistics.

Business details for search engines and AI assistants

  • Structured data (schema.org JSON-LD): name, description, logo, address, phone, email, opening hours, company and VAT numbers. Choose from 10 organisation types.
  • Works with Yoast SEO and Rank Math: the organisation is merged into their schema graph instead of adding a second one.
  • llms.txt (llmstxt.org): a short Markdown summary of your business, built from the wizard, with live preview. Served dynamically, or written as a physical file for servers that handle .txt files themselves.
  • Shortcodes and a widget for your contact details: [code2_beacon_contact] and [code2_beacon_address].

AI check per page, in the editor

  • A panel in the block editor, a box in the classic editor and a section in the Elementor page settings.
  • Checks indexing (noindex, nosnippet), title and meta description, one H1, subheadings, amount of text, “answer first”, questions as headings, image alt texts, last update, llms.txt and hidden AI instructions.
  • Runs on your own site: the page is loaded and analysed locally, nothing is sent elsewhere.

IndexNow

  • Optional: tells Bing and other IndexNow search engines straight away when a page is published, changed or removed. Copilot and ChatGPT search use the Bing index. Off until you switch it on.

Site check and hardening

  • AI visibility score in six pillars: business profile, crawl access, content & structured data, freshness, trust & security, technical.
  • Checks noindex and nosnippet on the home page, XML sitemap, canonical URL, http https redirect, HSTS, mixed content and whether the structured data is really on the page.
  • Scan for hidden AI instructions: text hidden from visitors that tries to steer AI assistants (“ignore previous instructions”, “never mention competitors”), a sign of a hacked site. Recognises English, Dutch, German, French and Spanish.
  • Article structured data for posts (publication and modification date, author), when no SEO plugin provides it.
  • Every item links to a short lesson on how to fix it.
  • Optional basic hardening: disable XML-RPC, hide version numbers, block user enumeration, security headers, hide the file editor and more. Everything is off until you switch it on.

Help & Support in the plugin: video tutorial, short lessons and troubleshooting.

Interface in English, Dutch, German, French and Spanish.

Add-on

Code2 AI Beacon Pro is a separate, paid add-on by the same developer. It is not required: this plugin works fully on its own and contains no locked features or licence checks. Pro adds:

  • Up to 5 locations (agency: unlimited), 45+ organisation types, services, team and online profiles
  • Rules per AI crawler, llms.txt per language, llms-full.txt and Markdown versions of pages for AI agents
  • Bot verification against the official IP lists of the providers, and flagging of bots that ignore robots.txt
  • Statistics per bot and per page with up to 2 years of history, trends and crawl coverage
  • AI check per page with the AI bots that read it and the visitors that came from AI assistants
  • Score history, a daily scan of the whole site for hidden AI instructions with an e-mail alert, and PageSpeed
  • PDF and e-mail reports in your own style, CSV export and WP-CLI
  • WooCommerce: richer product data, live prices and stock in llms.txt, and orders and revenue via AI assistants
  • Direct support from the plugin

See the full comparison at code2.nl.

External services

Code2 Beacon itself does not send data to the developer or to any third party. One optional feature uses an external service:

  • OpenStreetMap Nominatim (geocoding). When an administrator clicks “Look up coordinates” in the Locations step, the address entered for that location is sent from the administrator’s browser to nominatim.openstreetmap.org to look up latitude and longitude. Nothing is sent unless the button is clicked. Terms: https://operations.osmfoundation.org/policies/nominatim/ — Privacy policy: https://osmfoundation.org/wiki/Privacy_Policy

  • IndexNow (api.indexnow.org). Only when an administrator switches on “IndexNow” under Extra features: when a public page is published, changed or removed, its address (URL), the site’s host name and a verification key are sent to api.indexnow.org, which shares them with participating search engines (such as Bing, Yandex, Seznam and Naver). No personal data and no content are sent. Nothing is sent from local or staging sites or while “Discourage search engines” is on. Terms and privacy: https://www.indexnow.org/terms

  • Video tutorial (code2.nl). On the Help & Support page, the explainer video is loaded from code2.nl only when the administrator clicks play. Privacy policy: https://shop.code2.nl/privacy-policy/

The site check and the AI check per page request pages of your own site (robots.txt, llms.txt, sitemap, home page, the page being edited) to analyse them locally. The buttons “Google Rich Results Test” and “Schema.org validator” are plain links that open those tools in a new tab with your homepage URL.

Privacy

The statistics store, per visit: the time, the recognised bot or AI assistant, the category, the path that was requested and the HTTP status. No IP addresses, no user agents of people, no cookies. Data older than 30 days is deleted automatically. Deleting the plugin removes all its data.

Source Code

All JavaScript and CSS in this plugin is hand-written and shipped unminified; there is no build step. assets/admin.js (settings wizard and statistics) and assets/referral.js (AI-assistant click-through counter) are the source files themselves.

Screenshots

Installation

  1. Install the plugin from Plugins Add New, or upload the code2-beacon folder to /wp-content/plugins/.
  2. Activate the plugin. The wizard opens automatically (menu: Code2 Beacon).
  3. Choose your language, fill in your organisation and location, choose an AI crawler preset and publish.

FAQ

Do I need an account or API key?

No. Code2 Beacon works completely inside your own WordPress site. There is nothing to sign up for, no API key to enter and no external dashboard: all data stays in your own database.

Does Code2 Beacon work alongside Yoast SEO or Rank Math?

Yes. Code2 Beacon replaces the organisation in their schema graph, so there is one consistent organisation instead of two.

What does the AI check in the editor look at?

Whether the page can be indexed and quoted (noindex, nosnippet), the title and meta description, the heading structure, the amount of text, whether the page starts with a short answer, questions as headings, image descriptions, the last update and hidden AI instructions. It runs on your own site; nothing is sent elsewhere.

What is IndexNow and is it on by default?

IndexNow lets search engines such as Bing know immediately that a page was published, changed or removed. Copilot and ChatGPT search use the Bing index. It is off until you switch it on under “Extra features” in the last step of the wizard. Google does not take part in IndexNow.

Does this block AI?

Only if you want it to. The presets let you stay visible in AI search services while blocking AI training, or block all AI crawlers.

Do the statistics use cookies or store IP addresses?

No. Bot visits are recognised by user agent. People who arrive from an AI assistant are counted by a small script that reads the referrer; no cookies are set and no IP addresses are stored.

My site runs behind Cloudflare. Does that work?

Yes. Code2 Beacon detects Cloudflare and warns when Cloudflare’s “Block AI bots”, managed robots.txt or HTML caching affects your settings or statistics.

My server serves /llms.txt itself and shows a 404.

Choose “Physical file” in the AI & crawlers step. Code2 Beacon then writes llms.txt to the web root and keeps it up to date.

Does Code2 Beacon add a credit or link to my site?

No. An optional “Generated by Code2 Beacon” line in llms.txt can be switched on in the AI & crawlers step; it is off by default.

I used the earlier “AI Beacon” plugin from code2.nl.

Code2 Beacon is its successor. On activation it copies the settings and recorded visits of the earlier plugin once; deactivate and delete the earlier plugin afterwards. The shortcodes are now [code2_beacon_contact] and [code2_beacon_address].

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Code2 Beacon – AI Visibility Toolkit” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2.2

  • AI check: H1 headings and images are now counted in the page’s own content only, without the header, footer, menus and pop-ups (also Elementor Theme Builder templates). A heading repeated for desktop and mobile counts once; icons, decorative images and lazy-load copies are skipped.
  • AI check: images without alt text now point to the Media Library, so the alt text is used everywhere the image appears.

1.2.1

  • Elementor: the AI check button and results are now styled properly in the page settings panel.
  • Readme: overview of what the Pro add-on adds.
  • New screenshots of the AI check in the block editor, the classic editor and Elementor.

1.2.0

  • New: AI check per page in the block editor, the classic editor and Elementor (page settings): indexing and snippets, title and meta description, headings, amount of text, “answer first”, questions, image alt texts, last update, llms.txt and hidden AI instructions.
  • New: AI visibility score in six pillars (business profile, crawl access, content & structured data, freshness, trust & security, technical) in the site check.
  • New site checks: noindex and nosnippet on the home page, XML sitemap, canonical URL, http https redirect, HSTS, mixed content and structured data on the home page.
  • New: scan for hidden AI instructions (prompt injection) on the home page, in five languages.
  • New: IndexNow (optional, off by default): notifies Bing and other search engines when pages are published, changed or removed.
  • New: Article structured data with publication and modification date for posts, when no SEO plugin provides it.
  • New: Help & Support page with video tutorial, lessons and troubleshooting; every item in the check links to the matching lesson.
  • Statistics: Phind added as AI assistant; click-throughs on 404 pages are no longer counted.

1.1.3

  • Information about the separate Pro add-on (a short list and a link) in a few steps, on the statistics page and on the Help page.

1.1.1

  • Renamed to Code2 Beacon – AI Visibility Toolkit (folder code2-beacon). Settings and statistics of the earlier “AI Beacon” plugin are copied once on activation.
  • Statistics: choose the period shown on the dashboard (7 or 30 days); visits are kept for 30 days.
  • The monthly email summary has been removed.
  • Site check: all tips are shown.
  • The click-through counter is now a separate script file (assets/referral.js); the contact block styles are loaded through WordPress.
  • “Hide the file editor” now removes the editor capabilities instead of defining DISALLOW_FILE_EDIT.

1.0.2

  • Fixed: turning off “By appointment only” now shows the opening hours straight away, without saving first.

1.0.1

  • Settings stored by an add-on are kept when saving.

1.0.0

  • First release.