Tracking a request for analytics purposes before it gets re-routed

I’m using Corvid router to redirect a request to a 3rd party website depending on the type of device user is using (Android or iPhone). I need to track the original request (the one being redirected) using utm tags (Google Analytics). But it seems the request is being stripped of the utm tags right before the router is called. Is there a way to solve it?

Appreciate your help!