Installation via <script> tag
How to install and use via <script> tag
How to install it?
1. Add Telegram Mini Apps Analytics to your project
Include the Telegram Mini Apps Analytics script in the header of your HTML document. This script will allow you to track and analyze user interactions effectively.
Alternative solution (not recommended)
2. Initialize the Telegram Mini Apps Analytics SDK
Once you have your unique access token and analytics identifier (if not, see Preparations page), you can initialize the Telegram Analytics SDK in your code. This step is crucial for enabling the tracking of events without repeatedly transferring the token.
Supported Events
After initializing the Telegram Analytics, you are all set to transfer the data, gain insights, and improve user engagement. (99% of them will be tracked automatically without manual control)
Read more about supported events
Navigation:
SDK installation:
Last updated