Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add max clicks [Fixes #2089] #2203

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

amateurhuman
Copy link

Implements #2089: Add max clicks limit feature

This PR adds the ability to set a maximum number of clicks for a link. When the limit is reached, users can be redirected to a custom URL.

Features implemented:

  • Added maxClicks and maxClicksUrl fields to database schema
  • Created Max Clicks modal UI component
  • Added Max Clicks button to link builder interface
  • Implemented click tracking and limit checking in middleware
  • Added Max Clicks to Pro plan features
max-clicks.mp4

Copy link

vercel bot commented Mar 24, 2025

@amateurhuman is attempting to deploy a commit to the Dub Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLAassistant commented Mar 24, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants