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

[FEAT] Link click limits with redirects #748

Open
cuhpajo opened this issue Apr 9, 2024 · 6 comments
Open

[FEAT] Link click limits with redirects #748

cuhpajo opened this issue Apr 9, 2024 · 6 comments

Comments

@cuhpajo
Copy link

cuhpajo commented Apr 9, 2024

For our marketing campaigns, sometimes a special offer is for the "next 50 people" and limiting clicks to just the first XX number of individuals would be great. then redirect them to another place after the limit is reached.

Copy link

linear bot commented Apr 9, 2024

@anirbanpaulcom
Copy link
Contributor

@cuhpajo maybe you are talking about this. right?
Screenshot from 2024-04-12 06-21-34

@cuhpajo
Copy link
Author

cuhpajo commented Apr 12, 2024

@cuhpajo maybe you are talking about this. right? Screenshot from 2024-04-12 06-21-34

do you mean the current Dub limits? If so, no. I am referring to a specific feature similar to the one recently introduced, which imposes limitations based on a date. In contrast to the time-based restriction, I'm thinking a feature that would restrict a link based on the total number of clicks it receives. Once this predetermined click limit is reached, the link would then be redirected elsewhere.

@UsmanDev09
Copy link
Contributor

@steven-tey If required, I can work on a feature to implement expiration upon reaching a certain number of clicks

@anirbanpaulcom
Copy link
Contributor

@cuhpajo maybe you are talking about this. right? Screenshot from 2024-04-12 06-21-34

do you mean the current Dub limits? If so, no. I am referring to a specific feature similar to the one recently introduced, which imposes limitations based on a date. In contrast to the time-based restriction, I'm thinking a feature that would restrict a link based on the total number of clicks it receives. Once this predetermined click limit is reached, the link would then be redirected elsewhere.

That's cool @cuhpajo! We can store the user's IP address with a cookie. This ensures that a user can't use the link a second time. Even if the user removes the cookie, we still have their IP address. What do you think?

@cuhpajo
Copy link
Author

cuhpajo commented Apr 13, 2024

@cuhpajo maybe you are talking about this. right? Screenshot from 2024-04-12 06-21-34

do you mean the current Dub limits? If so, no. I am referring to a specific feature similar to the one recently introduced, which imposes limitations based on a date. In contrast to the time-based restriction, I'm thinking a feature that would restrict a link based on the total number of clicks it receives. Once this predetermined click limit is reached, the link would then be redirected elsewhere.

That's cool @cuhpajo! We can store the user's IP address with a cookie. This ensures that a user can't use the link a second time. Even if the user removes the cookie, we still have their IP address. What do you think?

that sounds like a reasonable way to make that feature happen for sure!

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

No branches or pull requests

3 participants