nbots — Bot Protection

By nbots

0+ active installationsVersion 1.0.2

See which visitors are bots and why. Keep bots out of Yandex Metrica and Direct, stop spam in Contact Form 7, WPForms, Elementor and comments.

Description

nbots is a bot protection service for small and medium websites (nbots.ru). This plugin connects your WordPress site to it in two minutes, without editing the theme.

Please note: nbots is built for Russian-speaking websites. The nbots dashboard is in Russian, analytics and ads features work with Yandex Metrica and Yandex Direct, and data is processed on servers in Russia.

  • Every visit with an explanation. In the nbots dashboard each visit gets a verdict — human, suspicious or bot — with the reasons and points: automated browser, data-center network, headless rendering, behaviour without mouse movements and more.
  • Clean analytics. Bots can be kept out of Yandex Metrica, so bounce rate and direct visits are honest again.
  • Ads without bots. nbots finds bots among Yandex Direct clicks and configures the campaign so they no longer see your ads.
  • Spam-free forms. Contact Form 7, WPForms, Elementor Pro forms and WordPress comments are checked before the email is sent. Spam gets the same “Thank you” as a person, but the message never reaches your inbox; spam comments go to the Spam folder.
  • Safe by default. The first week nbots only observes. If nbots does not answer within 3 seconds, the form works as usual. Search engine robots are never blocked.

How it works

  1. Add your site at nbots.ru — the free plan needs no card.
  2. Paste the public key (pk_…) and the secret key (sk_…) in Settings → nbots.
  3. The nbots script appears on every page, forms are checked automatically, and the dashboard shows «Server connected».

External services

This plugin connects to the nbots service (https://nbots.ru/), operated by the nbots project, to detect bots and spam.

  • On every public page the browser loads https://nbots.ru/s.js with your public key. The script sends to nbots.ru technical data about the visit: IP address, browser and device details, page address and referrer, and anonymous counters of on-page actions (number of mouse movements, scrolls and key presses — without their content). It stores a random device identifier nb_vid (cookie and localStorage, 1 year) and a check mark nb_pass (sessionStorage).
  • When a supported form or a comment is submitted, your server sends to https://nbots.ru/v1/verify the form fields, the visitor IP address and user agent, and the service fields added by the script.
  • When you save the settings, your server calls https://nbots.ru/v1/ping with the secret key to check the connection.
  • Only if you turn on «Run Metrica only for people», the nbots script loads Yandex Metrica (https://mc.yandex.ru/metrika/tag.js) with your counter number for visitors it considers human. Yandex Metrica is a service of Yandex: terms of use https://yandex.ru/legal/metrica_termsofuse/, privacy policy https://yandex.ru/legal/confidential/.

Data is stored on servers in Russia; the full IP address is kept for no more than one day, other data for no more than 30 days. The plugin adds suggested text to your privacy policy (Settings → Privacy).

  • Terms of service: https://nbots.ru/terms
  • Privacy policy: https://nbots.ru/privacy

Installation

  1. Install the plugin from the WordPress directory or upload the zip in Plugins → Add New.
  2. Activate it.
  3. Open Settings → nbots, paste your keys from the nbots dashboard and click «Save and check connection».

FAQ

Will it block real visitors or search engines?

During the first week nbots only observes and blocks nothing. Search engine robots (Yandex, Google, Bing) are recognised and always pass. You decide when to turn on protection in the nbots dashboard.

What happens if nbots.ru is unavailable?

Your site and forms keep working: the script loads asynchronously, and the form check waits no more than 3 seconds, after which the submission goes through.

Do I need to edit the theme?

No. The plugin adds the script to all pages and hooks into the supported form plugins.

Is the secret key safe?

It is stored only in your site database and is used only for server-to-server requests to nbots.ru. It is never printed on pages.

Changelog

1.0.2

  • Yandex Metrica block in the settings: the plugin finds the counter on the site, bots in it are marked automatically, and one option runs Metrica only for people. Warns if Metrica loads twice and can turn off another Metrica plugin in one click. The nbots dashboard now sees when the plugin is turned off.

1.0.1

  • Russian translation is now bundled with the plugin, so the settings page is in Russian right after installation.

1.0.0

  • First release: script on all pages, checks for Contact Form 7, WPForms, Elementor Pro forms and comments, connection check.