Polls

How to set up the UID merge tag and track unique poll responses

Last updated

Every poll needs a UID merge tag: your email platform's placeholder for a unique subscriber ID. When the email is sent, your platform swaps it for each subscriber's ID. Sendtric uses that ID to give each subscriber one vote and, if you want, to show you which answer they chose.

What the UID does

  • One vote per subscriber. If someone votes again, their new answer replaces the earlier one. Only their latest choice counts.
  • Who voted for what. With Track unique responses? turned on, you can download a CSV listing each subscriber's ID and their answer, then match the IDs to contacts in your email platform.
  • Fairer view counts. A subscriber who opens the email several times within 2 hours counts as one view.

Add the merge tag to your poll

  1. Open your poll and click Poll Settings on the left.
  2. Paste your platform's merge tag into UID merge tag.
  3. To download per-subscriber results, turn on Track unique responses?.
  4. Click Save, then copy the code. The merge tag is added to every option for you.
Poll Settings with the UID merge tag field and the Track unique responses toggle

Until the field is filled in, copying the code shows "Enter the required UID merge tag in Poll Settings before copying HTML."

Which merge tag to use

PlatformMerge tag
Klaviyo{{ person.KlaviyoID }}
Mailchimp*|UNIQID|*
HubSpot{{ contact.hs_object_id }}

For any other platform, use a field that's different for every subscriber. A built-in contact ID is the best choice because it isn't personal information. Your platform's merge tag documentation will list it. You can use an email address or another unique field instead, but a contact ID keeps personal details out of your poll results.

If you push the poll to Klaviyo, Mailchimp or HubSpot from the editor, the merge tag must use the {{ ... }} or *|...|* format.

Test before you send

Send yourself a test email and vote. Then copy the link of one of the options in the test email: after uid= you should see a real ID, not the merge tag itself.

If your platform doesn't fill in the merge tag (for example because it's misspelled or written for a different platform), every subscriber shares the same ID. Each new vote then replaces the last one, and your results will show just one vote.

What Sendtric stores

For each vote, Sendtric stores the option chosen and the ID your platform supplied. The poll report shows totals only. We count views without collecting personal information, and we comply with privacy laws such as GDPR and CCPA. If you use a contact ID rather than an email address, no personal information about your subscribers is stored with their votes.

To learn more about email polls, see our Email Poll Widget page.

Related

Was this article helpful?

Click the image to zoom in. Drag or scroll to look around.