• Skip to primary navigation
  • Skip to main content

WPrequal Lead Generation System

The BEST Lead Generation Plugin available. FREE for your WordPress website.

  • Home
  • Licenses
  • Compare
  • Support
  • Documentation
    • How To
    • Action Hooks
    • Filter Hooks
    • Constants
  • Checkout
    • Cart
  • Blog
  • Account

How to use custom query arg keys with redirect URL

WPrequal Support · Apr 29, 2019 ·

What are query args?

Query args are used in a URL to pass data from one page to another.

How do query arg keys work in a URL?

You might have seen a URL that looks like this: https://someurl.com/?fname=Bill+Smith. Everything after ? is called the query string. While fname is the query arg key and Bill+Smith is the value of fname. The + in Bill+Smith is called URL Encoding. The + is added to keep the URL from breaking into pieces when we have a space.

Ok, that was a brief overview of what query args are, and how query args work in a URL.

How to use custom query arg keys?

Custom query arg keys are used to map the query arg keys with another system.

By default, WPrequal will pass a url for a redirect like this:

https://someurl.com/somepage/?fname=Bill&lname=Smith&email=me@email.com&pnone=555+555-5555

Let’s say your system does not recognize fname and lname. But it does recognize first_name and last_name. In the WPrequal Settings, change the Query Arg Key – First Name to first_name. Do the same for last_name. This will create a URL that looks like this:

https://someurl.com/somepage/?first_name=Bill&last_name=Smith&email=me@email.com&pnone=555+555-5555

What are additional query args used for?

Additional query args are used for any additional args that need to be passed with the redirect URL. These are not dynamically populated like the other args. You can simply add them as you want them to appear in the redirect URL.

Adding this company_id=12345&agent=Mary+Jones to the Additional Query Args setting will produce a URL like this:

https://someurl.com/somepage/?fname=Bill&lname=Smith&email=me@email.com&pnone=555+555-5555&company_id=12345&agent=Mary+Jones

Conclusion

Make sure to test your redirect URL to make sure all the query arg keys are mapped correctly. This can be done by completing the WPrequal Pre-Qual form. Then checking the results from the website where you redirected too.

How To, Pro Features pro-features, query-args, redirect-url

  • Sale! WPrequal Product Image

    Premium License

    Rated 4.75 out of 5
    From: $9.99 / month
    Select options This product has multiple variants. The options may be chosen on the product page
  • Sale! WPrequal Product Image

    Pro License

    Rated 4.67 out of 5
    From: $19.99 / month
    Select options This product has multiple variants. The options may be chosen on the product page
  • Sale! WPrequal Product Image

    Executive License

    Rated 5.00 out of 5
    From: $49.99 / month
    Select options This product has multiple variants. The options may be chosen on the product page

footer-logo
Copyright © 2025 · WPrequal Mortgage Lead Generation System · Scottsdale, AZ · Log in

  • Privacy Policy
  • Terms of Use
  • Data Access Request
  • Developers
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT