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§
Source§readonly 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;
};
}
readonly 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;
};
}
Source§readonly group Id?: string
readonly group Id?: string
A Group ID is the unique identifier which you recognize a group by in your own database
Source§readonly integrations?: { integrationsUi: { all?: boolean; salesforce?: boolean } }
readonly integrations?: { integrationsUi: { all?: boolean; salesforce?: boolean } }
Default: {} Type options: {"multipleValues":false}
Source§readonly name?: string
readonly name?: string
Name 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
Source§readonly properties?: { propertiesUi: { key?: string; value?: string }[] }
readonly properties?: { propertiesUi: { key?: string; value?: string }[] }
Default: {} Type options: {"multipleValues":true}
Default: {} Type options: {"multipleValues":false}