The hash fragment of the URL is not supposed to be sent to the server (ie: the Gateway). It is to be sent to and processed by the browser.
If you need to retrieve anything after the hash fragment I would suggested using some JavaScript in a return template response. However this not allow you to variablize the data and use it in policy.
Regards,
Joe