Polls and Quizzes are Story Pages: Pages inside a Story that ask the user a
question. Publish a Story that contains a Poll or Quiz Page, then show the
Story in a Stories row or grid. The Story player handles the interaction, so
you don't write any code for it.
After a user votes, the Poll stays on screen and shows the percentage for each
answer. The results stay visible after the first vote. A later tap can move to
the next Page or Story.
If you are moving from a 10.13.x integration, include long answer text in your
version 11 checks.
{"slug": "views-engagement", "page_title": "Show Polls and Quizzes", "page_url": "views/engagement/", "canonical_url": "/web/views/engagement/", "markdown": "# Show Polls and Quizzes {#show-polls-and-quizzes-in-stories}\n\nPolls and Quizzes are Story Pages: Pages inside a Story that ask the user a\nquestion. Publish a Story that contains a Poll or Quiz Page, then show the\nStory in a Stories row or grid. The Story player handles the interaction, so\nyou don't write any code for it.\n\n## Poll results\n\nAfter a user votes, the Poll stays on screen and shows the percentage for each\nanswer. The results stay visible after the first vote. A later tap can move to\nthe next Page or Story.\n\n## Answer text\n\nPoll and Quiz answers can show up to two lines. Longer text is cut off. Check\nthe published answer text at the screen widths your users have.\n\n## Appearance and analytics\n\nUse the [Poll and Quiz theme settings](../Themes.md#engagement-units) to style\nthe answers. Handle votes and Quiz answers in the\n[`onUserActivityOccurred` callback](../Analytics.md), then check the\n[Poll events](../analytics/PollEvents.md) and\n[Quiz events](../analytics/QuizEvents.md) for their data fields.\n\nIf you are moving from a 10.13.x integration, include long answer text in your\n[version 11 checks](../getting-started/migrate-to-11.md).\n", "copy_markdown_include_header": false, "base_path": "", "ai_dir": "ai", "missing_payload_behavior": "empty"}