The Formo Event Spec outlines how to send event data to Formo’s APIs and the proper format to capture events using Formo’s SDKs and APIs.

Events API

The Events API supports the following calls, each gathering important data about the user:

API callDescription
IdentifyIdentifies a visitor or user
TrackRecords a custom action with arbitrary data
PageRecords a page view on your app
ConnectRecords when a user connects their wallet to your application
DisconnectRecords when a user disconnects their wallet
ChainRecords when a user switches to a different blockchain network
SignatureRecords signature requests and their statuses
TransactionRecords blockchain transactions and their statuses

Event Properties

Event data is collected as JSON and includes common properties along with API-specific properties in the payload.

`id` String
`project_id` String
`session_id` String
`anonymous_id` String
`user_id` Nullable(String)
`address` Nullable(String)
`action` LowCardinality(String)
`version` LowCardinality(String)
`payload` String
`timestamp` DateTime