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

Allow to specify dynamic query params that are appended to long URL before redirection #815

Open
lazmo88 opened this issue Jul 26, 2020 · 3 comments
Labels
feature 🥇 gold I will implement these features when I reach my sponsorship goal https://github.com/sponsors/acelaya

Comments

@lazmo88
Copy link

lazmo88 commented Jul 26, 2020

Feature idea: Option to specify UTM tags within the GUI and save "collections" or "templates" of UTM tags so they can be easily reused. Further on extending to "dynamic" UTM tags, where variables such as OS, Browser, Language, Geo City/Country etc. Could be dynamically appended to the UTM tags of the link.

Dynamic UTM tags example:
UTM_source = {{device.os}}
UTM_medium = email_{{device.browser}}
UTM_campaign = {{geo.country}}_{{geo.city}}

These would be then appended to the long.url/path?{{all_utm_tags}}

Same variables could be utilized with conditional redirects as discussed on #366

@acelaya
Copy link
Member

acelaya commented Jul 29, 2020

Hmm, I like the idea. It could even be used to drive any kind of query arguments, not only UTM ones.

Only problem is that some of the placeholders cannot be determined in all the cases.

For example, geolocation is currently happening "after" the user is redirected, therefore, country, city, etc are not yet known.

However, I plan to change that, so this would be eventually possible.

@acelaya acelaya changed the title (Dynamic) UTM tags Allow to specify dynamic query params that are appended to long URL before redirection Jul 29, 2020
@lazmo88
Copy link
Author

lazmo88 commented Aug 6, 2020

@acelaya custom dynamic parameters vs standard UTM tags is much more versatile option. I could see affiliate marketers loving this.

Re:placeholders, there might be a minor hit on the performance (link responsiveness/redirect time) if there is multiple placeholders that requires processing. Yet, if these processes are only running when such placeholder is present, it shouldn't be an issue.

Further ideas for placeholders:

  • Original referrer
  • Date/Time/Weekday (Redirects to time sensitive/specific pages)
  • Counters/stats of the link (You are lucky visitor number 404 😁)
  • Randomizer {rand:1-400} (Could allow you to create random page/image links for CMS)

A lot of fun stuff could be created with the placeholders :)

@acelaya acelaya added this to the 2.4.0 milestone Aug 6, 2020
@acelaya
Copy link
Member

acelaya commented Aug 6, 2020

Requires #819

@acelaya acelaya removed this from the 2.4.0 milestone Sep 21, 2020
@acelaya acelaya added this to the 2.7.0 milestone Nov 24, 2020
@acelaya acelaya added the blocked Issues with some external dependency preventing to work on them label Nov 24, 2020
@acelaya acelaya modified the milestones: 2.7.0, 2.8.0 May 9, 2021
@acelaya acelaya removed the blocked Issues with some external dependency preventing to work on them label Jul 13, 2021
@acelaya acelaya removed this from the 2.8.0 milestone Jul 13, 2021
@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