Analytics Transactions: JSON Structure
Every interaction between a user and your project is recorded in a transaction
Overview
The following describes the JSON structure used by Parloa to send transaction data to the analytics hook after a release.
Transactions Data Format
Below is the detailed structure of a transaction JSON object sent to the analytics hook, including processed user interactions:
Key | Type | Description |
---|---|---|
| string | Globally unique identifier for the transaction. |
| string | GMT timestamp when the request was made to Parloa. |
| number | Processing time in milliseconds for the transaction. |
| string | Internal Parloa ID mapping the requester to the release. |
| string | Parloa ID of the release initiating the request. |
| string | Platform-specific requester ID, at times equivalent to a user ID. |
| object | Details of the incoming intent, processing state, and transitions. |
| string | The name of the incoming intent |
| object | |
| string | The ID of the state that handled the request |
| string | The name of the state that handled the request |
| string | Either the intent was handled |
| boolean | True when the intent was not handled by an else branch |
| object | |
| string | The ID of the state at the start of the transaction |
| string | The name of the state at the start of the transaction |
| object | |
| string | The ID of the state from which the next transaction will start |
| string | The name of the state from which the next transaction will start |
| string | Language code of the release, in BCP 47 format. |
| object | Meta-information containing occurrences of errors and warnings. |
| number | The number of errors occurred during the transaction |
| number | The number of warnings occurred during the transaction |
| array | Collection of stored variables and their values. |
| string | The immutable identifier of this variable |
| string | A name that can be changed by the VUI designer inside Parloa |
| any | The current value of the variable at the end of the transaction |
| string | The platform from which the request originated. |
| object | Raw request received by Parloa. |
| object | Raw response sent to the requesting platform. |
Example Transactions
Below are example JSON arrays of transactions made by a release for the Phone platform, illustrating the data structure in action:
Last updated