Migrating from visitors.now

Tally reads the same snippet conventions as visitors.now, so most sites switch by changing one tag.

1. Create the site in Tally

Add the site (same domain) and copy its site ID from Site settings → Tracking.

2. Swap the snippet

visitors.now Tally
src="https://cdn.visitors.now/v.js" src="https://<your-tally>/t.js"
data-token="..." data-site="<site id>" (a new value; tokens don't carry over)
data-persist data-persist data-cookie="visitor" (keeps the existing visitor cookie, so returning visitors keep one identity)
visitors.track(...), visitors.identify(...) Unchanged: window.visitors is an alias of window.tally
data-visitors-event="..." and data-visitors-* Unchanged

Before:

<script defer src="https://cdn.visitors.now/v.js" data-token="abc123" data-persist></script>

After:

<script defer src="https://tally.example.com/t.js" data-site="k3x9q2m8w1zt" data-persist data-cookie="visitor"></script>

3. Recreate settings

visitors.now setting In Tally
Allowed hostnames (wildcards) Site settings → Filtering → Allowed hostnames
Blocked IPs Site settings → Filtering → Blocked IPs (IPs or CIDR ranges)
Blocked pathnames Site settings → Filtering → Blocked paths (/admin/*)
Masked pathnames Not yet (planned for v1.1)
Public dashboard Site settings → Sharing
Members Settings → Team (invite links)
API key Settings → API keys (see api.md; parameters such as period, start, end, tz match)

4. Revenue

Send revenue with your events (tally.track('Purchase', { revenue: 49 })). Stripe webhook attribution (which reads metadata.tally_visitor, then metadata.visitor, so your existing Stripe metadata keeps working) is planned for v1.1.

History

visitors.now doesn't offer an export. Tally starts counting from the switch. An importer that pulls daily aggregates from the visitors.now API into Tally's rollups is planned for v1.1; until then, keep your visitors.now account readable if you need the old numbers.

Run both for a while

You can load both scripts side by side to compare numbers before cancelling. They don't interfere: Tally only defines window.visitors when it isn't already defined.

NextSelf-hosting