Back to blog

Sam Nitz

2017

Biography

Sam Nitz currently serves as the Data & Targeting Manager for EMILY’s List, using data and targeting to help elect more Democratic, pro-choice women to office across the country. Previously, he served as the Deputy Targeting Director at the Democratic Congressional Campaign Committee in 2010 and worked at political direct mail and polling firms. In addition, he has served as a trainer for the New Organizing Institute, the Democratic Legislative Campaign Committee, and America Votes. A native of Janesville, WI, he studied Forest Ecology and Political Science at the University of Wisconsin-Madison and political management at George Washington University.

/* ============================================= Timed Popup — Shows after a delay on every page Closes on: X button, overlay click, or Escape key Once per session (won't show again until new session) ============================================= */ document.addEventListener("DOMContentLoaded", function () { /* Target the popup elements by their Webflow classes */ const popup = document.querySelector(".modal-popup_wrapper"); const closeBtn = document.querySelector(".modal-popup_close"); const overlay = document.querySelector(".modal-popup_overlay"); /* Check if popup has already been seen this session */ if (sessionStorage.getItem("popupSeen")) return; /* Show the popup after a delay Change 4000 to adjust timing (1000 = 1 second) */ setTimeout(function () { popup.style.display = "flex"; popup.removeAttribute("aria-hidden"); closeBtn.focus(); /* Moves focus to close button for accessibility */ }, 4000); /* Close the popup and record the session */ function closePopup() { popup.style.display = "none"; popup.setAttribute("aria-hidden", "true"); sessionStorage.setItem("popupSeen", "true"); /* Prevents popup from showing again this session */ } /* Close triggers */ closeBtn.addEventListener("click", closePopup); /* X button */ overlay.addEventListener("click", closePopup); /* Clicking the dim background */ document.addEventListener("keydown", function (e) { if (e.key === "Escape") closePopup(); /* Escape key */ }); });