All Collections
Website
How to embed voting forms on your NationBuilder site
How to embed voting forms on your NationBuilder site

Help your US-based supporters get registered, find their polling place, and more directly from your website.

Updated over a week ago

When getting voters to take action, it's generally best to keep them on your site and engaged with your content.

Use the power of existing civic systems such as Vote.org, VoteAmerica, Rock the Vote, and BallotReady to embed various types of forms on your NationBuilder site for voters.

Some of these services offer premium features, but all offer a free tier you can use to embed forms on your site.

How to embed

To embed these forms, navigate to the Website section of your control panel, then to the page you'd like to edit.

From the Content tab, select Source code and input the iframe code listed below where you'd like it on your page.

Select Save content.

Feel free to experiment with different forms, as they have different looks and functionality.

Vote.org code bank

Register to vote

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-vote.html?tool=register"></iframe>

Absentee ballot

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-vote.html?tool=absentee"></iframe>

Verify voter registration status

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-vote.html?tool=verify"></iframe>

Election reminders

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-vote.html?tool=reminders"></iframe>

What’s on your ballot

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-vote.html?tool=ballot"></iframe>

Pledge to register

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-vote.html?tool=pledge"></iframe>

Other Parameters

  • partner - The partner parameter can be used if you want to use forms associated with your paid vote.org account.

  • campaign - If you have a paid vote.org account, the campaign parameter can be used to attribute end users who complete a form to a campaign.

Example

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-vote.html?tool=register&partner=123456&campaign=sample-campaign"></iframe>

VoteAmerica code bank

Verify

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-voteamerica.html?tool=verify"></iframe>

Register

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-voteamerica.html?tool=register"></iframe>

Absentee and mail ballot

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-voteamerica.html?tool=absentee"></iframe>

Where to vote

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-voteamerica.html?tool=locate"></iframe>

Upcoming elections

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-voteamerica.html?tool=upcoming"></iframe>

Election reminders

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-voteamerica.html?tool=remind"></iframe>

Local election office directory

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-voteamerica.html?tool=leo"></iframe>

Rock The Vote code bank

Voter registration

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-rockthevote.html?tool=register"></iframe>

Absentee ballot request

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-rockthevote.html?tool=absentee"></iframe>

Voter status lookup

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-rockthevote.html?tool=lookup"></iframe>

Pledge to vote

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-rockthevote.html?tool=pledge"></iframe>

Other Parameters

  • partner - The partner parameter can be used if you want to use forms associated with your paid Rock the Vote account.

  • source - If you have a paid Rock the Vote account, the source parameter can be used to attribute end users who complete a form to a source.

Example

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-rockthevote.html?tool=pledge&partner=12345&source=sample-source"></iframe>


BallotReady code bank

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-ballotready.html"></iframe>

Other Parameters

  • input-locale - Set this parameter to yes to enable to a dropdown menu where users can select the language the form should appear in.

  • default-locale - Use this parameter to set the default language of the widget. There are three options: en-US-ballotready (English), es-US-ballotready (Spanish), and zh-US-ballotready (Mandarin).

Example

<iframe frameborder="0" width="100%" data-resizable="true" src="https://embed.actionbutton.co/gotv/iframe-ballotready.html?input-locale=yes&default-locale=en-US-ballotready"></iframe>

Did this answer your question?