query – Maintaining Queries in URL


When I generate a lead I get the values passed on via the URL Query which is the following:


I’d like to know how I can carry this query over to the next page as well? (so the URL is passed over two pages instead of just the one).

So it would flow like this:

LeadPageExample.com -> Lead entered details -> LeadPageExample.com/Upsell?fname=Alex&lname=Smith&email=asmith@email.com -> Lead clicks on cancel or add to cart (I want fname=Alex&lname=Smith&email=asmith@email.com to be passed on again) -> LeadPageExample.com/checkout/?add-to-cart=312&fname=Alex&lname=Smith&email=asmith@email.com

Essentially I want the fname=Alex&lname=Smith&email=asmith@email.com query to be re-attached to the next link and passed on twice in this scenario.

To illustrate:


Any ideas? Is it possible? If so, how?

To be even more specific, I ONLY want this to happen on specific webpages on my wordpress site.

Thanks so much for the help.

Hco 1 year 2021-09-08T01:09:53-05:00 0 Answers 0 views 0

Leave an answer