Smart redirect link

Hi all!
Maybe someone know, how to create smart redirect link using piwik?
For example, I have ‘product A’ for users who use Google Chrome, and ‘product B’ for users who use Firefox I need simply redirect for right product but using only one link

Is it impossible at all?

:sweat: Have someone some ideas?