defaultHistory - nav params

I am attempting to use the defaultHistory to ensure the back button is present on the page after refresh. I am wondering if there is a way to specify nav params in the default history. For example

page 1: /game/6 [/game/:id]
page 2: /item/6/7 [/item/:gameId/:id]

I want to specify in page2 to go back to /game/6 using the :gameId param from the second page. Is this doable, or do I need to do some local storage state management?