SurveyMars

Understand how to capture customer feedback using CleverTap integration with SurveyMars.

Overview

SurveyMars is an online survey platform that enables businesses to capture customer feedback through customizable forms and surveys.

The integration with CleverTap works in two parts:

  • Embed a survey in a CleverTap campaign (Required): Create a survey in SurveyMars and display it within any CleverTap campaign that supports custom HTML, such as In-App, Email, or Web Popup. Responses are collected and stored in SurveyMars.
  • Sync responses to CleverTap via Zapier (Optional): Automatically forward every survey submission to CleverTap in real time, either as a user profile update or as an event.

This integration enables you to:

  • Collect User Data: Embed SurveyMars surveys into CleverTap campaigns (In-App, Email, or Web Popups).
  • Enrich User Profiles: Map survey responses to CleverTap user profiles to maintain updated user attributes. (Requires Part 2)
  • Personalize Engagement: Log survey submissions as events in CleverTap to segment users and trigger automated journeys. (Requires Part 2)
  • Power Data-Driven Engagement: Use survey responses to personalize messaging and enhance customer engagement strategies.

Prerequisites

Before setting up the integration, ensure the following accounts and access are available.

For embedding a survey in a CleverTap campaign:

  • Access to your SurveyMars account.
  • A CleverTap account with permission to create campaigns.

For syncing responses to CleverTap via Zapier (optional):

  • All of the above.
  • Access to an active Zapier account.
  • A CleverTap account with a valid Account ID and Passcode. To create a passcode, refer to Create Account Passcode.

Set Up SurveyMars for Integration

The following steps walk you through creating a survey in SurveyMars and retrieving its shareable URL for use in a CleverTap campaign.

  1. Go to the SurveyMars dashboard and create a survey. For this example, create a simple survey that collects Name and Email ID. Click Save to save the survey.
Create survey

Create Survey

  1. Select the Share tab at the top. Here, you can find the link to the survey you created.
Share survey

Share Survey

  1. Click Copy Link to copy the survey URL. You will need this URL when configuring the CleverTap campaign.
Copy survey link

Copy Survey Link

Configure SurveyMars in CleverTap

Configuring a CleverTap campaign to display your SurveyMars survey requires embedding the survey URL in a custom HTML template.

  1. In the CleverTap dashboard, create a new InApp Message campaign. You can also use Email or Web Popups campaigns that support HTML.

  2. In the What section, select a Custom HTML Template such as Interstitial.

Custom HTML Templates

Custom HTML Templates

  1. Paste the following code into the Custom HTML section. Use the survey URL copied in Step 3 of Set Up SurveyMars for Integration.
<iframe src="https://surveymars.com/q/qnizAKvB" style="width:100%; height:100%; border:none;"></iframe>
  1. Click Preview and Test to verify that the form renders correctly.
Preview and Test

Preview and Test

📘

Planning to Sync Responses to CleverTap?

Zapier processes only responses submitted after your Zap is turned on. If you plan to complete the optional Zapier sync, publish this campaign only after your Zap is live. If you are using the survey embed on its own, you can publish the campaign immediately.

  1. Click Publish.

After the campaign is published, users receive the survey within the campaign and can submit their responses directly, as shown in the following example.

In-app message

In-App Message

All submitted responses are available in your SurveyMars account under the Results tab. To send each response to CleverTap automatically, proceed to Sync Survey Responses to CleverTap.

Sync Survey Responses to CleverTap

📘

Optional Section

This section is optional. Complete it only if you want to automatically forward survey submissions to CleverTap as user profile updates or events. The survey embed in Configure SurveyMars in CleverTap works independently without this step.

Zapier acts as the automation bridge between SurveyMars and CleverTap. Whenever a user submits a survey response, Zapier captures the submission and forwards the data to CleverTap in real time. This allows you to:

  • Enrich or create user profiles in CleverTap with the submitted attributes. For more information, refer to Create/Update User Profiles.
  • Track each submission as an event for segmentation, analytics, and automated engagement campaigns. For more information, refer to Upload Event.

You can configure either automation or both, depending on your use case.

Create/Update User Profiles

Configuring a Create/Update User Profiles Zap ensures that each new SurveyMars submission updates the corresponding CleverTap user profile in real time.

  1. Log in to the Zapier dashboard and click + Create Zap.
Create a Zap on Zapier Dashboard

Create a Zap on Zapier Dashboard

  1. Set up a Trigger:

    a. Select SurveyMars from the App section. This starts the Zap when a trigger event occurs on SurveyMars.

    b. Select Trigger Event from the dropdown list and select Get Responses for this use case.

    c. Select Account and sign in using your SurveyMars account credentials.

Set Up Trigger Event

Set Up Trigger Event

  1. Click Test Trigger. This ensures that the correct account is connected and the trigger is set up correctly.

    After testing the trigger, you will see a sample of the most recent responses to the form.

Details of Pulled Records

Details of Pulled Records

  1. Click Continue with selected record.

  2. Select the Action the Zap performs after the trigger event occurs:

    a. Select CleverTap from the App dropdown.

    b. Select Create/Update User Profile from the Action event dropdown. Whenever a new response is generated, a new user profile is created, or an existing user profile is updated with the new information.

    c. Select Account to connect the CleverTap account. The Zapier window opens. Enter all the required details to connect to the CleverTap account, including the passcode from the CleverTap dashboard. Refer to Create Account Passcode if you have not yet created one.

    d. Click Continue after successfully connecting your account.

Select the Action for Zap

Select the Action for Zap

  1. Configure the Action. Map SurveyMars data fields to CleverTap fields as follows:
📘

Mapping Identity and Object ID

You can leave the Identity field blank if you provide an Object ID, and vice versa. Both fields cannot be left blank at the same time.

CleverTap FieldSurveyMars Field
IdentityEmail or unique user identifier
Object IDLeave blank if Identity is provided
Creation DateSubmission date or timestamp
Profile PropertiesMap survey response fields such as name, email, feedback, or ratings
  1. Click Continue, then click Test Step to test the Zap after mapping the fields.
Test Zap

Test Zap

  1. Click Publish to turn on the Zap. If you have not yet published the CleverTap campaign from Configure SurveyMars in CleverTap, publish it now. Every new survey response submitted through the campaign is sent to CleverTap via Zapier, creating or updating the corresponding user profile in real time.

Upload Event

Configuring an Upload Event Zap logs each SurveyMars submission as a CleverTap event, enabling analytics, segmentation, and campaign targeting based on survey activity.

  1. Follow Steps 1 through 4 from Create/Update User Profiles to configure SurveyMars as the trigger.

  2. Select the Action the Zap performs after the trigger event occurs:

    a. Select CleverTap from the App dropdown.

    b. Select Upload Event from the Action event dropdown.

    c. Select Account to connect the CleverTap account. The Zapier window opens. Enter all the required details to connect to the CleverTap account, including the passcode from the CleverTap dashboard. Refer to Create Account Passcode if you have not yet created one.

    d. Click Continue after successfully connecting your account.

Select the Action for Zap

Select the Action for Zap

  1. Configure the Action. Map SurveyMars data fields to CleverTap fields as follows:
📘

Identifying the User

Map User ID to the same identifier, such as email or a unique user ID, that exists on the CleverTap user profile. This ensures that each event is associated with the correct user.

CleverTap FieldSurveyMars Field
User IDEmail or unique user identifier
Event NameDescriptive event name, such as "Form Submitted" or "Feedback Captured"
Creation DateSubmission timestamp
Event PropertiesResponses in JSON format (for example, answers, ratings, campaign reference)
  1. Click Continue, then click Test Step to test the Zap after mapping the fields.

  2. Click Publish.

Once published, every new survey response submission appears in CleverTap as an event, enabling deeper analytics, segmentation, and campaign targeting.

FAQs

Q. Do I need Zapier to use SurveyMars with CleverTap?

No. Embedding the survey in a CleverTap campaign works without Zapier. Zapier is required only for syncing survey responses back to CleverTap as user profiles or events.

Q. Can I embed SurveyMars in Email or Web Popups?

Yes. The integration works with any CleverTap campaign that supports custom HTML, including Email, Web Popups, and In-App Messages.

Q. Are responses submitted before the Zap was published synced to CleverTap?

No. Zapier processes only new survey responses submitted after the Zap is turned on. Earlier responses remain available in SurveyMars under the Results tab.



Did this page help you?
CleverTap Ask AI Widget (CSP-Safe)