Magidoc

RecordSessionActivityInput
Input Object

Fields

#

deviceId

The device id observed when the event occurred.

eventId

Optional client-supplied ULID for idempotency. Duplicate ids are dropped.

eventType

Non-null

The type of activity event.

metadata

Free-form event-specific data.

occurredAt

Non-null

When the engine observed the event.

sequence

Engine-authoritative monotonic sequence within the session.

source

Immediate origin screen for the event (e.g. PDP, BUYERS_GUIDE).

subjectHandle

Optional handle of the event subject.

subjectId

Stable id of the event subject — e.g. productId, basketId, screen name.

subjectName

Optional display name of the event subject.

subjectType

The kind of subject this event acts on (PRODUCT, BASKET, SCREEN, ...).

variantId

Optional product variant id, when the subject is a product variant.

Usages

#

References

#

  • Argument events of field recordSessionActivity from type Mutation