LANDSCAPE

setUserProperties

Emit a $user_properties event without changing userId.

Update traits

import { setUserProperties } from "@hyperreal/landscape-core";

setUserProperties({ plan: "enterprise", seats: 10 });

Signature

function setUserProperties(traits: EventProperties): void

Behavior

Emits $user_properties with traits. Does not change userId.

No-ops when consent is denied.

To assign or change the user id, call identify.