> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Create a Survey Using the Drag & Drop Editor to Understand Customer Preferences

# Introduction

Understanding customer preferences is crucial in customizing product offerings and boosting user engagement.

In this article, we will create a single-question survey using the drag-and-drop editor of MoEngage to collect customer preferences quickly. This survey will be easy to deploy and analyze, offering valuable insights to guide better decision-making.

For this use case, we will gather feedback on food preferences by asking customers to choose between Asian and Continental cuisine.

# Expected Result

The goal is to quickly design and deploy a single-question survey to understand customer food preferences. The collected data will help refine menu strategies and improve customer engagement.

<img src="https://mintcdn.com/moengage/t_8awpRKFC9RNHlT/images/moengage_a8d1a0.png?fit=max&auto=format&n=t_8awpRKFC9RNHlT&q=85&s=2ce300b314787fba1836eaaf8fbddaa4" alt="Screenshot 2024-08-04 at 7.17.24 PM.png" style={{ width:"54%" }} width="602" height="1152" data-path="images/moengage_a8d1a0.png" />

<Tip>
  Integration of the MoEngage Android SDK or iOS SDK with your app. For more information, refer to the [Developer Guide](/developer-guide/introduction).
</Tip>

# Create an In-App Campaign

In this section, let us create a single-question survey using the drag-and-drop editor of MoEngage to collect customer preferences quickly.

## Step 1: Target Users

1. Navigate to the sidebar on the left and click **Engage** > **Campaigns** and click **+ Create campaign**, or click **+ Create new**> **Campaign**.
2. Under **Inbound**, click **In-app**. <img src="https://mintcdn.com/moengage/M3SzEdkQVgGAjJCt/images/moengage_73ba11.png?fit=max&auto=format&n=M3SzEdkQVgGAjJCt&q=85&s=4585e771e80c0606e84b16533a701022" alt="In-app.png" width="1528" height="1306" data-path="images/moengage_73ba11.png" /> You are taken to the first step, "Target users," of defining your campaign.
3. Enter the following details:
   * **Campaign name**: Enter a name for the campaign. For example, "Single question survey campaign."
   * **Campaign tags**: Select the relevant campaign tags.
4. In the **Target Platforms** section, select **iOS**.
5. In the **Trigger Criteria** section, select **On app open**. <img src="https://mintcdn.com/moengage/0iWkm50wROjmHH3Z/images/moengage_d1943f.png?fit=max&auto=format&n=0iWkm50wROjmHH3Z&q=85&s=c6e8313911f432027aec3f37a327ba17" alt="image-20240121-050504.png" width="2730" height="898" data-path="images/moengage_d1943f.png" />
6. In the **Select trigger time** section, select **Immediately** to send the message.
7. In the **Target audience** section, select **All users**.
8. Click **Next** to move to the second step, "Content," where you can define the content that will go into your campaign.

## Step 2: Content

MoEngage In-app campaign offers a variety of templates for all your use cases. It also provides the option to start from scratch.

1. Access the drag-and-drop editor and click **Explore pre-built templates** from the banner. <img src="https://mintcdn.com/moengage/P9B7WlDoMUnquME5/images/moengage_0b10c7.png?fit=max&auto=format&n=P9B7WlDoMUnquME5&q=85&s=6d96abcc53e7008f78a661ec3fd2a359" alt="Screenshot 2024-08-04 at 7.10.37 PM.png" width="2706" height="1454" data-path="images/moengage_0b10c7.png" />
2. Design the survey:
   * Let’s select the **Drag and Drop - E-commerce 2** template for our use case. <img src="https://mintcdn.com/moengage/T-dEj4C-7pywzBS3/images/moengage_a324f8.png?fit=max&auto=format&n=T-dEj4C-7pywzBS3&q=85&s=1d030cf32e67edd1b78cb4d44f7cc9aa" alt="Screenshot 2024-08-04 at 7.12.08 PM.png" width="2724" height="1374" data-path="images/moengage_a324f8.png" />
   * Change the Title text to “Which food do you prefer?”
   * Change the images to depict Asian and Continental food.
   * Change the button names to Continental and Asian.
   * Your template should look something like this:
     <img src="https://mintcdn.com/moengage/t_8awpRKFC9RNHlT/images/moengage_a8d1a0.png?fit=max&auto=format&n=t_8awpRKFC9RNHlT&q=85&s=2ce300b314787fba1836eaaf8fbddaa4" alt="Screenshot 2024-08-04 at 7.17.24 PM.png" style={{ width:"50%" }} width="602" height="1152" data-path="images/moengage_a8d1a0.png" />
3. Track results:
   * To track the number of times Continental or Asian buttons were clicked, you need to track a custom event whenever any of the buttons are clicked.
   * To track the click, select the button and click **+ Add new attribute** on the right panel. <img src="https://mintcdn.com/moengage/2FjM3dGfEH1CYo8k/images/moengage_63091e.png?fit=max&auto=format&n=2FjM3dGfEH1CYo8k&q=85&s=279f265e0584a8054fee48c4542838b2" alt="Screenshot 2024-08-04 at 7.22.39 PM.png" width="664" height="180" data-path="images/moengage_63091e.png" />
   * Then click **Search Attributes** and select **Track event** from the **Action type** drop-down list. <img src="https://mintcdn.com/moengage/rlD8iAX6JQFx0hql/images/moengage_bad001.png?fit=max&auto=format&n=rlD8iAX6JQFx0hql&q=85&s=6e2ac3b7eae5145b066d81d8b723c936" alt="Screenshot 2024-08-04 at 7.23.18 PM.png" width="1386" height="758" data-path="images/moengage_bad001.png" />
   * In the **Track Event** field:
     * For the Continental button, set the event as Continental\_clicked.
     * For the Asian button, set the event as Asian\_clicked. <img src="https://mintcdn.com/moengage/50ZszvUJB4M_6y_L/images/moengage_e7f06d.png?fit=max&auto=format&n=50ZszvUJB4M_6y_L&q=85&s=78f189ee1b9b2c88c4b7f98303a9861e" alt="Screenshot 2024-08-04 at 7.25.23 PM.png" width="1228" height="686" data-path="images/moengage_e7f06d.png" />
   <iframe src="https://www.youtube.com/embed/ktipBtqdv8k" title="YouTube video player" frameborder="0" className="w-full aspect-video rounded-xl" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />
4. Click **Next** to move to the third step, "Schedule and goals," where you can define your campaign's schedule and goals.

## Step 3: Schedule and goals

Here, you can select the campaign schedule, add the conversion goal, choose the campaign's priority, and define custom delivery controls.

1. In the **Send campaign** section, define the frequency and limits and when you want to start and end your In-app campaign.
2. In the **Conversion Goals** section, add conversion goals that you would like to track.
3. In the **Campaign priority** section, assign a priority to this campaign. Assigning a priority helps you decide which In-app message to show to a user when they are eligible for more than one message at a specific time. For example, selecting **Critical** ensures that the users will always see this even when there are other campaigns for which they are eligible.
4. In the **Delivery Controls** section, define the controls based on your requirements. For more information, refer to [Create In-App Campaign](/user-guide/campaigns-and-channels/in-app-message/create/create-in-app-campaign). <img src="https://mintcdn.com/moengage/_eUNBDpGCEXI_sgZ/images/moengage_a7a82b.png?fit=max&auto=format&n=_eUNBDpGCEXI_sgZ&q=85&s=1db7dfcad269a3e8d60df75db4eba6d0" alt="image-20240121-054810.png" width="2744" height="636" data-path="images/moengage_a7a82b.png" />
5. Click **Publish**.

## Analyze Results

1. After the campaign is published, you can go to **Segment** > **Create Segment**.
2. Add user behavior as *Has executed* and then select Continental\_clicked or Asian\_clicked.
3. After the segmentation is done, you can download the results for the users who clicked them.

## Generate Insights and Take Action

1. Generate reports based on the survey data.
2. Identify which type of food is preferred by the majority of customers.
3. Use these insights to refine menu offerings, improve marketing strategies, and enhance the dining experience.

# Conclusion

In this use case, we created a single-question survey using the drag-and-drop editor of MoEngage to collect customer preferences quickly. By implementing this feature, you can gather and analyze customer preferences efficiently.

This automated campaign allows businesses to quickly collect valuable feedback and leverage the insights to make informed decisions that improve product offerings and user engagement.

Now that we have published the campaign, we can track our CTR and conversions (if defined) to understand how well it is performing. For more information, refer to [In-App Campaign Analytics](/user-guide/campaigns-and-channels/in-app-message/analyze/analyze-in-app-campaigns).
