FlagFix
SDKs

Track events

Receipts, durable writes, and exposures.

لا توجد ترجمة عربية منشورة لهذه الصفحة بعد. النص الإنجليزي هو المرجع.

Last updated on

const receipt = client.track("checkout_started", { productId: "p1" });
await receipt.persisted;
client.trackExposure("new_checkout");

persisted resolves when local storage accepts the event, not when the server returns 202. flush() performs the HTTP post. Properties must be a JSON object. A non-object is rejected with INVALID_PROPERTIES and must not be retried.

هل كانت هذه الصفحة مفيدة؟