Treasure Data

Introduction

Treasure Data is a customer data platform (CDP) that collects and routes information from multiple sources to a variety of other locations in your marketing stack.

MoEngage <> Treasure Data

MoEngage and Treasure Data bi-directional integration allows you to write job results from Treasure Data directly to MoEngage. You can

  • Forward user actions and events from Treasure Data to MoEngage
  • Create or update users in MoEngage
  • Send MoEngage campaign interaction data back to Treasure Data 

Integration

library_add_check

Prerequisites

  • Ensure you have permission to create a HTTP webhook on Treasure Data
  • Ensure you have access to the MoEngage Dashboard.

Use cases

  1. You can synchronize your consolidated customer profiles from Treasure Data into MoEngage to build-out target segments. Treasure Data supports first-party cookie data, Mobile IDs, third-party systems like your CRM, and many more.
  2. You can also send back MoEngage campaign interaction data back to Treasure Data 

Please note that the integration is not available directly. Please reach out to your Customer Success Managers to get it enabled!

Step 1: Configure MoEngage connection on Treasure Data

  1. On your Treasure Data dashboard, navigate to Catalog. Screenshot 2024-05-20 at 12.12.55 PM.png
  2. Search for HTTP and click on Create Authentication and enter the MoEngage endpoints. 

     

    Set up MoEngage user destination 

    1. Enter MoEngage user API endpoints 
      Screenshot 2024-05-20 at 12.16.24 PM.png
    2. Select HTTPs and enter the following details 
      • Basic Auth: <workspace_id>
      • Password: <data API key>
        Note- Here, replace X with the number of your data center. Read more about MoEngage data centers. Replace <workspace_id> and <data API  key> with workspace id and data key of your MoEngage workspace. Access it from Settings -> App Settings
    3. Click Continue and save it as moengage_user_syncScreenshot 2024-05-20 at 12.16.24 PM.png

         Set up MoEngage event destination 

    1. Enter MoEngage event API endpoints 
    2. Select HTTPs and enter the following details 
      • Basic Auth: <workspace_id>
      • Password: <data API key>
        Note- Here, replace X with the number of your data center. Read more about MoEngage data centers. Replace <workspace_id> and <data API  key> with workspace id and data key of your MoEngage workspace. Access it from Settings -> App Settings
    3. Click Continue and save it as moengage_event_sync.

       

Step 2: Define your query 

On your Treasure Data dashboard,

  1. Navigate to Data Workbench >> Queries and select a query for which you would like to export data.
    Screenshot 2024-05-20 at 12.34.28 PM.png
  2. Run this query to validate the result set.
    Note: For users using HIVE to build queries, HIVE requires that any columns or tables that begin with an underscore be wrapped by backquotes. For example, _merge_objects.
  3. Select Export Results and select an existing integration authentication.
    Screenshot 2024-05-20 at 12.30.22 PM.png
  4. Click Done
    Screenshot 2024-05-20 at 12.35.48 PM.png

Read more on pre-formatted fields, example queries, parameter details, and query export job scheduling on Treasure Data here

Step 3: Validate data on MoEngage

You can search for the new users and you will see users and events getting created. 

 

Send campaign interaction data back to Treasure Data 

Treasure Data users can ingest data through the public REST API. You can use MoEngage connector campaigns to send data through these Rest APIs. Read more on MoEngage connector campaigns here. 

 

Previous

Next

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?