Connect an analytics tool
Your website analytics knows what visitors did on your site, and Nahnu Links knows which short link brought them. An analytics connection joins the two, so a tool like Nahnu Analytics can show “this visit came from go.yourbrand.com/spring, clicked in Instagram, in Berlin”.
It reads your links and clicks straight from the edge script with a read-only key, so WordPress isn’t slowed down.

Two ways to connect#
| Website | How it connects |
|---|---|
| Client websites running Nahnu Links Client | By themselves, for their own links only. Nothing to set up. |
| Any other website | Add a connection under Settings > General > Analytics connections. |
Add a connection#
- Go to Settings > General > Analytics connections and click Add a connection.
- Give it a Name, like “Main website”.
- Enter the Websites it covers, like
yourbrand.com. Subdomains are included. - Optional: a Live feed address that gets each click as it happens, signed.
- Save, and copy the key it shows into your analytics tool. The key is shown once.
Add the bridge script#
Each click on a link to a connected website lands with a click ID in the address (?nlc=…). Add the bridge script to every page of the website:
<script async src="https://go.yourbrand.com/_nl/bridge.js"></script> The bridge script reads the click ID, hands the click to the analytics tool, then removes ?nlc=… from the address bar, so visitors never see it and it isn’t shared if they copy the address. Use any of your short domains in the script address.
What your analytics tool can see#
With the key, an analytics tool can read:
- your links to the connected websites (ending, title, destination);
- each click’s country, city, device, browser, referrer, UTM tags and the rule or A/B variant that sent it;
- whether the click was a person or a bot.
It can’t change anything: the key is read-only and covers only links to the websites you entered.
Click IDs on every link#
Tick Add a click ID to every link to add ?nlc= to links to any website, not only connected ones. Use it when you send traffic to sites where you’ll add the bridge script later, or to partners who use the site API.
Good to know#
- Goals and events stay in the analytics tool; Nahnu Links only says which link the visit came from.
- The click ID is random and contains no personal data.
- Some websites reject unknown query parameters. If a destination breaks with
?nlc=, don’t connect that website.
For developers#
The site API, the bridge script’s events and the live feed are described in the API docs: How it works.


