Share your poll

Put a poll in an email or newsletter

Show a poll’s question in an email you send yourself, from Gmail or Outlook or from a newsletter tool. Recipients click an answer and confirm their vote on the poll.

Last updated

Show your poll’s question in an email you send yourself. Recipients see the question with one button per answer. A click opens the poll with that answer selected, and they send their vote there.

This works in a message you write in Gmail, Outlook or Apple Mail, and in a newsletter tool such as Mailchimp or Brevo. If you would rather have StrawPoll send the emails for you, use personal email invites.

How voting from an email works

Mail programs run no scripts and show no embedded pages, so an email cannot count a vote itself. Each answer in the email is a link to the poll instead.

  1. The recipient clicks an answer in the email.
  2. The poll opens with that answer selected. They can still change it.
  3. They click the poll’s submit button. Only this sends the vote.

The click in the email is deliberately not the vote. Security filters open the links of incoming mail automatically, and a link that voted would let them vote for every answer.

The poll’s settings apply as for any other vote, including the Duplicate check. Votes that start in an email are listed under the source email on the Analytics tab of the results. See See when and where votes came from.

Get the block

  1. Publish the poll, open the Share tab and choose Email embed.
  2. Choose where you write the email: Gmail, Outlook, Apple Mail or Email tool (HTML).
  3. Check the Preview on Desktop and Mobile. Click an answer there to open the poll the way a recipient would.
  4. Copy the block and paste it into your email, as described below.

Gmail, Outlook and Apple Mail

Click Copy for email and paste into a new message. You get the question in bold and one link per answer, which you can format like the rest of your text. For buttons in the poll’s colors, use an email tool.

Newsletter and email tools

Click Copy HTML and paste the code into an HTML or code block of your tool. Recipients see the question with a button for each answer, in the colors of the poll’s theme.

On Free and Basic, the block shows a “Made with StrawPoll” link below the answers. Pro and up remove it.

What the email shows

The email shows the poll’s first question. Questions that only ask who is answering, such as a name or an email address, are skipped. If the poll has more questions, they follow on the poll’s page.

First questionIn the email
Multiple choice, Dropdown, Picture choice (up to 10 options)One button per option. Picture options show their labels.
Yes / NoTwo buttons.
Rating, Opinion scaleOne row of numbers, with the labels of the scale’s ends below.
Any other type, or more than 10 optionsThe poll’s title and one button that opens the poll.

A poll with a password and a quiz with a time limit also show only their title and one button, so the email does not reveal their questions.

The block is a copy of the poll at the moment you copy it. If you change the question or its options afterwards, copy the block again. A link to an option you removed later opens the poll with nothing selected.

Newsletter tools can replace a placeholder in a link with a value for each recipient. Choose your tool under Email tool, then an option under Recipients’ links. Mailchimp, Brevo, Klaviyo, HubSpot, ActiveCampaign, MailerLite and Kit are listed. For any other tool, choose Other tool and enter the placeholder yourself.

One vote per recipient

Every link carries the recipient’s unique code, so each person can vote once.

  1. In the Settings tab, set Duplicate check to Unique code.
  2. On the Share tab, choose Unique codes, generate one code per recipient and download them with CSV.
  3. On Email embed, choose your tool and One vote per recipient. The tab names the custom field to create, and the Placeholder shows how your tool writes it.
  4. In your tool, add the codes to your contacts as that custom field, one code per contact. If you give the field another name, change the Placeholder to match.
  5. Click Copy HTML and paste the block into your email.

Send a test email to yourself first, and check that the links end in a code and not in the placeholder.

Record who answered

Every link carries a value that is saved with the response, such as the recipient’s email address.

  1. Add a Hidden fields block to the poll and enter a name such as recipient. See Hidden fields.
  2. On Email embed, choose Record who answered and check the Placeholder.

The value appears as a column in the responses table and in the CSV export.

Please note: the value can be changed in the link, so it labels responses but does not limit who votes. An email address in a link also ends up in server logs and in the browser history. This option is not available in a secret ballot.

Show the poll in email invites

Email invites can show the same block. Insert {{poll}} into the invite’s Message. Each invitee then sees the question with its answers as buttons, and every button carries their personal code.

Related articles