Find your place on this page
| You want to | Go to | Needs a developer? |
|---|---|---|
| Set Namorus up for the first time | First-time setup | To paste one line |
| Name more of your visitors | Name more visitors | No, except for sign-ins |
| Handle a special case | Advanced setup | Sometimes |
| Change a setting, pause or remove | Settings you can change later | No |
First-time setup
Four steps. You need a Namorus account and a way to add one line to your website.
- 01Add your siteIn the app
- 02Paste one lineInto your site
- 03Verify the domainSo Namorus knows the site is yours
- 04Check that visits arriveThe site shows as counting
Step 1. Add your site in the app
Open Sites in the Namorus app and enter your website’s address. The app gives you your tag, with your site key already in it.
Step 2. Paste one line into your site
Put the line just before </head> on every page. Copy it from the app, where it already has your site key in place of your-site:
<script async src="https://cdn.namorus.com/id.js?site=your-site"></script>
Where it goes depends on how your site is built:
| Your site | Where to paste the line |
|---|---|
| Plain HTML or a static site | Your shared head template. |
| Google Tag Manager | A Custom HTML tag containing the line unchanged, fired on All Pages. Publish the container. |
| WordPress | Your theme's header settings, or a header-and-footer code plugin, in the site-wide header. |
| Shopify | Online Store → Themes → Edit code, in theme.liquid, just before </head>. |
| Webflow | Site settings → Custom code → Head code. Publish the site. |
| React, Next.js, Vue and other single-page apps | Once, in the document head. Route changes are followed for you. |
If someone else looks after your site, the app writes the message for you: under 1. Add the tag to your site, the email buttons open a ready-written message in your own email with the line, where it goes on each platform and the DNS record. Add your developer’s address and send.
Step 3. Verify the domain
Namorus only accepts page views from domains you’ve shown are yours, so nobody can send traffic in your name. On the site’s setup page in the app:
- If you pasted the line into your pages, press Check my home page. Namorus looks for the tag in your home page’s HTML.
- If a tag manager adds the line, press Check the DNS record instead: add the TXT record the app shows to your domain, then check. You can delete the record once the site is verified.
Step 4. Check that visits arrive
Open your website in a normal browser window, then look at the site’s setup page in the app. Within a minute or so it shows Counting visits, and the Overview and Visitors pages start to fill in.
If it doesn’t, the tag checker tells you what’s wrong from your page’s address or its HTML. A browser with Global Privacy Control switched on is counted without an ID, so test in one that has it off.
That's the whole setup. From here on, a visitor who submits a form with an email box on your site is named, with nothing more to build. Two things are worth doing the same day: add the notice wording from 3. Tell your visitors on the setup page to your privacy policy, and connect Slack under 4. Post new people to Slack.
Name more visitors
A visitor can be named once something ties their browser to a person. These are the ways to make that tie, from no work to a little.
| Way | What you do | Score |
|---|---|---|
| Forms | Nothing. It is on from the start. | 99% |
| Your contacts | Upload a CSV on the app's Contacts page. | Gives names their details |
| Links you send | Add ?nmr= and the contact's ID to the links in your emails. | 90% |
| Sign-ins | A developer adds one call where people sign in. | 99% |
Forms: nothing to do
When a visitor submits a form that has an email box, the tag sends that email and the visitor is named. The tag reads the email box only, only at the moment the form is submitted, never while someone is typing and never any other box. HubSpot forms, which sit in their own frame, are heard too.
A form that another tool builds inside its own frame, other than HubSpot’s, can’t be read from your page. For those, use the call under Sign-ins and other forms in that tool’s after-submit setting.
Your contacts: upload a CSV
Upload the people you already know on the Contacts page in the app, such as a contact report from your CRM. A visitor who is one of them shows with their name, title, company, emails and phone numbers. Include an ID column, such as the CRM’s contact ID, if you plan to use links or sign-ins below.
Links you send: add one parameter
Put your ID for the contact in the links of your emails, and whoever opens one is named:
https://www.example.com/pricing?nmr=CONTACT_ID
- In your email tool, use its merge field in place of
CONTACT_ID, such as a Salesforce Contact ID. - Upload your contacts with the same ID in an ID column, so Namorus knows whose it is.
The tag takes nmr out of the address bar once it has read it. Mailchimp links that carry mc_eid are read as they are; upload your Mailchimp audience with its unique email ID as the ID column. Never put an email address itself in a link. A link scores 90%, a little under a form, because emails get forwarded.
Sign-ins and other forms: one call
If your site has accounts, a developer can tell Namorus who signed in. Pass the email:
window.namorus?.identify("priya@haldenfreight.example");
Or pass your own ID for the person, your user ID or their ID in your CRM, with or without the email:
window.namorus?.identify({ email: "priya@haldenfreight.example", id: "0035e00000ABCdEAAX" });
The ID is what brings a person back. Safari deletes script-set cookies after 7 days without a visit, so a returning person can look like a new browser; when they sign in, the ID names them again, from an earlier browser that sent the same ID with an email, or from a contact you uploaded with an ID column.
The tag lowercases and trims the email, turns it and any ID into one-way SHA-256 codes in the visitor’s browser, and sends the codes with the email; an ID is sent only as its code. Namorus keeps the email for your workspace only.
Your privacy notice needs to say you share visitors' emails and IDs with Namorus, whichever of these you use. The compliance kit has wording. If a browser sends Global Privacy Control, the tag sends no email, reads no link ID, and identify() does nothing.
Advanced setup
Most sites need none of this.
A content security policy
If your site sends a content security policy, allow the script and the address it reports to. Both are on the same host. The app’s setup page reads your policy and says whether it needs this:
script-src https://cdn.namorus.com
connect-src https://cdn.namorus.com
Single-page apps
Add the line once to the document head. The tag notices route changes made with the History API and records each as a page view, so there is nothing else to wire up. Tracking a single-page app.
Tag managers and the older form of the line
The site key is part of the line’s address, so the line works unchanged in a tag manager, which rebuilds scripts and can drop other attributes. The earlier form, with data-site="your-site" as an attribute, still works when pasted into your HTML.
A “don’t identify me” link on your own site
window.namorus?.optOut();
This sets a first-party opt-out cookie on your site, removes the visitor ID, and switches the tag off for that browser. To opt a person out of Namorus everywhere, link to namorus.com/privacy/opt-out.
A consent manager
If your site uses a consent manager that supports the IAB’s Global Privacy Platform, the tag passes its consent string along with each page view. There is nothing to configure.
More than one site
Add each site on the Sites page in the app. Each gets its own site key, its own verification and its own Hot Pages, profile and exclusions. Lists and charts are per site, with a picker at the top of every page.
Checking by hand
- Open your site in a normal browser window.
- Open the browser’s developer tools, then the Network tab, and reload.
- Look for
id.jsfromcdn.namorus.com, then a request tocdn.namorus.com/ethat returns204.
The whole script is 3,893 bytes, 3.8 KB, and you can read it at cdn.namorus.com/id.js. async means the browser fetches it without holding up your page.
Settings you can change later
All of these are on the site’s setup page in the app. None needs a change to your website.
| Setting | Where | What it does |
|---|---|---|
| Form emails | Send the email when a visitor submits a form, under 1. Add the tag to your site | Clear the box and the tag stops sending form emails for that site. A change takes up to five minutes to reach your site. |
| Pause | Pause, at the top of the page | Stops recording visits without touching your website. Resume starts again. |
| Notice wording | 3. Tell your visitors | The paragraph for your privacy policy, the opt-out link and the cookie list, each with a Copy button. |
| Slack alerts | 4. Post new people to Slack | Posts each newly named person to one channel. Slack alerts. |
| RB2B | 5. Check against RB2B | If you use RB2B, compares its names with Namorus's on the same visits. |
To remove Namorus, delete the line from your site, and page views stop at once. Deleting your workspace in Settings deletes every site in it, with everything recorded for them.
What the tag stores in the browser
One first-party cookie, nmr_vid, holding a random visitor ID, kept for up to a year, with a copy in the page’s local storage in case the cookie is cleared. That ID is how Namorus tells one visitor’s page views from another’s. Namorus’s own domain also sets one cookie, nmr_nid, which browsers that allow third-party cookies send from every site that uses Namorus. Cookies and storage lists them all.
If the browser sends Global Privacy Control, the tag stores nothing at all and the visit is counted without an ID. A visitor who uses your own “don’t identify me” link gets an nmr_optout cookie instead, and the tag stops sending anything from that browser.
Questions
How much work is setup? One line pasted into your site or tag manager, and two buttons in the app: add the site, paste the line, verify, check.
Do I have to change my forms? No. The tag sends the email box of any form on your page when it is submitted, and HubSpot’s forms too.
Does it work alongside Google Analytics and other tags? Yes. The tag doesn’t touch other scripts or the page’s content, and it reports to its own address.
Does it need a cookie banner? That depends on where your visitors are and on your own legal advice. Namorus names US visitors only, and the compliance kit has notice wording for your privacy policy. It isn’t legal advice.
Why does my own visit show as “Not named yet”? Nothing has tied your browser to a person yet. Submit a form on your site with your email, or open a link that carries your contact ID, and the visit is named.
How do I remove it? Delete the line, and page views stop at once. To stop recording without touching your site, Pause the site on its setup page in the app.