Analytics Validate and Record
A 2-step recipe with Unity. We can help you get access.
Recipe · 2 steps
Analytics Validate and Record
with Unity · Product Telemetry Instrumentation
Validate an event batch and record it only if valid.
- Validate the analytics event batch against the project's schemas without recording it.
- Record the validated analytics event batch for real.
What you'll need to have ready
- apiKey: The Analytics API key sent in the x-api-key header.
- projectId: The Unity project identifier.
- eventName: Custom event name (for example "level_completed").
- eventVersion: Version of the event schema.
- eventTimestamp: ISO 8601 timestamp of when the event occurred.
- eventUuid: Unique event identifier for deduplication.
- installationUuid: Unique installation identifier.
- sessionUuid: Unique session identifier.
- parameters: Optional custom event parameters as key-value pairs.
For your developer
Arazzo workflow unity:analytics-validate-and-record, 2 operations: validateEvents → recordEvents. Specs on APIs.io.