Skip to main content

Overview

The Cryptique.people object provides methods to set and manage persistent user properties. Unlike event properties (which describe a single action), user properties describe the user themselves and persist across sessions.
User properties are ideal for storing user attributes like plan type, signup date, preferences, and cumulative metrics.
This page is the API reference for Cryptique.people.* methods. If you want to understand how user profiles are structured — what fields they contain, how they’re created, and how wallet enrichment adds properties automatically — see the User Profile Data Model.

Method Reference


people.set()

Set user properties. Overwrites any existing values.
object
required
Object containing property key-value pairs to set.

Examples


people.set_once()

Set properties only if they haven’t been set before. Useful for immutable properties like signup date or referral source.
object
required
Object containing property key-value pairs to set once.

Examples


people.increment()

Increment (or decrement) numeric properties.
object
required
Object with property names as keys and increment amounts as values. Use negative numbers to decrement.

Examples


people.append()

Append values to list properties.
object
required
Object with property names as keys and values to append.

Examples


people.union()

Add unique values to list properties (no duplicates).
object
required
Object with property names as keys and arrays of values to union.

Examples


people.remove()

Remove specific values from list properties.
object
required
Object with property names as keys and values to remove.

Examples


people.unset()

Remove properties entirely from the user profile.
string | string[]
required
Property name(s) to remove.

Examples


people.deleteUser()

Permanently delete the user profile and all associated data.
This action is irreversible. The user’s profile and all properties will be permanently deleted.

Example


people.trackCharge()

Track a payment or revenue event associated with the user.
number
required
The charge amount (in your preferred currency).
object
Optional properties describing the charge.

Examples


people.clearCharges()

Clear all tracked charges for the user.

Example


Reserved Property Names

These property names are reserved and cannot be used:

Property Limits

See Implementation Guide for complete details.

Complete Example


Identify Users

Link sessions to identities

Groups

Organizations and group profiles

Track Events

Track user actions