interface SegmentNodeParameters {
context?: {
contextUi: {
active?: boolean;
app?: {
appUi: {
build?: string;
name?: string;
version?: string;
};
};
campaign?: {
campaignUi: {
content?: string;
medium?: string;
name?: string;
source?: string;
term?: string;
};
};
device?: {
deviceUi: {
id?: string;
manufacturer?: string;
model?: string;
name?: string;
type?: string;
version?: string;
};
};
ip?: string;
locate?: string;
page?: string;
timezone?: string;
};
};
event?: string;
groupId?: string;
integrations?: {
integrationsUi: {
all?: boolean;
salesforce?: boolean;
};
};
name?: string;
operation?: "event"
| "create"
| "add"
| "page";
properties?: {
propertiesUi: { key?: string; value?: string }[];
};
resource?: "group"
| "track"
| "identify";
traits?: {
traitsUi: { key?: string; value?: string }[];
};
userId?: string;
}Properties§
§§§§§§§§§
readonly context?: { ... }§
readonly event?: stringName of the action that a user has performed
readonly group Id?: stringA Group ID is the unique identifier which you recognize a group by in your own database
readonly integrations?: { ... }Default: {} Type options: {"multipleValues":false}
readonly name?: stringName of the page For example, most sites have a “Signup” page that can be useful to tag, so you can see users as they move through your funnel
readonly operation?: "event" | "create" | "add" | "page"Default: "add"
readonly properties?: { ... }Default: {} Type options: {"multipleValues":true}
readonly resource?: "group" | "track" | "identify"Default: "identify"
readonly traits?: { ... }Default: {} Type options: {"multipleValues":true}
readonly user Id?: string
Default: {} Type options: {"multipleValues":false}