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

Automatic link tagging #1043

Open
KetchupBomb opened this issue Mar 2, 2021 · 1 comment
Open

Automatic link tagging #1043

KetchupBomb opened this issue Mar 2, 2021 · 1 comment
Labels
feature 🥇 gold I will implement these features when I reach my sponsorship goal https://github.com/sponsors/acelaya

Comments

@KetchupBomb
Copy link
Contributor

Summary

Tagging links is useful for tracking certain aspects of the Shlink ecosystem. The drawback is that these tags must be manually applied to any generated link.

What are your thoughts on having a "rules engine" where you can specify that if x then apply tag y?

For instance, if I wanted to track all links which are "media links", I could have a rule like:

if domain in ["youtube.com", "vimeo.com", "twitch.tv"], then apply ["media", "medium-retention"] tags


I think this would be quite useful, even if the rules engine is only capable of parsing the destination link for the standard fields: scheme, domain, path, params, etc.

Beyond this, tagging links based on other metadata could also be useful:

  • Tagging based on which API key was used to generate said link
  • Tagging based on time of day
  • Tagging based on incoming IP address
  • etc.

But this increases the scope. Even just URL parsing tagging is desirable. IMO.

@acelaya
Copy link
Member

acelaya commented Mar 3, 2021

Sounds like something nice to have.

It's a bit trickier than it seems though. I'll try to give it a thought.

@acelaya acelaya added the 🥇 gold I will implement these features when I reach my sponsorship goal https://github.com/sponsors/acelaya label Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🥇 gold I will implement these features when I reach my sponsorship goal https://github.com/sponsors/acelaya
Projects
Status: No status
Development

No branches or pull requests

2 participants