So can you elaborate a bit more about your elixir stack so people can help you better? What you would like to achieve in the given use case?
2 options :
you are ok for a redirect, then basically send parameters « http://your-endpoint.com/page?option=tada » and then
option will be available in controller’s params.
Or use js to perform Ajax request something like that (you can use LiveView also) so you’ll re-render a part of your dom.
First one is best for sharing your page with other because you got a link. Second one is best in performance / UX for your user.
(You can also update the browser location with with js).
So it depends of your knowledge and the way you want to accomplish that. Both are good options and will work very well.