Stickybeak Docs Dashboard Get early access

Using the dashboard

People and identify

When someone signs in, tell Stickybeak who they are. That browser's visits, including the ones from before they signed in, show under their name, and you can star the people you want to notice when they come back.

Name a visitor from your site

Call identify with your own ID for the person, once they've signed in or given you their email:

window.stickybeak("identify", "user_123", {
  name: "Jane Doe",
  email: "jane@example.com",
  plan: "pro", // any other details you want to see on their visits
});

This form works before the script has loaded, if you've added the queue stub (one line that holds calls until then). Once it has loaded, stickybeak.identify("user_123", { … }) does the same thing.

  • The user ID can be anything that stays the same for that person in your system, up to 200 characters. If you don't have one, leave it out and pass an email: stickybeak("identify", { email: "jane@example.com" }). A user ID or an email is required.
  • name and email are optional. Up to 20 other details are kept, each cut to 255 characters.
  • Calling it on every page is fine. The script sends it once per browser, and again only when something changes.
  • Earlier visits from that browser are marked as theirs straight away, so you see what they did before they signed up.

When they sign out, call reset. The browser becomes a new, anonymous visitor, and the person keeps the visits they've already made.

window.stickybeak("reset");
Privacy mode

identify and reset do nothing on sites using the cookieless script. There's no visitor ID to attach a person to.

One person on every device

People belong to your workspace. If the same user ID signs in on a laptop and a phone, or on two of your sites, it's one person. An opened visit lists their other visits to that site from every browser they've signed in on.

Identify a visitor by hand

You can identify someone without any code. Open a visit in Visitors, click Add identification in the Person section, pick a field, type the value and click Add.

FieldRules
EmailSaved in lowercase. If someone in your workspace already has it, the visit joins them.
NameUp to 120 characters.
User IDYour ID for them, up to 200 characters. Like email, a match joins the visit to that person.
PhoneDigits, spaces and + ( ) -.
Company, Job title, PlanAny text.

Add fields one at a time. Pick a field that's already filled to change it. Every visit from that browser, earlier ones included, is marked as theirs.

Under the fields, Not them unlinks that browser so its visits go back to being anonymous.

Favourites

Click the star next to someone's name to make them a favourite. Favourites stand out:

  • In the live feed and the Visitors list, their name shows in gold with a star.
  • If a favourite starts a visit while you have the dashboard open, a note at the bottom of the screen says which page they're on. Click it to open their visit.
  • The People section on the site's page lists favourites first, then everyone else by when they were last seen. Search it by name, email or user ID, and click a person to see their visits.

Stop names being faked

identify runs in the visitor's browser, so anyone could call it with someone else's ID. To prevent that, have your server make a hash of the user ID with your site's signing secret and pass it along:

import { createHmac } from "node:crypto";

// The signing secret is in Site settings → People.
const hash = createHmac("sha256", process.env.STICKYBEAK_SECRET).update(user.id).digest("hex");
window.stickybeak("identify", "user_123", { name: "Jane Doe" }, { hash: "…the hash from your server…" });

A browser named with a correct hash is marked verified, and a plain identify can't move it to anyone else. With no user ID, hash the email in lowercase instead.

Webhooks to your server

Stickybeak can tell your server when it knows who's on your site. Add an address under Site settings → People → Webhook, then click Send a test.

EventSent when
person.identifiedA browser is named, by identify or by hand.
person.returnedA named person starts a new visit. Once per visit, on its first page.

Each one is a JSON POST:

{
  "id": "evt_5f2c…",
  "type": "person.returned",
  "createdAt": "2026-11-19T04:12:09.512Z",
  "site": { "id": "YOUR_SITE_ID", "domain": "example.com" },
  "person": {
    "id": "pr_9a1b…",
    "userId": "user_123",
    "name": "Jane Doe",
    "email": "jane@example.com",
    "favourite": true,
    "traits": { "plan": "pro" },
    "verified": true
  },
  "visit": {
    "sessionId": "s4be1…",
    "visitorId": "v91c0…",
    "page": "/pricing",
    "referrer": "google.com",
    "channel": "Google Search",
    "country": "AU",
    "city": "Sydney"
  }
}

Names and emails go to your server only, never back to the visitor's browser, because a visitor ID can turn up in a link someone shares.

Check the signature

Every webhook has a Stickybeak-Signature header like t=1763525529,v1=5d41…. v1 is the hex HMAC-SHA256 of the timestamp, a dot and the raw body, made with your signing secret. Check it before you trust the body:

import { createHmac, timingSafeEqual } from "node:crypto";

export function fromStickybeak(rawBody, header, secret) {
  const { t, v1 } = Object.fromEntries(header.split(",").map((part) => part.split("=")));
  const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
  const fresh = Math.abs(Date.now() / 1000 - Number(t)) < 300; // within five minutes
  return fresh && v1?.length === expected.length && timingSafeEqual(Buffer.from(v1), Buffer.from(expected));
}

Answer with any 2xx status within five seconds. Stickybeak sends each event once and doesn't retry. The last ten deliveries and your server's answers are listed under the webhook in Site settings.

The Make a new one link beside the signing secret in Site settings replaces it. Webhooks and identify hashes made with the old secret stop being accepted.

Forgetting someone

Names, emails and details you send with identify are kept until you remove them. Open one of the person's visits and, in the Person section:

  • Not them unlinks that one browser.
  • Forget them deletes the person on every site and device in your workspace. This can't be undone.

Either way, the visits stay in your reports, without a name.