Server-Side SDKs
Use our server-side SDKs to create and manage short links, track conversions, and interact with the Dub API from your backend applications.TypeScript
Official TypeScript/JavaScript SDK for Node.js applications
Python
Official Python SDK for Python applications
Go
Official Go SDK for Go applications
Ruby
Official Ruby SDK for Ruby applications
Client-Side SDKs
Track user interactions and conversions on your website with our client-side analytics tools.Analytics Script
Lightweight JavaScript snippet for tracking clicks and conversions
React
React components for analytics and embeds
Next.js
Next.js integration with App Router support
Command Line Interface
Manage your Dub links directly from your terminal.Dub CLI
Command-line tool for creating and managing short links
Features Across SDKs
All server-side SDKs provide consistent functionality:- Link Management - Create, update, delete, and retrieve short links
- Domain Management - Manage custom domains for your workspace
- Analytics - Track clicks, conversions, and attribution data
- Customer Tracking - Associate conversions with customer profiles
- Conversion Events - Track leads and sales for attribution