Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@telegram-apps/analytics

Package Overview
Dependencies
Maintainers
0
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telegram-apps/analytics

Telegram analytics is a unique SDK and API that turns your mini-application into a source of valuable data. Telegram analytics doesn't just track user activity in your app, it turns it into clear and useful analytics. With this tool, you get instant acces

  • 1.3.3
  • npm
  • Socket score

Version published
Weekly downloads
846
increased by170.29%
Maintainers
0
Weekly downloads
 
Created
Source

Telegram Analytics

Telegram analytics is a unique SDK and API that turns your mini-application into a source of valuable data. Telegram analytics doesn't just track user activity in your app, it turns it into clear and useful analytics. With this tool, you get instant access to key metrics that help you understand how users interact with your application and what steps need to be taken to optimize it.


Documentation

Getting started

Installation with cdn

Add Telegram Analytics script to HTML head

<script async src="https://tganalytics.xyz/index.js" type="text/javascript"></script>
<script async src="https://unpkg.com/@telegram-apps/analytics@latest/dist/index.js" type="text/javascript"></script>

Initialize the Telegram Mini Apps Analytics SDK

window.telegramAnalytics.init({
    token: 'YOUR_TOKEN',
    appName: 'APP_NAME',
});

Installation with npm

Install the npm package

npm install @telegram-apps/analytics

Initialize the Telegram Mini Apps Analytics SDK

To ensure that all events are collected, initialize the SDK before your application starts rendering

import telegramAnalytics from '@telegram-apps/analytics'

telegramAnalytics.init({
    token: 'YOUR_TOKEN',
    appName: 'APP_NAME',
});

FAQs

Package last updated on 18 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc