SEARCH event
The event data object for a SEARCH event must include all the required attributes for event data objects plus the following attributes:
| Attribute | Type | Description | Example |
|---|---|---|---|
product_name | string | The product name the guest searched for. | "airSupport" |
product_type | string (uppercase) | The product type the guest searched for. | "RUNNERS" |
After you create this event data object, you can optionally extend this event using the extension data object. Then, you can send the event using the [Engage.event()](engage-event.md "Engage.event(type, eventData[, extensionData])") function.
Example 27. SEARCH event object
Example 28. SEARCH event object for flight search
If you have suggestions for improving this article, let us know!