# Supported events (https://docs-kyrm16yq7-ton-core-docs.vercel.app/llms/ecosystem/tma/analytics/supported-events/content.md)



Events from TON Connect will be sent only if `@tonconnect/ui-react@2.0.3`, `@tonconnect/ui@2.0.3` or `@tonconnect/sdk@3.0.3` and higher versions packages are used.

| Event name                       | Description                                                                              | TON Connect required |
| -------------------------------- | ---------------------------------------------------------------------------------------- | -------------------- |
| `app-init`                       | Connection attempts and their initiation                                                 | false                |
| `app-hide`                       | Hiding the app from the screen                                                           | false                |
| `custom-event`                   | The event specified by the user                                                          | false                |
| `connection-started`             | The user starts connecting the wallet                                                    | true                 |
| `connection-completed`           | Successful connection to a wallet                                                        | true                 |
| `connection-error`               | Errors in connection specifying reasons (e.g., user canceled)                            | true                 |
| `connection-restoring-completed` | The connection was restored successfully                                                 | true                 |
| `connection-restoring-error`     | Connection restoration failed                                                            | true                 |
| `transaction-sent-for-signature` | The user submits the transaction for signature                                           | true                 |
| `transaction-signed`             | The user successfully signs the transaction                                              | true                 |
| `transaction-signing-failed`     | The user cancels the transaction signature or an error occurs during the signing process | true                 |
| `disconnection-user-initiated`   | Disconnection events, specifying scope (dApp or wallet)                                  | true                 |
