I have a page lets say Page1. Page1 will have a button called GoToPage2.
In the GoToPage2 button, I need to read the querystring and append its value to the url
For example: The GoToPage2 link is /sitecore/content/Sitecore/Page2
and querystring is ?id=1234
so the GTOPage2 url will be /sitecore/content/Sitecore/Page2?id=1234
What is the best way of doing this?
Any help or suggestion would be appreciated. Using SXA.
Thanks in advance