admin管理员组

文章数量:1287970

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

?fname=[value]&lname=[value]&email=[value]

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

So it would flow like this:

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

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

To illustrate:

LeadPageExample/checkout/?add-to-cart=312&fname=Alex&lname=Smith&[email protected]

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.

本文标签: queryMaintaining Queries in URL