Pass URL arguments from one URL to next in WordPress

Viewed 23

Trying to achieve following, user opens url via email, url will lead him to: https://iderma.lt/?name=john

He will then click button that will open next url: https://form.typeform.com/to/sxmSCYSc?city=Vilnius

That url already contains multimple of arguments, but I would want it to contain extra argument from the first url &name=john

Finally it would look like https://form.typeform.com/to/sxmSCYSc?city=Vilnius&name=john

How to achieve that?

1 Answers

if you use $_session maybe ?

Set up a 'get' at the reception of the email which stores the name then posted it with the sending of the city and finally add everything

in my opinion it's a story of $_GET, $_POST, and $_SESSION

Related