Use Cases for the Array of Objects for Event Parameters

Prev Next

You can use the Array of Objects in lifestyle scenarios where users have multiple related records.

Retail & Ecommerce: Cart and purchase context

A single cart or purchase action contains multiple products.

Why Array of Objects

  • Keep all items of one transaction inside a single event

  • Preserve the relationship between product, price, category, and quantity

  • Segment on combinations of items within the same transaction

Example Use Cases:

  • Target users who abandoned a cart containing more than one item

  • Target users who added an item above a price threshold to their cart

  • Target users who purchased a specific category together with another category

Airlines & Travel: Multi-passenger bookings

One booking can contain multiple tickets and passengers.

Why Array of Objects

  • Store every ticket in the booking event

  • Keep passenger, route, and fare details connected

  • Segment on booking composition rather than on individual events

Example Use Cases:

  • Target users who booked more than one ticket in a single booking

  • Target users with an upcoming departure who have not selected seats

  • Promote extra baggage to bookings above a certain number of passengers

Insurance: Multi-policy transactions

A customer can purchase multiple policies in the same transaction.

Why Array of Objects

  • Capture every policy in the purchase event

  • Keep type, coverage, and expiry connected per policy

  • Segment on policy combinations

Example Use Cases:

  • Target customers who purchased car and home insurance together

  • Target customers with a policy expiring in the next 30 days

  • Cross-sell based on the policy types purchased in one transaction

Telco & Subscription: Bundled activations

Multiple plans or add-ons can be activated in one action.

Why Array of Objects

  • Store every activated line or add-on in one event

  • Segment on active combinations, such as a data plan with a roaming add-on

  • Track bundle composition without manual grouping

Example Use Cases:

  • Target users who activated more than one add-on

  • Target users who activated a plan without a specific add-on

  • Promote upgrades based on the bundle purchased

Healthcare: Prescriptions and appointments

One appointment can generate multiple prescriptions.

Why Array of Objects

  • Store all prescriptions from one appointment together

  • Keep medication, dosage, and schedule connected

  • Segment on prescription details

Example Use Cases:

  • Target patients with a dose scheduled in the next 12 hours

  • Target patients with more than one active prescription

  • Send refill reminders based on prescription end dates