Settings variables
Variable Description
official_nameOfficial name for the organization e.g. {{ settings.official_name }}
organization_typeType of organization e.g. for_profit, nonprofit, federal_candidate, etc
has_address?Organization has an address e.g. for_profit, nonprofit, federal_candidate, etc
addressAddress object e.g. {{ setting.address.one_line }}
is_us? Is this a US based organization? e.g. {% if settings.is_us? %}{% endif %}
is_us_or_canada? Is the primary location of this nation in the US or Canada? e.g. {% if settings.is_us_or_canada? %}}{% endif %}
has_states? Does the country where this nation is based have states? e.g. {% if settings.has_states? %}{% endif %}
Overall nation stats (updated roughly once an hour)
Variable Description
stats_updated_atDate/time of when these stats were last updated (roughly once an hour)
people_count Total number of people in your nation, including supporters, non-supporters, and prospects
supporters_count Total number of supporters in your nation
donors_count Total number of donors
donations_amount_format Total amount of donations
donations_amount_in_cents
donations_amount_to_raise_format Total of everyone's fundraising goals
donations_amount_to_raise_in_cents
donations_amount_left_to_raise_format Amount left to raise
donations_amount_left_to_raise_in_cents
capital_format Total amount of pc for the entire nation. 1120pc
capital_earned_format Total amount of pc earned by the entire nation. 1200pc
capital_spent_format Total amount of pc spent by the entire nation. 80pc
Election and Candidate variables
Variable Description
electionThe upcoming election settings e.g. {{ settings.election }}
candidate_namee.g. {{ settings.candidate_name }}
candidate_first_namee.g. {{ settings.candidate_first_name }}
candidate_last_namee.g. {{ settings.candidate_last_name }}
partyPolitical party (single letter) e.g. D, R, I
office_nameName of the office sought e.g. Senator or Mayor
stateState running in e.g. CA
districtDistrict, if applicable e.g. 14
cityCity running in e.g. San Diego
countyCounty running in e.g. Humboldt
countryCountry running ine.g. United Kingdom
Do you like this page?

Be the first to comment


Loading

Theme documentation

Object reference