Hi There,
I'm an experienced Shopify developer, and I can say with certainty that you can extract parameters from an URL, it's just not very well documented how.
My suggestion would be to
1. Have a tag on each product that indicated what link should be generated.
2. Have that tag read in every location a product link will be generated.
3. Have the product page generate the link dynamically.
I'd love to talk this one over with you.
Cheers,
Elliott