Telemetree provides comprehensive SDKs for both frontend and backend development, ensuring seamless integration with your Telegram Mini App or TON project. Our SDKs are designed to be lightweight, secure, and easy to implement, allowing you to start capturing analytics data with minimal setup.

Frontend

Our Frontend SDK is optimized for Telegram Mini Apps built with React. It allows you to track user interactions within your app in real-time. To integrate the Frontend SDK:

  1. Install the SDK via npm or yarn.
  2. Import and configure the TwaAnalyticsProvider in your app.
  3. Use hooks like useTWAEvent to track specific user events.

Documentation and examples are provided to get you started with event tracking, setting up custom events, and understanding user behavior through captured data.

Backend

The Backend SDK facilitates event tracking on the server side of your application. It supports various backend environments including Python, NodeJS, and Go. Features of the Backend SDK include:

  1. Easy setup to begin tracking backend events.
  2. Custom event tracking to monitor specific interactions.
  3. Secure transmission of event data to Telemetree servers.

Step-by-step guides are available to help you implement the SDK in your backend environment, along with best practices for handling and transmitting analytics data.