UUID Use Case

UUID Anonymous ID

Before login you have no user ID. A UUID anonymous ID lets you record intent and merge it into the real account once they register.

Pre-authMergeablev4

Generated locally with the Web Crypto API — nothing leaves your browser.

What Is UUID Anonymous ID?

How to generate

  1. Generate a v4 UUID before auth.
  2. Stamp events with it.
  3. On signup, re-key those events to the user UUID.

Use Cases

Code Examples

JavaScript
const id = crypto.randomUUID();
Python
import uuid
id = uuid.uuid4()

Frequently Asked Questions

Keep the anonymous ID after signup?
Typically you migrate its events to the user id, then retire it; some keep it for cross-device stitching.
Is it PII?
No on its own — it is a random handle you later choose to associate with a person.

Related tools