Just-Moh-it / Pckd

The ⚡️ analytics-intensive, self-hostable link-shortener with a beautiful UI | AKA free bit.ly alternative 🚀
https://docs.pckd.me/
MIT License
783 stars 95 forks source link

Add Geo Targeting To Links #19

Open SynapticDreams opened 2 years ago

SynapticDreams commented 2 years ago

The look and feel of this project is amazing. I would like to suggest a few things starting with the ability to add geo targeting to links.

If the shortlink was for an amazon product and you wanted to include the UK link, the US, AU, DE, FR etc when you visited the shortlink, it would determine your country geo location and then use the correct url for the country.

This ability would also be great for websites that have multiple languages (eg go to the FRENCH Language version if geo located in France).

Or even to redirect to the site that will load the fastest (eg. website.com/au or website.com/uk)

Not everyone would want this feature on every link either, but the ability to be able to have a "SmartLink" would be awesome!

Just-Moh-it commented 2 years ago

Great idea... I think we could have power-user features like creating dynamic links in the advanced-features options in v2 of Pckd

Like creating links with Jinja-Like templating syntax depending upon the data from the client, like geolocation, device theme, etc.

Will be definitely looking into it...