Use URL Parameters

Building A URL With Pre-filled Information

Updated over a week ago

WinRed allows you to pre-fill form inputs using URL parameters for your donor's convenience. These parameters allow you to modify, preselect, and prefill a donation or petition page, just by simply adding a value to your WinRed URL. These parameters are available for use on any type of WinRed page.

URL Parameters

URL parameters are attached to your WinRed URL first via a "?" and then with a "&" for each additional parameter.

For example here is a URL with no parameters attached.


Say you want the donation amount "$100" to be selected on the page when the donor clicks your link. All you need to do is add ?amount=100 to the link, and it will preselect that donation button.

https://secure.winred.com/team/example?amount=100


This is a simple example of one way to use these parameters on your donation page. We have all of the available parameters for use and the field value of the target listed below. If you have questions on a specific one, please chat with our team using the chat box in the right-hand corner and we're happy to help!

Fields Supported & Corresponding Parameters

Field

Parameter

Field Value

First Name

firstname=

Donor's First Name

Last Name

lastname=

Donor's Last Name

Email

email=

Donor's Email

Address

address=

Donor's Address

Zip Code

zip=

Donor's Zip

Employer

employer_name=

Donor's Employer

Occupation

occupation=

Donor's Occupation

Recurring Donation Prechecked

recurring=true

Add this parameter to precheck the recurring button on the page

Recurring Donation Not Prechecked

recurring=false

Add this parameter to remove the precheck on the recurring option

Money Pledge Prechecked

moneypledge=true

Add this parameter to precheck the money pledge option on the page

Money Pledge Option Not Prechecked

moneypledge=false

Add this parameter to remove the precheck on the money pledge option

Modify Donation Buttons with URL parameters

You can use URL parameters to modify, preselect, and overwrite donation buttons on your page. Each variable and what it does is listed below.

Donation Amount

amount=

Select a desired donation amount.

Amount Position

amtposition=

Select a desired donation button position. This will preselect a particular donation button, regardless of the amount changes (either through page edits or through features like Dynamic Amounts). Read more here.

Amount Displayed

amtx=

You can manipulate the donation amount shown to a donor using this parameter. For example, if you want the first donation button to always have a value of $5, regardless of other settings, you would add ?amt1=5 to the URL string.

The amount position is determined by the order they appear on the page. From left to right, starting at number 1. So if you wanted to target the first donation amount on the page. You would use?amt1=, To target the second button, you would use ?amt2= and so on.


Questions?

If you have questions or are unsure about any of these steps, please reach out to our support team by clicking the red chat box at the bottom right corner of your screen.


Did this answer your question?