SDKs Overview
Choose the right OpenPanel SDK for your project. We support web, mobile, server-side, and framework-specific integrations.
OpenPanel provides SDKs for a wide range of platforms and frameworks, making it easy to integrate analytics into your application regardless of your tech stack.
Quick Start
For most web projects, we recommend starting with one of these:
- Script Tag - The quickest way to get started, no build step required
- Web SDK - For TypeScript support and more control
- Next.js - Optimized for Next.js applications
Web & Browser SDKs
Simple Integration
- Script Tag - Add analytics with a simple
<script>tag- ✅ No build step required
- ✅ Works with any website
- ✅ Automatic page view tracking
JavaScript & TypeScript
-
Web SDK - Full-featured browser SDK with TypeScript support
- ✅ Type-safe API
- ✅ Tree-shakeable
- ✅ Modern browsers support
-
JavaScript (Node / Generic) - Universal JavaScript SDK
- ✅ Works in Node.js and browsers
- ✅ Framework agnostic
- ✅ Full API access
Frontend Frameworks
-
Next.js - Optimized for Next.js
- ✅ Server and client side tracking
- ✅ App Router support
- ✅ Automatic route tracking
-
Astro - Astro framework integration
- ✅ Static and SSR support
- ✅ Component-based tracking
- ✅ Island architecture compatible
-
React - React integration
- 📝 Use Script Tag or Web SDK for now
-
Vue - Vue.js integration
- 📝 Use Script Tag or Web SDK for now
-
Remix - Remix framework integration
- 📝 Use Script Tag or Web SDK for now
-
Svelte - Svelte integration
- 📝 Use Script Tag or Web SDK for now
-
Angular - Angular integration
- 📝 Use Script Tag or Web SDK for now
-
Solid.js - Solid.js integration
- 📝 Use Script Tag or Web SDK for now
-
Nuxt - Nuxt.js integration
- 📝 Use Script Tag or Web SDK for now
Server-Side SDKs
-
Node.js (Express) - Express.js middleware
- ✅ Request tracking
- ✅ Error tracking
- ✅ Custom middleware support
-
Python - Python SDK for server-side tracking
- ✅ Thread-safe
- ✅ Async support
- ✅ Django and Flask compatible
Mobile SDKs
-
React Native - Cross-platform mobile analytics
- ✅ iOS and Android support
- ✅ Native performance
- ✅ Offline support
-
Swift - Native iOS, macOS, tvOS, and watchOS SDK
- ✅ Apple platform support
- ✅ Swift Package Manager
- ✅ Thread-safe API
- ✅ Automatic lifecycle tracking
-
Kotlin / Android - Native Android SDK
- ✅ Android support
- ✅ System information collection
- ✅ Thread-safe API
- ⚠️ Not yet published to Maven
Need Help Choosing?
Not sure which SDK to use? Here are some recommendations:
- Static website or HTML? → Use Script Tag
- React app? → Use Web SDK or Script Tag
- Next.js app? → Use Next.js SDK
- Server-side tracking? → Use Python or Node
- Mobile app? → Use React Native, Swift, or Kotlin
Core Features
All OpenPanel SDKs support these core features:
Event Tracking
Track custom events with properties to understand user behavior.
User Identification
Associate events with specific users and build user profiles.
Global Properties
Set properties that are automatically included with every event.
Increment/Decrement
Update numeric properties on user profiles.
Privacy First
All SDKs are built with privacy in mind - no cookies required, GDPR compliant.
API Reference
For advanced integrations, check out our API documentation to track events directly via HTTP requests.
Community & Support
- Join our Discord community
- Report issues on GitHub
- Email us at hello@openpanel.dev