Self-hosted link shortener component for Convex with custom domains, click analytics, UTM tracking, and configurable rate limiting.
npm install @the_shujaa/link-shortenerA self-hosted link shortener Convex component for custom domains. Create, update, and revoke short codes with built-in redirect handling, click analytics, UTM parameter tracking, and configurable rate limiting.
@the_shujaa/link-shortener provides mutations for creating short codes and queries for retrieving click analytics. It stores all tracking data in your Convex database, giving you full control over user data and custom reporting capabilities.
This component integrates directly into your Convex backend, allowing you to create branded short links using your own domain. It includes built-in rate limiting and the ability to update or revoke links programmatically through your application logic.
@the_shujaa/link-shortener automatically captures and stores UTM parameters when users click shortened links. The component provides queries to retrieve this campaign data for analytics and attribution reporting.
No, @the_shujaa/link-shortener is completely self-hosted and runs entirely within your Convex backend. All data including short codes, analytics, and click tracking is stored in your Convex database without requiring third-party services.
Yes, @the_shujaa/link-shortener is designed to work with custom domains. You configure your domain to point to your Convex application and the component handles the redirect logic when users visit your shortened URLs.
@the_shujaa/link-shortener includes configurable rate limiting that tracks requests in your Convex database. You can set limits on link creation per user or IP address to prevent abuse without needing external rate limiting services.
@the_shujaa/link-shortener tracks click counts, timestamps, UTM parameters, and referrer data for each shortened link. This data is stored in Convex and accessible through provided query functions for building custom analytics dashboards.