Preparations
Preparations before connection
Last updated
Preparations before connection
Last updated
Web3 events for the Telegram Mini Apps Analytics SDK are supported by the and libraries since version 2.0.3, since version 3.0.3.
Don't worry if your app doesn't use TON Connect, the analytics SDK will still work and collect non-Web3 events.
Initiate a conversation with our . It will assist you in generating a unique access token required for the analytics records. Additionally, you can manage your existing tokens through this bot.
Provide to Data Chief bot your Telegram Bot URL, and domain where your mini app is hosted and you will receive a token to initialize the SDK.
Now you can initialize the SDK in your application. There are two ways to do this:
SDK installation:
via <script> tag (See page)
via NPM package (See page)