CleverTap Integration enables you to use the Mailmodo campaign activity data in CleverTap. This article provides an overview of Mailmodo's Integration with CleverTap and the steps to set it up.


Please visit this article if you're looking for steps to trigger emails in Mailmodo using CleverTap as an External Trigger


If you are triggering emails in Mailmodo using CleverTap as External Trigger, by setting up the CleverTap integration, you will be able to create segments, campaigns, flows, or dashboards in CleverTap using their campaign activity data.


Sample use cases include triggering a push campaign in CleverTap for all the users opening or clicking a particular campaign from Mailmodo, or creating a dashboard of all the users submitting a form from Mailmodo.


What data is sent to CleverTap from Mailmodo?

As a part of this integration, the below-mentioned data will be sent back to CleverTap via the Events endpoint.

We need the user_id (ID) of the email recipients mandatorily to push the events and hence it should be configured in the body while setting up the CleverTap Transactional (Trigger) campaign.

Event Name Properties pushed to CleverTap

MM Email Opened


  • Campaign Name

  • Email Subject

  • Campaign ID


MM Email Link Clicked


  • Campaign Name

  • Email Subject

  • Campaign ID

  • Link URL


MM Email Form Submitted


  • Campaign Name

  • Email Subject

  • Campaign ID

  • Template ID

  • Template Name

  • Form ID

  • Form Name


MM <Template Name> Form Submitted

  • Campaign Name

  • Email Subject

  • Campaign ID

  • Template ID

  • Template Name

  • Form ID

  • Form Name

  • Form Submissions


The responses entered by the email recipients (along with the questions) for the forms will be sent as Form Submissions


MM Email Bounced


  • Campaign Name

  • Email Subject

  • Campaign ID




How to set up CleverTap integration?


Step 1: Go to Integrations from the left navigation menu



Step 2: "Click to Authenticate" on the CleverTap card from the Available For Connection section

 

Step 3: Select your Rest API Host from the drop-down

 

Please select the Rest API Host as per your Dashboard URL. The following table describes the dashboard URL, and the REST API hostname associated with it.


Region

CleverTap Dashboard URL

API Endpoint

EU

 https://eu1.dashboard.clevertap.com/login.html

api.clevertap.com

IN

https://in1.dashboard.clevertap.com/login.html

in1.api.clevertap.com

US

https://us1.dashboard.clevertap.com/login.html

us1.api.clevertap.com

Singapore

https://sg1.dashboard.clevertap.com/login.html

sg1.api.clevertap.com

            

Step 4:  User Authentication

CleverTap uses a header-based authentication model to authenticate requests to the API. Every CleverTap API call should include both your Project ID and Account Passcode as the request headers. Your CleverTap Project ID and Account Passcode are available on the Settings page.

The CleverTap API expects these values to be keyed as X-CleverTap-Account-Id and X-CleverTap-Passcode.


Getting Your Credentials

Your CleverTap Project ID and Account/User Passcode are available on the Settings page. To navigate to the Settings page, log in to your CleverTap account, click on the gear icon on the bottom left navigation, and select Settings dashboard. 


1088

 

  • License Code: Replace the placeholder, YOUR_CleverTap_LICENSE_CODE in all API calls to build the API endpoint URL for your account. Adding the incorrect code will cause the API call to fail (indicated by error code 404 in response).

  • User Passcode for API: Follow this document for steps on how to get your User Passcode.


Step 5: Click on Test and Save.

How to access the data sent at CleverTap?

Step 1: In Mailmodo create a trigger campaign using Clevertap (Help doc

 

Step 2: Once you hit the API, your Campaign will be triggered.

 

Step 3: Once your campaign is sent, go to your Analytics Dashboard in CleverTap. Navigate to Events. 

 

 

Step 4: Select the user from whom the event has been triggered and the time period for which you want to filter the events.

 

Step 5: Select the event.

On the right you will see the number of events that match your event filters. Click on View details.
 

Step 6: Choose your event from the sample.

 

Step 7: Find your event data under the Activity.

 

 

You’re all set!