Referer function for mobile app

Hi all,

I created a custom function on Confluence site that guest users can leave a “User feedback”.
I’m using The Referer HTTP request header that contains a partial address of the page making the request.

I also using a mobile app “RefinedMobile for Confluence”. I would like to give guest users the same functionality but the implementation is different. Instead of using JavaScript I need to use “Wiki Markup”.

I could not use the “Referer” for mobile users.

Can anyone advise if this can be done?

Thanks!