All Collections
Page Building
Page Settings
Pre-fill Form Values Through URL Parameters
Pre-fill Form Values Through URL Parameters

Building A URL With Pre-filled Information

Team WinRed avatar
Written by Team WinRed
Updated today

WinRed allows you pre-fill form inputs for your donor's convenience. You can pass these fields through a link and the donor will see them pre-filled in the corresponding field.

Fields Supported & Corresponding Variables

First Name: firstname=
Last Name: lastname=
Email Address: email=
Address: address=
Zip Code: zip=
Make Donation Recurring?: recurring=true or recurring=false
Employer: employer_name=
Occupation: occupation=
Additional Custom Fields: additional[CUSTOM_FIELD_SLUG]=
Bundler ID: bundler_id=
Amount: amount=

Want to precheck the recurring option? recurring=true
Want to remove the precheck on the recurring option? recurring=false
Want to precheck the money pledge? money_pledge=true
want to remove the precheck on the money pledge? money_pledge=false

Building a URL With Pre-filled Information

When you link to your donation page in your email service provider (ESP) or marketing platform, you can add dynamic URL parameters to your links.

First, add the URL for the landing page you want your campaign to be associated with. For the sake of this example, the URL would be: https://secure.winred.com/examplecandidate

Next, add the email variable you would like to pass in as a URL parameter. This is the variable you find in your ESP's settings that allow you to pass in a unique email for each donor you send the email to (It's usually something like [%email%], but it varies from one ESP to the other). An example of an email URL parameter would be ?email=[%email%]. This variable gets replaced by your ESP within your URL once you send the email. We require passing through the donor's email address to validate that you know who you're asking to donate.

Add your amount in dollar terms as &amount=5, meaning a $5.00 would be passed through as "5" (Additionally, a $2.50 donation can still be passed through as "2.5").

Your finished URL would look something like this:

As with all URL parameters, always start the first parameter in the URL with ? and all subsequent parameters with &, as shown in the example above. (Note that parameter are case sensitive).

Note: If the donor user has incomplete information stored within your ESP, the form may not be filled out correctly.

Passing Personal Identifiable Information (PII) is against Google's Terms of Service. We recommend checking out this post on how to configure links to meet Google's standards: #GTMTips: Remove PII from Google Analytics Hits.


Questions?

If you have questions or are unsure on 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?