You have put tons of hours into your campaign and primary day is around the corner. Now, the most important question your website needs to answer is “Where do I vote?” NationBuilder and the Voting Information Project (VIP) teamed up to make it super simple to use their Voting Information Tool on your NationBuilder site.
The Voting Information Project created by The Pew Charitable Trusts, the states and Google, made an easily embeddable polling location widget that any NationBuilder customer can place on their website. VIP’s Voting Information Tool is open source, mobile-friendly, customizable and available in 16 languages. It provides official voting information, to anyone using just a residential address.
VIP data is available on a rolling basis, and is taken down when the election is complete so that voters are not inadvertently given out of date information. You can track which state data is live by following us on Twitter (@VotingInfo) and Facebook, or joining our Google group. VIP will provide data for the California, Iowa, Montana, New Jersey, New Mexico and North Carolina primaries on June 7th. A list of all the elections supported by VIP can be found here. Come November, users in all 50 states and DC will be able to access their information through VIP.
If you or your organization has questions about VIP, please contact the VIP team at vip@pewtrusts and follow VIP onTwitter and Facebook!
How to get it on your NationBuilder site.
Adding the Voting Information Tool to your site works in a similar manner to adding other widgets. First, you’ll need to get the embed code from VIP’s customizer, which allows you to easily design tool to look how you want. Make sure you select “responsive” under the format drop-down on the page to ensure the widget works on mobile devices.
If you are adding to a stand alone page, you will start by going into the Template section of the page and placing the widget embed code after the first <div> tag in the template.
To add the widget to the sidebar of a page, you will need to edit the _columns_2.html template. You can get there by going to Website > Theme > Templates. For more information about customizing theme templates, check out our theme documentation.