Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

107
Views
How do you append URL parameters to URLs through multiple pages?

I am trying to build a multi step flow that appends URL parameters when a button is clicked. That part I understand. I am struggling with, when a user is sent to a new page, I want it to keep the URL parameter from the referring page and add another parameter/value once a button is clicked on the new page.

The flow would be something like this:

  1. User visits url.com/page1
  2. User clicks button that takes them to url.com/page2/?value=1
  3. User clicks button that takes them to url.com/page3/?value=1&data=1
  4. User clicks button that takes them to url.com/page4/?value=1&data=1&num=1

As you can see in step 3 and 4 the appended parameters are remembered and continue to add on to each other, even as the user visits new pages.

Any ideas on how to solve this? Ideally with just javascript and not php, but open to suggestions.

Would a hidden form field or something like that work?

Thank you for any help!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!