Telegram Mini Apps Analytics SDK
  • Overview
  • SDK
    • Preparations
    • Installation via <script> tag
    • Installation via NPM package
  • API
    • Endpoints
  • Supported events
  • Bot
  • FAQ
    • How can I check the integration status of the SDK?
Powered by GitBook
On this page

Supported events

Events that can be tracked via the SDK and API

PreviousEndpointsNextBot

Last updated 8 months ago

Events from will be sent only if @tonconnect/ui-react@2.0.3 or @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

app-hide

hiding the app from the screen

custom-event

the event specified by the user

connection-started

the user starts connecting the wallet

connection-completed

successful connection to a wallet

connection-error

errors in connection specifying reasons (e.g., user cancelled)

connection-restoring-completed

the connection was restored successfully

connection-restoring-error

connection restoration failed

transaction-sent-for-signature

the user submits the transaction for signature

transaction-signed

the user successfully signs the transaction

transaction-signing-failed

the user cancels the transaction signature or an error occurs during the signing process

disconnection

user-initiated disconnection events, specifying scope (dapp or wallet)

TON Connect