Skip to main content
If you are organizing essential services or emergency response to COVID-19, activate your free account
Donation page variables

Donation and Donation (v2) pages

Variable Description
content Displays content specified in page's Intro section
e.g. {{ page.donation.content }}
amount_goal_format Donation goal for page formatted (e.g. $12.37) e.g. Amount of money set as the goal for the donation page
percent_of_amount_goal Percent of amount goal met e.g. {{ page.donation.percent_of_amount_goal }}
donor_goal Donor goal e.g. The number of donors set as the goal for the donation page
percent_of_donor_goal Percentage of donor goal met e.g. {{ page.donation.percent_of_donor_goal }}
merchant_account Merchant or bank account e.g.
{{ page.donation.merchant_account.accepted_card_icons }}
donation_frequency How often the donor will be charged. Returns either 'monthly' or 'one-time' e.g. {{ page.donation.donation_frequency }}
amounts Array of default donation amounts
accepts_single_amount? Checks whether the page accepts only a single amount e.g. {% if page.donation.accepts_single_amount? %}
accepts_variable_amounts? Checks whether the page accepts multiple amounts e.g. {% if page.donation.accepts_variable_amounts? %}
form_amount_options Amounts set by control panel user if "Accept multiple amounts" enabled e.g.
amount_formatted Amount set by control panel user if "Accept multiple amounts" disabled e.g. {{ page.donation.amount_formatted }}

Donation (v2) pages only

Variable Description
currency_symbol The symbol of the nation's default currency
e.g. {{ page.donation_v2.currency_symbol }}
interval_monthly? Checks if the donor has selected monthly payments
{% if page.donation_v2.interval_monthly? %}
url_query_amount Value specified by the ?amount= URL param used to prefill the amount
e.g. {{ page.donation_v2.url_query_amount }}
confirmation_amount Displays the selected amount to the donor before they submit the form
e.g.
ticket_purchase_total When a ticket order is present, displays the total cost
e.g. {{ page.donation_v2.ticket_purchase_total }}
monthly_recurring_radio_buttons Radio buttons presented to donor to toggle between one-time/recurring donations
e.g. {{ page.donation_v2.monthly_recurring_radio_buttons }}
amount_other Input for donor to enter custom amount if multiple amounts accepted
e.g. {{ page.donation_v2.amount_other }}

Donation pages only

Variable Description
minimum_amount Minimum donation amount e.g. {{ page.donation.minimum_amount }}
has_amount_goal? Checks if page has a donation goal set e.g. {% if page.donation.has_amount_goal? %}
has_met_amount_goal? Checks if the goal has been met e.g. {% if page.donation.has_met_amount_goal? %}
show_recent_donor? Checks if the most recent donor should be shown e.g. {% if page.donation.show_recent_donor? %} This variable has been deprecated in favor of {% page.show_stream? %}
has_donor_goal? Checks if page has a donor goal set e.g. {% if page.donation.has_donor_goal? %}
has_met_donor_goal? Checks if page has met the donor goal e.g. {% if page.donation.has_met_donor_goal? %}
form_card_expires_on Field for credit card expiration e.g.
max_installments The maximum number of installment payments a donation is allowed to be broken into e.g. {{ page.donation.max_installments }}