I suggest when your redirected page loads, change the href attribute of the home button to include the query string which is passed to the page. You can do this using jQuery as;
var urlValue = window.location.href;
$('#homebutton').attr('href',urlValue);