N Docs
← Back to site

Add a connection

1 min readUpdated November 23, 2026

An agency connection gives an analytics tool a read-only key for one or more websites.

Settings > General > Analytics connections with one connection and the bridge script

Add a connection#

  1. Go to Settings > General > Analytics connections and click Add connection.
  2. Enter a Name, like “Shop analytics”.
  3. Enter up to 20 Websites, separated by commas. shop.com covers its subdomains too, like www.shop.com and blog.shop.com.
  4. Optional: add a Live feed address and secret, to get every click as it happens. See Live feed.
  5. Save. The site key (nlsk_…) is shown once: copy it into your analytics tool.

The page also shows the edge address and the bridge script to paste into the websites.

What the key can see#

Links whose destination, or a rule’s destination, is on one of the connection’s websites, and those links’ clicks. Nothing else.

Manage connections#

  • Make a new key replaces the key; the old one stops working within a minute.
  • Remove deletes the connection and its key.
  • Add a click ID to every link puts click IDs on all links, connected or not.

Client sites#

Client sites running Nahnu Links Client make their own connection when they connect, covering only their own website and their own links. Nothing to do here.

Test the key#

curl https://api.yourbrand.com/api/site -H 'Authorization: Bearer nlsk_…'

It answers with the connection’s websites and settings. See Site API.