• 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.

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.

  • 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. 


            

Step - 4:  User Authentication

 

Every CleverTap API call should include both your Account ID and Account Passcode as the request headers. If your CleverTap admin has opted for User-Passcode instead of Account Passcode, you have to use your User-Passcode instead in the passcode header. The CleverTap API expects these values to be keyed as X-CleverTap-Account-Id and X-CleverTap-Passcode.

Getting Your Credentials

 

Your CleverTap Account 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

 

1449

1449

  • 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 have completed the steps mentioned above, through postman call your Event API 

    Sample Event curl

    {

        "d": [

            {

                "identity": "jack@gmail.com",

                "ts": 1468308340, // time when the event occurred in UNIX epoch value in seconds

                "type": "event",

                "evtName": "MM Email opened",

                "evtData": {

                     "email_subject": "First shirt on us!",

    "campaign_id": "123",

                    "campaign_name": "New Customer Discount"

        }

    }'

     

     

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

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

     

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

    Step 6:-Select the event.

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

     


    Step 7 :-  Choose your event from the sample.

     

    Step 8 :-  Find your event data under the Activity.

     

    You’re all set!