Polls
A poll is a block in a post: a question and 2 to 6 answers, each a button in the email. A reader votes by pressing one, and can leave a comment and see the results.
Adding a poll
Section titled “Adding a poll”In the post editor, type / and pick Poll (or Insert › Poll). Write the question and the answers, and choose whether readers see the results after they vote. A post can have more than one poll.
The poll gets its own id when the post starts going out, so a duplicate of a post, a post started from a template and the original each count their own votes. A resend to those who didn’t open shares its original’s polls.
How a vote counts
Section titled “How a vote counts”Each reader’s copy links every answer through their own signed link. Opening it shows the question and the answer they picked; the vote counts when the page’s button is pressed. In a browser the page presses it for them at once, while it’s in front of them, so a reader just sees “Thanks, your vote counted”. A security scanner that opens links in emails before people do never presses it, and a request from a known scanner’s network counts nothing even if it does.
- One vote a reader. A later click on another answer, or Change your answer on the page, changes their vote; it never adds one.
- A comment goes with their vote from the box on the page. Comments show on the poll’s card.
- The results (each answer’s share and the number of votes) show on the page after they vote, unless the poll hides them.
- A vote is a person reading the post, so it counts as their open, as a click does.
Where the results are
Section titled “Where the results are”- Newsletter › Polls: every poll that went out, the newest first, with each answer’s votes and share, the comments and the post it went in.
- The post’s report: its polls’ results, under its numbers.
- Segments: the Poll answer condition takes the subscribers who answered a poll, or picked one of its answers, such as everyone who picked “Dark roast” (Segments).
- Automations: the Poll answered trigger starts a workflow when someone answers, with the question and answer to filter on (Automations).
Showing results on your site
Section titled “Showing results on your site”A poll on the web is a section with data-poll-id. Your site reads its results with GET /api/v1/newsletter/polls/{id}/results, which a page can call with the publishable key: each answer’s votes and share, or null numbers for a poll that hides its results. Voting is by email only.