interface PostHogNodeParameters {
additionalFields?:
| {
contextUi?: {
contextValues: { key?: string; value?: string }[];
};
timestamp?: string;
}
| {
propertiesUi?: {
propertyValues: { key?: string; value?: string }[];
};
timestamp?: string;
}
| {
messageId?: string;
propertiesUi?: {
propertyValues: { key?: string; value?: string }[];
};
timestamp?: string;
}
| {
category?: string;
contextUi?: {
contextValues: { key?: string; value?: string }[];
};
messageId?: string;
propertiesUi?: {
propertyValues: { key?: string; value?: string }[];
};
timestamp?: string;
};
alias?: string;
distinctId?: string;
eventName?: string;
name?: string;
operation?: "create"
| "page"
| "screen";
resource?: "event" | "track" | "alias" | "identity";
}Properties§
§§§§§
readonly additional Fields?:
| {
contextUi?: {
contextValues: { key?: string; value?: string }[];
};
timestamp?: string;
}
| {
propertiesUi?: {
propertyValues: { key?: string; value?: string }[];
};
timestamp?: string;
}
| {
messageId?: string;
propertiesUi?: {
propertyValues: { key?: string; value?: string }[];
};
timestamp?: string;
}
| {
category?: string;
contextUi?: {
contextValues: { key?: string; value?: string }[];
};
messageId?: string;
propertiesUi?: {
propertyValues: { key?: string; value?: string }[];
};
timestamp?: string;
}§
readonly alias?: stringThe name of the alias
readonly distinct Id?: stringThe user's distinct ID
readonly event Name?: stringThe name of the event
readonly name?: string§readonly operation?: "create" | "page" | "screen"Default: "create"
readonly resource?: "event" | "track" | "alias" | "identity"Default: "event"
Default: {}