dubinc / dub

Open-source link management infrastructure. Loved by modern marketing teams like Vercel, Raycast, and Perplexity.
https://dub.co
GNU Affero General Public License v3.0
17.98k stars 1.95k forks source link

Track languages with Accept-Language header #110

Closed Snazzah closed 1 year ago

Snazzah commented 1 year ago

Not too sure if this is an idea worth exploring, but services like Rebrandly have a field for languages, probably from parsing the Accept-Language header. Would this be a good idea to include in link stats?

steven-tey commented 1 year ago

Ooooh that's a great idea actually! Need to double-check if edge middleware includes an "Accept-Language" header though