Docs
← Back to site

Install and connect

1 min readUpdated November 11, 2026

Install the plugin, paste the website’s connection code, click Connect: visits count from the next page view.

Connect a website#

  1. On the client’s WordPress: Plugins › Add New, search for Nahnu Analytics Connector, then Install and Activate. (Or upload the zip you downloaded.)
  2. In Nahnu Analytics: open the website › Settings › Install › WordPress and copy its connection code.
  3. On the client’s WordPress: Settings › Site stats › paste the code in Connect this website › Connect. Where is the code?, under the button, says where to find it.

The tracking snippet works in place of the code too. Connecting takes a few seconds and changes nothing else on the site.

Connect this website: paste the connection code and click Connect

The code is pasted on each site’s settings page; there is no WP-CLI command or wp-config.php constant for it.

After connecting#

The page shows Counting visits at the top, and the Connection card on the right lists the website, the stats service address and how visits are sent.

  • Check connection asks the stats service to answer. All good means visits reach you; an error says who to ask.
  • Paste a new connection code swaps the code, for example after moving the platform or changing the tracking domain. Other settings stay as they are.
After Check connection: the stats service answered, all good
The Connection card: website, stats service, where visits go

Was this helpful?