Skip to page content
Power & PoliticsUnited States edition
My Hub
Pilot for publishers · Version 1.1

Put a live record on your site.

Each card shows one dated fact and one cited supporting source. When the Vote File is corrected or updated, the card on your page updates automatically.

Live example

The card updates from the official record.

You supply only the code for a Power & Politics record. The status, wording, date, source, and link are looked up again from the public record each time the card loads.

  • No advertising tools and no tracking of visitors
  • No wording of facts supplied by the publisher
  • A clear message, never a blank, when a record cannot be verified
  • Corrections appear within five minutes
Two lines to add

Works with ordinary publishing tools.

Put the first line where you want the card to appear, then add the second line once on the page. Load the script directly from Power & Politics; do not copy or change it.

<div data-votefiles-embed data-vf-src="https://powerandpolitics.co/embed.php?type=eo&k=14388"></div>
<script async src="https://powerandpolitics.co/js/embed.js?v=1.1"></script>

For your web developer: if your site restricts which other sites it may load content from (a Content Security Policy), allow https://powerandpolitics.co for both scripts (script-src) and framed content (frame-src). Your page must use a secure (HTTPS) address.

01

Use a supported file

The pilot supports bills, recorded votes, court cases, executive orders, reviewed topics, and dated Morning Record editions.

02

Keep attribution intact

Power & Politics name, the link to the official source, the record date, and the link to the full file must always stay on the card.

03

Let corrections propagate

Do not take screenshots of the card or rewrite it. Each time the page loads, the card looks up its wording again from the official source, and any saved copy expires within five minutes.

How to choose a record

Choose a record by its official number

Use exactly one of the formats below. Extra or repeated details, headlines you write yourself, badly formed dates, and records without dated evidence all show a card saying the record is unavailable, and that card is never saved.

Bill?type=bill&c=119&b=hr&n=12
Recorded vote?type=vote&c=119&ch=House&r=239
Court case?type=case&id=44
Executive order?type=eo&k=14388
Reviewed topic?type=topic&t=trade
Newly added topic?type=topic&t=discover&q=canada%20tariff
Morning edition?type=morning&date=2026-08-26
Verified voting deadlines?type=deadlines&state=PA

Change only the values after the equals signs in data-vf-src. Bill types are hr, hjres, hconres, hres, s, sjres, sconres, or sres. Keep the Power & Politics address, the /embed.php page, the version number, the credit line, the source link, and the full-file link as they are. A deadline card takes a two-letter state code in capital letters and shows only dates that were re-verified within the past seven days; the deadline data and news-reader feed use the same rule.

Ask and the plan to vote

Let your readers ask a voting question.

The Ask chat answers questions about ballots, registration, deadlines, voter ID and voting rights from checked official records. Every answer shows its source, and a notice that Power & Politics is not a government election office stays on screen. The plan card builds a voting plan for a state and a way of voting.

Are you a partner? Sign in and this code will carry your partner code, so visits you send are counted. Not a partner yet? Apply to join. The code works without one.

Chat bubble (one line)

Adds a button in the corner of every page that carries it. It opens the Ask chat in a panel. Add data-lang="es" for Spanish.

<script src="https://powerandpolitics.co/js/ask-widget.js" defer></script>

Ask chat in a frame

Shows the chat inside the page, where you place the code. Use a width of at least 320 pixels and a height of at least 600.

<iframe src="https://powerandpolitics.co/ask-embed.php" title="Power &amp; Politics voting question assistant" width="100%" height="640" style="border:0;max-width:420px" loading="lazy" referrerpolicy="no-referrer" sandbox="allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox" allow="camera 'none'; microphone 'none'; geolocation 'none'; payment 'none'" credentialless></iframe>

Plan to vote card

Readers choose their state and how they will vote, and get their dates, official links and ID rule. It runs no script.

<iframe src="https://powerandpolitics.co/plan-embed.php" title="Power &amp; Politics plan to vote" width="100%" height="720" style="border:0;max-width:420px" loading="lazy" referrerpolicy="no-referrer" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox" allow="camera 'none'; microphone 'none'; geolocation 'none'; payment 'none'" credentialless></iframe>

For your web developer: allow https://powerandpolitics.co for scripts (script-src, bubble only) and framed content (frame-src). Your page must use a secure (HTTPS) address. The bubble loads nothing until a reader opens it, then only the Ask page from Power & Politics. Nothing is stored on your site and no cookie is set on it.

Prefer Discord? Add Power & Politics to your Discord server and members can ask the same questions with a slash command.

01

Not for campaigns

Candidates, campaigns, political parties and political action committees (PACs) may not use these embeds, or place them on a site run for one. The tools are nonpartisan and the same for everyone.

02

Keep the notice

Do not hide, cover or change the notice, the sources or the Power & Politics link. Do not present the answers as your own.

03

What is counted

With a partner code, a visit is counted only when a reader follows a link back to Power & Politics. Nothing else about your readers is recorded. Read the partner terms.

Safety and privacy

The card cannot read your page.

The card sits in a sealed frame. It does not tell Power & Politics which page it is on, does not set a Power & Politics account cookie, has no form, and cannot run code on your page. Your page stays completely separate from Power & Politics.

Read how we source and correct records →