Skip to main content
Use URL Parameters

Building A URL With Pre-filled Information

Updated over 2 months 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

Source Code

sc=

Page's source code for tracking. Note: this URL parameter overrides the source code field in the page builder

Donor Covers Processing Fees Prechecked

cover_fees=true

Add this parameter to precheck the cover fees button on the page

Donor Covers Processing Fees Not Prechecked

cover_fees=false

Add this parameter to remove the precheck on the cover fees button on the page

Recurring Donation Prechecked

recurring=true

Add this parameter to precheck the recurring button on the page

We suggest including in your marketing creative (whether its emails, texts, ads, etc) that the donation will be recurring based on the frequency you select

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.


Use URL parameters in Email Marketing

URL Parameters can be used to prefill form field values on a WinRed page to make the donation process quicker for signed-out donors.

Locate the dynamic variables for the values for your ESP, and append them to the URL string. For example, if the dynamic variable for the "Email" field for your ESP is %%email%%, then it would be appended to the URL string like this:

https://secure.winred.com/examplecandidate/donation?email=%%email%%

Important Note: If a signed-out donor views the page with the values prefilled, it will trigger an abandoned cart lead in the recipient WinRed account.


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?