Skip to main content
Important: Please ensure your CMP configuration includes new Vendor ID 1469 for 1st Party data tracking. Additionally, include Vendor ID 301 if cookie sync is enabled. Learn more
The setInstantEventProperties method is used to send events immediately to Zeotap, bypassing the normal queuing and batching mechanism. This is ideal for critical events that require real-time tracking. Why use it?
  • Immediate Delivery: Events are sent instantly without waiting for batch processing.
  • Critical Events: Perfect for tracking urgent events like errors, crashes, or time-sensitive actions.
  • Real-time Analytics: Ensures important events are captured immediately even if the app closes.
When to UseUse instant events sparingly for critical events only, as they bypass performance optimizations like batching and may impact network usage.

Syntax

Parameters

Usage Examples

Instant Event Name Only

If you only need to track the event name without additional properties for critical events:
The payload with instant event name only:
Instant event name only in payload

Basic Instant Event Tracking

The payload with instant event that is sent immediately:
Instant event with properties in payload

Instant Event with Callback

Performance Impact

Network Usage

  • Instant events create immediate network requests
  • Consider batching multiple instant events if they occur simultaneously
  • Monitor data usage in your analytics

Battery Life

  • Frequent instant events can impact battery life
  • Use only for truly critical events
  • Consider user’s network conditions

For more examples and integration patterns, see our Examples Guide.
Last modified on June 25, 2026