wix-router.WixRouterRequest userAgent

Hi yogasleepaway.

wix-router is a backend implementation, wix-location can be used only on frontend scripts. For redirection response from a router you can use WixRouterResponse - Velo API Reference - Wix.com

Regards,
Genry.