Sending state to page when redirecting

Hi there,

Is it possible to send a specific state name when navigating to another page on my website? For example, when someone clicks the FAQ button and I go to the about section it would be great to send the FAQ state so that the page starts on that section.

Thanks

Hi @matthew6

you can use URL parameters.

On the button click, you trigger “Go to page” navigation event with “send more parameters to the page” checkbox clicked.
You set ex. “position” parameter to be ex. “faq”.
Then, on page load, when the position url parameter got from “Get data from page URL” is equal to “faq”, trigger “scroll to” event with FAQ section element as a target.

Hope that helps,
Best,
Alan

3 Likes

Thank you so much Alan!

This topic was automatically closed after 70 days. New replies are no longer allowed.