Keep track of additional URL parameters in Alglolia instant search

I have several refinement options for my listings page. I also pass few additional parameters via URL, which got overwritten when I do an another filter or a query or move to next set of items(pagination). How I can keep the additional URL parameters as it is regardless of the filter changes?