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

Add a connection#
- Go to Settings > General > Analytics connections and click Add connection.
- Enter a Name, like “Shop analytics”.
- Enter up to 20 Websites, separated by commas.
shop.comcovers its subdomains too, likewww.shop.comandblog.shop.com. - Optional: add a Live feed address and secret, to get every click as it happens. See Live feed.
- 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.


