Embed Wizard
Customize and embed live legislator data from Digital Democracy on any website.
1 Choose a state
2 Choose what to embed
3 Find a legislator
- Start typing to search.
4 Sections
- Ideology
- Financials
- Election history
- Missed votes
- Authored bills
- Committees
5 Display options
The embed will scroll internally if its content is taller than this height.
Experimental: relies on a companion script loading successfully on your page. If it fails to load, the embed falls back to a default height. Set a fixed height above for a guaranteed result.
My CMS strips the <script> tag when I paste this — how do I fix it?
Most content editors (WordPress, Squarespace, Wix, HubSpot, and others) strip <script> tags out of pasted post/page content for security reasons — the iframe usually survives, but the resize script does not. This is the same limitation embed providers like Twitter, YouTube, and Calendly run into, and they solve it the same way:
Instead of pasting the <script> tag into an article or post body, add it once, site-wide, somewhere that isn't passed through content sanitization:
- Your theme's footer template (e.g. footer.php on WordPress), so it loads on every page
- A tag manager (e.g. Google Tag Manager) as a custom HTML tag firing on all pages
- A "header/footer scripts" or "custom code" plugin/setting, if your CMS offers one
- A Custom HTML block/widget instead of a rich-text block, if your editor supports one — these often bypass content sanitization entirely
Whoever manages your site templates (not necessarily whoever is writing the page) only needs to add the script once — every fixed and auto-resize embed on the site can then share it. Only the <iframe> tag needs to go in the actual page content.
If you'd rather not touch your site templates at all, choose a fixed height above instead — it requires no script and works in any editor.
Color customization is off — the embed uses the state's partner brand. Enable above to override.