Drop a live tracker into any article. Pick a survey, size, and question — the snippet updates as you choose. Copy the iframe + the optional auto-resize script into your CMS.
Drop this where you want the tracker to appear.
<iframe
src="https://polling-platform-production.up.railway.app/embed/surveys/ak-pollock-2026-preview?variant=default"
title="Live tracker: Alaska commercial fishing — preview survey"
width="360"
height="260"
loading="lazy"
frameborder="0"
style="border:0;max-width:100%;"
></iframe>Add once per page so the iframe grows to fit content. Place anywhere in the article HTML or your site footer.
<script>
window.addEventListener("message", function (e) {
if (!e.data || e.data.type !== "polling-embed/resize") return;
var iframes = document.querySelectorAll('iframe[src*="polling-platform-production.up.railway.app"]');
iframes.forEach(function (f) {
if (typeof e.data.height === "number") f.style.height = e.data.height + "px";
});
});
</script>Speeds up the iframe's first paint by ~50ms. Add to your <head>.
<link rel="preconnect" href="https://polling-platform-production.up.railway.app">alaskanews.com. To add a partner outlet, ping the platform team.