跳到主要内容

Web SDK — Introduction

Welcome to the Web SDK docs.

Supported

  • Modern browsers (ES2020+)
  • Node.js 18+ for build tooling

Quick example

<script type="module">
import { initialize, analytics } from 'your-web-sdk';
initialize({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.yourapp.com' });
analytics.track('opened_home');
</script>