Add support to add query parameters to all pages loaded