← Back

Mini Surveys (embedded)

In this article we'll go through:

  • What are mini-surveys?
  • How to set them up
  • Customizing the widgets
  • A few things to note

Mini Surveys

Need feedback at specific moments in your product? Mini surveys let you capture user sentiment right when it mattersβ€”after a purchase, post-onboarding, or anywhere context is king. Unlike those aggressive pop-ups that feel like they're screaming for attention, mini surveys are lightweight and unobtrusive.

Mini-surveys are designed to be unobtrusive and fit into the customer journey.

What mini surveys do

They're embeddable widgets you can drop anywhere in your product with a simple copy-paste. Users respond in the moment, and every piece of feedback automatically flows into Pilea for analysis. No manual exports, no data entry, no chasing down responses in different tools.

Mini surveys can be displayed as links, or fully-expanded.

How to set them up

Creating a mini survey takes minutes:

  1. Go to "Data sources" and click "Surveys"
  2. Click "Create new survey" and fill in:
    • Which product you are collecting feedback from
    • Title of the survey
    • A description
    • Information about where it's located
    • If the survey is to be displayed as a link or expanded
  3. Add your questions and answer placeholders
  4. Publish the survey
  5. Copy the embed code
    1. Click "Show embed code"
    2. Paste the<script> tag in your header. The script tag is global and applies for all surveys.
    3. Paste the <div> tag where you want to embed the survey
  6. Paste it wherever you want feedback in your product!

Your mini survey starts collecting responses immediately.

Each one gets auto-tagged, analyzed, and included in your weekly summaries alongside feedback from every other source.

All questions will be displayed sequentially and can be re-organized.
Simply copy+paste the widgets in your web application.

Custom styling

You can style your embeddable mini-surveys to perfectly match your own brand. Simply target these CSS classes in your stylesheet:

  • .pilea-survey-container { /* Overall wrapper */ }
  • .pilea-survey-question Β { /* Question text styling */ }
  • .pilea-survey-input Β  Β  { /* Input fields (text areas, radio buttons, etc.) */ }
  • .pilea-survey-text Β  Β  Β { /* Hint text */ }
  • .pilea-survey-submit Β  Β { /* Primary button styling */ }
  • .pilea-survey-cancel Β  Β { /* Secondary button styling */ }

A few things to note

  • You need to unpublish a survey to delete it
  • Once a survey is published, questions can only be disabled, not deleted