About this project
Relay is a self-hosted link shortener designed to run on the Cloudflare edge. It utilizes a single Cloudflare Worker for both the redirect engine and admin API, with data stored in Cloudflare D1. The admin dashboard is provided as a single `index.html` file with no external dependencies or build process.
Key capabilities include:
- **Advanced Routing**: Supports weighted A/B split testing, as well as routing based on device type (iOS/Android) and geographic location.
- **Marketing & Tracking**: Features `/suffix` source tracking to identify specific traffic channels, and an optional interstitial page for integrating marketing pixels (FB Pixel, GA4, GTM) for retargeting.
- **Cookieless Conversion Tracking**: Allows reporting of signups or sales via a `/track` postback without using browser cookies.
- **Privacy-First Analytics**: Tracks clicks without storing raw IP addresses or full User-Agent strings. It excludes bot traffic from analytics and can honor DNT/GPC opt-out signals.
- **Management Tools**: Includes a UTM builder, local QR code generation, password protection for links, and CSV/JSON data export.
- **Performance & Scaling**: Optional integration with Cloudflare KV for edge caching of redirects and cron-based auto-retention for old click data.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.