Pass-through Parameters for Crowdfunding, Peer-to-Peer, and Donation Pages

Last Updated: Jul 27, 2018 04:30PM PDT

Classy offers the ability to pass information over to your Classy checkout pages through the use of URL parameters. This article will describe how to apply these URL parameters to your crowdfunding, peer-to-peer, or donation pages.

Now you may be thinking, "what is a URL parameter"? URL parameters allow you to carry over information from one webpage to another webpage by adding that information into the URL of the destination page. This means that you can make it easier for your donors to submit their donation by creating an even more seamless transition from your website to your Classy page. Should your organization want to take advantage of this feature, you would create the URLs using the parameters listed below.

What does this look like?

Here's an example from the team at buildOn. Click the main donate button on their homepage to follow along.


Next, the donor can enter in the donation amount and billing frequency preference for their gift.



Like magic, the preferences entered on the previous page will be passed through to the Classy donation checkout form. All the donor needs to do is fill out their Personal and Billing Information and they're all finished. Pretty easy, right?

Now how do I make this happen?

It's actually not as hard as you think. Let's walk through the next example together. The below URL was used to set the donation amount and billing frequency preference.

https://act.buildon.org/give/34534/#!/donation/checkout?amount=100&recurring=0

The Campaign ID tells Classy the campaign to which this donation will be applied. The Campaign ID can always be found at the end of your campaign Landing Page's URL. In the example above, the Campaign ID is 34534.

amount= tells Classy which amount to insert in the Other Amount field on the donation checkout form

recurring=0 let's Classy know that this is for a one-time donation. If the donor preferred to start a new recurring profile, the parameter should be changed to ?recurring=1

Now that you got the hang of it, try making one for your own Crowdfunding or Peer-to-Peer campaign! Important things to remember are that the first parameter should be preceded by a ? symbol, and then every subsequent parameter should be preceded by a & symbol. Also, Pass-through Parameters should always only be applied to a Donation Page URL for a campaign. For example:

https://www.classy.org/give/71457/#!/donation/checkout?preset1=5&preset2=20&preset3=500&preset4=1500

Below is a list of all the pass-through parameters we currently offer so you can get busy!

amount : Passes a prefilled amount to the Other Amount field
recurring : 0 or 1 - Sets whether donation will be one time or recurring, pre-checks radio button
preset : Updates the amounts listed on the four Donation Amount buttons on a checkout form. For example, preset1 changes the first button, preset2 changes the second button, preset3 changes the third button and preset4 changes the fourth button.
first : First name in the "Your Information" section
last : Last name in the "Your Information" section
email : Email in the "Your Information" section; sets proper member account
phone : Phone number in the "Your Information" section
street : Street address in billing information
city : City in billing information
state : State in billing information
zip : Zip in billing information

If you have any more questions about your Pass-through Parameters, please contact Classy Support.