TgTaps Docs
  • TgTaps Documentation
    • Community
  • Blocks
    • Basic
      • Container
      • Block
      • Image
      • Copy button
      • HTML
      • Onboarding
    • Payments
      • Subscriptions list
    • Friends (referral system)
      • Invite friend button
      • Leaderboard
      • Claim friends bonus button
      • Friends list
    • Pages
      • Buy page button
      • Buy page card
      • Access page from date
    • Clicker game
      • Cards
      • Level reachment
      • Level progress
      • Click button
      • Energy progress
      • Farm button
    • Tasks
    • FAQ
    • TON
      • Connect TON wallet button
      • Send TON button
    • System blocks
      • Buy page dialog
    • Quizes
      • Quiz
      • Quiz completion
    • Daily bonus
  • Roulette
  • FEATURES
    • Rates
    • Navigation
    • Placeholders
    • Referrals statistics export
    • Custom value
    • Broadcast sending
    • Bot ownership transfer and token change
    • Head scripts
    • Pages
      • Paid pages
    • Levels
    • Payments
      • How to sell points?
  • Mini App Settings
    • Telegram messages
    • Referral system
    • Fonts
    • System icons
    • Analytics
  • Integrations
    • API keys
    • API methods
    • iFrame integrations
    • How to display UI fields from your API?
  • FAQ
    • How to fix "primary page is not configured"?
    • How to create gradient color or background?
    • How pages background works?
    • How to insert YouTube video in app?
    • How to add Play button to Telegram Bot?
  • Changelog
    • Changelog
Powered by GitBook
On this page
  • Table of content
  • How to create your first quiz?
  • What are quizes needed for?
  • Types of quizes (with examples)
  • How to configure dialog quiz?
  • Quiz UI settings
  • Placeholders
  • Hint on fail
  • Randomization
  1. Blocks
  2. Quizes

Quiz

PreviousQuizesNextQuiz completion

Last updated 1 month ago

Quiz is a series of questions with the bonus in points in the end. A quiz can be embedded into a page (for example, after the lesson) or dialog (which is opened on button click).

The example of simple quiz about crypto:

Table of content

How to create your first quiz?

To make quiz work:

  1. Add quiz block.

  2. Add at least 1 question.

  3. Add at least 1 answer (and select it as “right”).

The video demonstrates the full configuration of quizes:

What are quizes needed for?

Example of quizes use cases:

  • Add final test after each lesson when you have course.

  • Add daily\weekly\monthly quizes to add extra bonuses.

  • Verify users' knowledge after reading posts, videos, etc.

  • Unlock access from lesson to lesson when user pass tests.

Types of quizes (with examples)

Quizes can consist of (both are supported for "embedded on page" and "dialog" quizes):

Moreover, quiz can have ordered questions (from first to last) or random questions (for example, you have 20 questions and want to show 5 random of them).

How to configure dialog quiz?

Quiz can be embedded on the page or be opened in dialog window.

Embedded into page:

Full screen dialog quiz:

To display quiz as a dialog, select “is dialog” checkbox:

Then, copy the quiz ID (just click on it):

And insert this ID into the button URL:

When a user clicks on the button, the dialog will appear. To open the dialog in builder, just click on the block.

Quiz UI settings

You can configure anything of a quiz:

  • Question text and image design.

  • Answer card (background, border, text, dialog, etc.).

  • Hint dialog and button.

  • etc.

UI properties of the right side:

Placeholders

On the screen completion or fail, you can use placeholders. You can insert:

  • Number of successfully answered questions {{successful_answers_count}}

  • Number of failed answers count {{failed_answers_count}}

  • Amount of bonus points {{bonus_points}}

Example of usage:

Hint on fail

When a user selects an invalid answer, you can give them a hint.

It opens like a dialog window:

Randomization

You can randomize questions. For example, you have 10 unique questions. You want to show 3 random questions for each quiz repeat. And you want to give a bonus when at least 2 answered.

To achieve this, you need to set following settings:


Text answers

Image answers

Combined variant

Something unclear in docs or you know how to improve article? We will answer you and then promise to improve the article within 3 days.

Message us in community!
How to create your first quiz?
What are quizes needed for?
Types of quizes (with examples)
How to configure dialog quiz?
Quiz UI settings
Placeholders
Hint of fail
Randomization